title: ASP.NET configuration tool won't let me configure "Security" settings
body: <p>Good day!</p>
  
  <p>I'm trying to get a local membership database setup from my .NET 4.0 (Visual Studio 2010) ASP.NET web app.</p>
  
  <p>I do this:</p>
  
  <p>1) File->New->Project->"ASP.NET Web Application"</p>
  
  <p>2) Compile the application.</p>
  
  <p>3) Open "ASP.NET Configuration Tool," click on "Security" tab.</p>
  
  <p>I get this:</p>
  
  <pre><code>There is a problem with your selected data store. This can be caused by an invalid
  server name or credentials, or by insufficient permission. It can also be caused by the
  role manager feature not being enabled. Click the button below to be redirected to a page
  where you can choose a new data store. 
  
  The following message may help in diagnosing the problem: Could not load type 'WebApplication3.Global'. 
  </code></pre>
  
  <p>Here is my web.config file:</p>
  
  <pre><code> &lt;configuration&gt;
    &lt;connectionStrings&gt;
      &lt;add name="ApplicationServices"
           connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true"
           providerName="System.Data.SqlClient" /&gt;
    &lt;/connectionStrings&gt;
  
    &lt;system.web&gt;
      &lt;compilation debug="true" targetFramework="4.0" /&gt;
  
      &lt;authentication mode="Forms"&gt;
        &lt;forms loginUrl="~/Account/Login.aspx" timeout="2880" /&gt;
      &lt;/authentication&gt;
  
      &lt;membership&gt;
        &lt;providers&gt;
          &lt;clear/&gt;
          &lt;add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices"
               enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
               maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
               applicationName="WebApplication3" /&gt;
        &lt;/providers&gt;
      &lt;/membership&gt;
  
      &lt;profile&gt;
        &lt;providers&gt;
          &lt;clear/&gt;
          &lt;add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="WebApplication3"/&gt;
        &lt;/providers&gt;
      &lt;/profile&gt;
  
      &lt;roleManager enabled="true"&gt;
        &lt;providers&gt;
          &lt;clear/&gt;
          &lt;add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="WebApplication3" /&gt;
          &lt;add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="WebApplication3" /&gt;
        &lt;/providers&gt;
      &lt;/roleManager&gt;
  
    &lt;/system.web&gt;
  
    &lt;system.webServer&gt;
       &lt;modules runAllManagedModulesForAllRequests="true"/&gt;
    &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>I kind of expected it to "just work" out of the box. I made some changes to the web.config based on some other stackoverflow posts (enable <code>roleManager</code>, etc.).</p>
  
  <p>There is no .mdf file in my App_Data directory either. If I try to add one, I get this:</p>
  
  <p><img src="https://i.stack.imgur.com/BJeVF.png" alt="enter image description here"></p>
  
  <p>I just want to use a dedicated, local, database for my authentication information.</p>
  
  <p>Any ideas?</p>