Last post Apr 21, 2009 12:02 PM by sam_asp
Apr 21, 2009 10:57 AM|sam_asp|LINK
My solution worked fine yesterday. I was researching an issue relating to Excel automation and one of the website recommended to modify the machine.config file. So following I took the following steps:
1. Browsed to folder "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727".
2. Backed Up "machine.config" file.
3. Edited the machine. config file. Re-run the solution. It didn't work.
4. So I restored the machine.config file.
This is the only thing I did. So now whenever I'm running my solution, I get the following error:
Unable to make the session state request to the session state server. Please ensure that the ASP.NET State
service is started and that the client and server ports are the same. If the server is on a remote machine, please ensure that it accepts remote requests by checking the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection.
If the server is on the local machine, and if the before mentioned registry value does not exist or is set to 0, then the state server connection string must use either 'localhost' or '127.0.0.1' as the server name.
The Build is succeed but the following code of global.asax.vb fire
I tried all the googled solutions but didn't work. I even copied the whole solution, including the new web.config file but to no avail. Please help.
Apr 21, 2009 11:50 AM|ajay.kukreja|LINK
Try to restart your IIS and ASP Net State server and see if it works out.
Apr 21, 2009 11:50 AM|sam_asp|LINK
I did that already. No luck.
Apr 21, 2009 12:02 PM|sam_asp|LINK
I fixed it with a cop out way. Just copied Machine.Config file from another XP system and there you go..
Thanks for the time.