TempData Error in ASP .NET MVC2
- by Mauro
Hi,
I'm looking for a description of the reasons why this error is generated and what are the possible fixes to it.
In my ASP.NET MVC2 controller I just added a TempData data passing.
Server Error in '/' Application.
The SessionStateTempDataProvider class requires session state to be enabled.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: The SessionStateTempDataProvider class requires session state to be enabled.