Transmission is stuck in first gear on 2006 Dodge Sprinter 2500

Engine light went on with problem. Transmission is stuck in first gear but the transmission selector is in drive. I am able to go up to 30 mph but the rpms are winding out.

Asked by for the 2006 Dodge Sprinter 2500
The first thing to do is attach a scan tool to the 16 pin diagnostic socket under the dash and see what code is stored. The vehicle may be stuck in a limp home mode. The fault code will indicate the trouble shooting path to follow to figure out what is wrong with the engine or power train.