Default connection string for ASP.NET Web Site Administration Tool

By default, the ASP.NET Web Site Administration Tool uses connection string named “LocalSqlServer” to connect database. It is “data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true” by default.

If you need to reconfigure the connection string “LocalSqlServer”, then you can make the following changes in your Web.config file:

<remove name=”LocalSqlServer” />
<add name=”LocalSqlServer” connectionString=”your connection string” providerName=”System.Data.SqlClient” />


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: