Problems with ASP.NET State Service version; state service is 1.1, website is 3.5

Posted by Mick Byrne on Stack Overflow See other posts from Stack Overflow or by Mick Byrne
Published on 2009-09-03T07:39:52Z Indexed on 2010/04/25 15:13 UTC
Read the original article Hit count: 340

Filed under:
|
|

Hi there, I have a ASP.NET 3.5 website running on Windows Server 2003 and I'm using the ASP.NET State Service to manage sessions. It will appear to be working then I regularly get an error saying my code needs to have version 2.0 of the State Service running to work (I think that's what it said, I've temporarily switched back to storing sessions InProc). Refresh the page and the error goes away (for a bit, it's bound to come back).

So I looked at the properties of the ASP.NET State Service in the Services interface and it's mapping to a .exe in the 1.1 framework folder:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_state.exe

There's a corresponding version in the 2.0 framework folder, but I don't know how to add it as a new service. I'm also not sure that adding the 2.0 version (and stopping and/or removing the 1.1 version) will solve the problem.

Thanks in advance for any help anyone can provide.

Mick

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about session