Tag: asp.net state server
Problems with ASP.Net State Server
by admin on Sep.10, 2007, under Software, Systems
So you install .Net and you want to run State Server, you look into the documentation on setting up State Server to run and it basically tells you start the service and set it to Automatic.
All other configs for the asp.net state server service happen in the web configs right? Wrong. So what do you do when you setup your webconfigs to point to your state server, you start the service and you get tons of state errors. You check out all the IPs in the webconfigs, everything looks right. You even get state errors from the webapps that are running on the same server as the state server service. WTF right?
Well it could be a security setting for the asp.net state server service. The way to test this is you change your webconfig that is on the same server as the state server service to 127.0.0.1 instead of its official IP address. If it now works you need to change a registry setting.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\
AllowRemoteConnection needs to be set to 1
The thing that throws you is that even if that is set to 0 you would think that it would be able to talk to itself but it doesn’t think any IP other than 127.0.0.1 is local.