title: Unable to find the requested .NET Framework Data Provider. It may not be installed. In ASP.Net MVC4
body: <p>I'm trying to add membership provider with ASP.Net MVC4 and EntityFramwork Database first model. I'm using VS Express 2012 for web, EF 5, and MVC 4.</p>
  
  <p>I have two projects inside my solution.</p>
  
  <ol>
  <li><p><code>iTMS.DAL</code>     - Contains EntityDatamodel for existing database.</p></li>
  <li><p><code>iTms.Website</code> - Contains MVC4 Project.</p></li>
  </ol>
  
  <p>I did following things</p>
  
  <ol>
  <li><p>Created membership tables in SQL server 2014 using <code>aspnet_regsql.exe</code>.</p></li>
  <li><p>Modified InitializeSimpleMembershipAttribute class to use my entitydatamodel as follows</p>
  
  <pre><code> private class SimpleMembershipInitializer
      {
          public SimpleMembershipInitializer()
          {
              Database.SetInitializer&lt;UsersContext&gt;(null);
  
              try
              {
                  using (var context = new UsersContext())
                  {
                      if (!context.Database.Exists())
                      {
                          // Create the SimpleMembership database without Entity Framework migration schema
                          ((IObjectContextAdapter)context).ObjectContext.CreateDatabase();
                      }
                  }
  
                //  WebSecurity.InitializeDatabaseConnection("DefaultConnection", "UserProfile", "UserId", "UserName", autoCreateTables: true);
                  WebSecurity.InitializeDatabaseConnection("Entities", "aspnet_Users", "UserId", "UserName", autoCreateTables: true);
              }
              catch (Exception ex)
              {
                  throw new InvalidOperationException("The ASP.NET Simple Membership database could not be initialized. For more information, please see http://go.microsoft.com/fwlink/?LinkId=256588", ex);
              }
          }
      }
  </code></pre></li>
  </ol>
  
  <p>When I run my project it comes to <code>SimpleMembershipInitializer</code> class and
  then</p>
  
  <pre><code>{"Unable to find the requested .Net Framework Data Provider.  It may not be installed."}
  </code></pre>
  
  <p>How do I solve this?</p>