This error means the application pool to which your deployed application belongs is not in Integrated mode.
- Create a new application pool with .NET 4 version selected, and Managed Pipeline mode as Integrated.
- Change your application's app pool to the above created one and try now.