title: ASP.NET Membership Provider, not configured correctly - cannot open websit administration tool
body: <p>I installed ASP.NET Membership tables into a remote database using aspnet_regsql.exe.  It seems to have successfully created all the tables in the database that I've seen created in the past when working with this technology.  aspnet_regsql also say that the process completed successfully.</p>
  
  <p>I am able to connect to the database fine with sql server management studio and execute queries.  I have my web.config file set up containing the relevant settings as shown below.  </p>
  
  <hr>
  
  <pre><code>&lt;connectionStrings&gt;
      &lt;add name="ApplicationServices" connectionString="Data Source=**********;Initial Catalog=********;Integrated Security=false;User ID=*************;Password=******" providerName="System.Data.SqlClient" /&gt;
    &lt;/connectionStrings&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="/" /&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="/" /&gt;
        &lt;/providers&gt;
      &lt;/profile&gt;
  
      &lt;roleManager enabled="false"&gt;
        &lt;providers&gt;
          &lt;clear/&gt;
          &lt;add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" /&gt;
          &lt;add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" /&gt;
        &lt;/providers&gt;
      &lt;/roleManager&gt;
  </code></pre>
  
  <hr>
  
  <p>I know the connection to the database works.  The connection string is correct.  Yet, when I go into the website administration tool to start configuring security I get an error saying:</p>
  
  <p>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. </p>
  
  <p>The following message may help in diagnosing the problem: Could not load type 'PVN.Web.MvcApplication'.</p>
  
  <hr>
  
  <p>So yes, this is an MVC3 application I'm attempting to build.  And the name of the web application project is called PNV.Web, but I have no idea what 'PVN.Web.MvcApplication' is.</p>
  
  <p>Any help on this would be greatly appreciated.</p>
  
  <p>Thanks</p>