While trying to deploy a simple asp.net mvc project on an IIS 6 server, I keep getting this error ‘The provider requires SessionState to be enabled‘.
To rule out that I am doing something wrong, I am now trying to deploy just the template you get when you start a new asp.net mvc solution in vs2008. And yes, I have enabled session state in IIS config, also added the <sessionState mode='InProc' /> line to web.config, but that didn’t make any difference.
Tried both the .mvc isapi mapping, as well as the wildcard mapping, and I still get the dreaded error message.
Am I overlooking something obvious ?
Not really an answer, but what I did was to add a new site to IIS, and let that run on port 81. It’s for internal test / demo purpose, so that’s not much of a problem.
Then I set up a virtual directory as you can read from many guides out there, setup wildcard isapi rule to the .net 3.5 dll and the site was up right away.
I now ran into the The provider requires SessionState to be enabled – error twice. On my testmachine at home and here at work, while deploying an mvc site to the default website in IIS 6, something must be going wrong, but can’t tell you what…
And thanks Chad for trying to help me !