2000 E320 Transmission Problem

  mercedes/e-class/1996-2003

2000 E320 4matic  only goes into 1st or 2nd and reverse Limp mode ? trans rebuilt 300 miles ago by previous  owner  where is the trans control module located ? thanks only code present is incorrect gear ratio ?

 

 

 

49