2

After configuring the Membership Provider, I noticed that there is no connection string for ASPNETDB.mdf in my web.config. Shouldn't there be a connection string? What is the appropriate syntax? Thanks in advance!

Susan
  • 1,822
  • 8
  • 47
  • 69

1 Answers1

2

The default connection string is defined in machine.config:

<add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
Peter Bromberg
  • 1,498
  • 8
  • 11