Dear All
I'm trying to use the sql server 2005 to store my web application session variables,
First I modified the web.config as follows:
<sessionState mode="SQLServer "
cookieless="tru e"
regenerateExpir edSessionId="tr ue"
timeout="60"
sqlConnectionSt ring="Data Source=ServerNa me\InstanceName ;user Id=myuser;pwd=m ypwd"
stateNetworkTim eout="60"/>
Second:
I installed the file Windows\Microso ft.Net\Framewor k\v2.0.50727\In stallSqlState.s ql
Third:
The problem that when I tried to run my application an error:
"Cannot open database "ASPState" requested by the login. The login failed.
Login failed for user 'MyUser'"
What Permissions I need to add to that user to allow login to the database?