I can not shift into drive. It gets stuck at neutral. What could be the problem? on 2006 Volvo S40

I have not looked at the codes yet it just happened last night.

Asked by for the 2006 Volvo S40
Could be the shifter or something internally in the transmission. It will require some troubleshooting to see what is causing this exactly.