I have setup error handling as described here: http://stackoverflow.com/questions/619895/how-can-i-properly-handle-404s-in-asp-net-mvc/620559#620559
When the errorController.Execute method is called, I get an InvalidOperationException: The SessionStateTempDataProvider requires SessionState to be enabled.
My session state mode is set to InProc, but I'm not using it so I also tried turning it off as described here: http://stackoverflow.com/questions/884852/how-can-i-disable-session-state-in-asp-net-mvc The code is executed, but I still get the error.
This is happening locally using the Visual Studio built-in web browser.
Is there a way to fix this?