My hybrid (web forms/MVC) project is working fine in my local development environment BUT when I deploy (xcopy) to my Test environment I get the error that SessionState is n
Add the following entry to system.webServer/handlers
Change path="*.mvc" to whatever extension/path you are using.
Using runAllManagedModulesForAllRequests="true" is not a very good solution because all modules will run for every request, including static files, which can be bad for performance.