i have a mercedes c220 its a 7 speed automatic

orignaal gear box was faulty but its a 7 speed automatic transmission i put another gearbox on and i put the old pan filter in and i put it back together my car goes in drive but the wheels do not spin at all any ideas on what it could be