Microsoft documentation here
http://msdn.microsoft.com/en-us/library/h6bb9cz9(v=vs.90).aspx
and several SO articles indicate that specifying allowCustomSqlDatabase = "true" in the sessionState declaration of the ASP.NET web.config file will allow me to override the default ASDState database and specify my own database name.
I set these properties in my web.config file.
<sessionState allowCustomSqlDatabase="true" mode="SQLServer" sqlConnectionString="Data Source=mysqlservername;Initial Catalog=DR_ASPState;Integrated Security=true;Connect Timeout=15;" />
When I try to open the default site page, I receive an error message indicating that access to the ASPState database is not possible.
I monitored SQL traffic using SQL Profiler and notice that this query is triggered by this query:
SELECT @appId = AppId
FROM [ASPState].dbo.ASPStateTempApplications
WHERE AppName = @appName
IIS, , . , ASP.NET SessionState , , DR_ASPState, SQL, SessionState. , , [ASPState] .
- -, , , ?