Tuesday, August 11, 2009

Unable to run asp.net with sql server session state?

This is important if you have limited RAM on your web server because it is old:
 
aspnet_regsql.exe -ssadd -sstype c -S .\sqlexpress -d aspnetdb -E
 
Remove the -S .\sqlexpress option if it is a regular database. I needed to do this because the server was old. Usually people do it because they want another server to handle the session state.

No comments:

Post a Comment