My 2001 540i had trans. problem replaced now wont start on 2001 BMW 540i

My 2001 540i had trans. problems. The trans fail/safe warning would come on, i drove it like that for a lil while. when i turned it off then on it would run normally for a few miles then pop back the failsafe and i would immediately lose performance but would still move. then eventually it got to the point were my trans. wouldnt perform it would sit when in gear engine idling and barely crawling forward. replaced the trans, Now the car wont start! the car cranks but wont start. Help me out here, anyone.

Asked by for the 2001 BMW 540i