Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>accidentally I have found my question answer when looking to web.config file.</p> <p>if you override default machine.config configuration settings in web.config file you can change ASP.NET Configuration tool-s connection string name.</p> <p>I got my web.config file from book-s code archive and it was the problem.</p> <p>in web.config u can override which connection string name will be used for: membership, profile and roleManager.</p> <p>to override membership use:<br> <code>&lt;membership&gt;<br> &lt;providers&gt;<br> &lt;clear/&gt;<br> &lt;add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="LocalSqlServer"<br> enablePasswordRetrieval="false"<br> enablePasswordReset="true"<br> requiresQuestionAndAnswer="false"<br> requiresUniqueEmail="false"<br> maxInvalidPasswordAttempts="5"<br> minRequiredPasswordLength="6"<br> minRequiredNonalphanumericCharacters="0"<br> passwordAttemptWindow="10"<br> applicationName="/"/&gt;<br> &lt;/providers&gt;<br> &lt;/membership&gt;</code></p> <p>where <strong>connectionStringName</strong> is the name of connection string which will be used for storing membership data.</p> <p>others are:</p> <p><code>&lt;profile&gt;<br> &lt;providers&gt;<br> &lt;clear/&gt;<br> &lt;add name="AspNetSqlProfileProvider"<br> type="System.Web.Profile.SqlProfileProvider"<br> connectionStringName="LocalSqlServer"<br> applicationName="/"/&gt;<br> &lt;/providers&gt;<br> &lt;/profile&gt;</code></p> <p>and</p> <p><code>&lt;roleManager enabled="true"&gt;<br> &lt;providers&gt;<br> &lt;clear /&gt;<br> &lt;add connectionStringName="LocalSqlServer" applicationName="/"<br> name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" /&gt;<br> &lt;add applicationName="/" name="AspNetWindowsTokenRoleProvider"<br> type="System.Web.Security.WindowsTokenRoleProvider" /&gt;<br> &lt;/providers&gt;<br> &lt;/roleManager&gt;</code></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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