I am using a Session Parameter on an ObjectDataSource. It works fine on the local development machine but I get this error after copying the website to the production server:
Type ‘System.Web.UI.WebControls.SessionParameter’ does not have a public property named ‘DbType’.
Me again!
First Answer I gave was WRONG!
Correct answer is that .NET Framework v3.5 was installed, and it needs to be updated to .NET framework 3.5 SP1