Click here to Skip to main content
15,905,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Experts,
When I try to run my web application I get error like:

Unable to use SQL Server because ASP.NET version 2.0 Session State is not installed on the SQL server. Please install ASP.NET Session State SQL Server version 2.0 or above.

I Have installed Sql Server State successfully:

aspnet_regsql.exe -S MANISHPC\MANISHPC -ssadd -sstype c -d tempdb -E

then my web application run without error, but when I restart my computer I got the same error...

what should I do ????
Posted
Comments
Member 10434230 23-Jan-14 2:56am    
can you verify whether asp.net state server service is running after restart, check it from control panel-> admistrative tool-> services

Are you saying it works and then stops and then starts again ? Can you connect to the SQL Server at all ? Is it running ? Do you see the tables and the DB in your SQL Server ?
 
Share this answer
 
If you restart your computer and the error happens again then the issue is very likely that your service is not set to run automatically. SQL is not running when you logon.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900