title: Use SQL Server database instead of local database asp.net mvc 5 database-first asp.net Identity tables
body: <p>I have created an MVC Web App using Database First. The default db for the ASP.Net Identity data is a local database. I need to change this to my sql server db which already exists. I have looked everywhere. The only articles about this seem to deal with Code First approach. I need DB first approach. I have tried running the PM in the console-Enable Migration. I end up with this error:</p>
  
  <p>"Creating a DbModelBuilder or writing the EDMX from a DbContext created using Database First or Model First is not supported. EDMX can only be obtained from a Code First DbContext created without using an existing DbCompiledModel."</p>
  
  <p>I have also simply changed the "Default Connection" connection string in my web config to point to my Sql Server and still nothing.</p>
  
  <p>Can anyone point me in the right direction on how to create the asp.net identity tables in a sql server database when running my app Instead of a local db?</p>