c# - vs2012 IIS Express:sessionState Mode SQLServer or StateServer throws runtime error -


i want store session using stateserver or sqlserver mode,so add node in web.config file.but error happened.how do? started project vs2012 debug mode.

runtime error description: exception occurred while processing request. additionally, exception occurred while executing custom error page first exception. request has been terminated.

<system.web> <sessionstate mode="sqlserver" sqlconnectionstring="data source=localhost;user id=sa;password=123456" cookieless="false" timeout="10" /> <system.web> 


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -