ASPNETDB and ASPSTATE database. How to change the connectionstrings?

Posted by George on Stack Overflow See other posts from Stack Overflow or by George
Published on 2010-05-23T22:22:13Z Indexed on 2010/05/23 22:30 UTC
Read the original article Hit count: 587

Filed under:
|
|

I have two ASP-specific SQL Server databases

1) ASPState - To store session state 2) ASPNETDB - To store Security/Role stuff.

In my web.config, I am specifying the connection string used to identify the location of the APState database:

<sessionState mode="SQLServer" sqlConnectionString="server=(local)\sql2008b;uid=sa;pwd=iainttelling;" timeout="120"/>

Where is the conenction string specified for the ASPNETDB database? I am trying to point it to a db on a remote server.

I have a feeling it is somewhere in IIS orthe Machine Config. I'd like to add it to my WEB.CONFIG Could someone help me to do this?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about iis6