Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>you have to overwrite the default application services connection string to have it use your existing deployed DB</p> <p>in the web.config connection string section change the default connection string</p> <pre><code> &lt;add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/&gt; </code></pre> <p>to be whatever your connection string is</p> <p>or if you want to use a different connection string you can change the name of the connection string used in the membership provider settings also in web.config</p> <pre><code>&lt;membership&gt; &lt;providers&gt; &lt;clear/&gt; &lt;add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" applicationName="/"/&gt; &lt;/providers&gt; &lt;/membership&gt; </code></pre> <p>Change the name of the connectionStringName to something else</p> <p><strong>EDIT</strong> Role provider code</p> <pre><code>&lt;roleManager enabled="true"&gt; &lt;providers&gt; &lt;clear/&gt; &lt;add connectionStringName="ApplicationServices" applicationName="/" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/&gt; &lt;/providers&gt; &lt;/roleManager&gt; </code></pre> <p>Again you will want to change connectionStringName to your connection string.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload