title: C# ASP.net MVC database questions
body: <p>I am trying to develop a website with C# ASP.net MVC. It's my first time using Visual Studio, C# and ASP.net so I have lots to learn but so far so good.
  So far... I started a C# ASP.net MVC project and added a database by going to the Database Explorer and clicking "add connection". I then did some standard CRUD controllers and views.</p>
  
  <p>I am at the stage where I want to implement User authentication. I'm a bit confused here. I am trying to make a custom Membership Provider. So I added it to my web.config file with the correct connection string etc.
  When I run the project and go to register I get an error. "Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'."</p>
  
  <p>From searching, I see lots of people have this problem and they always reference their hosting. People say this (<a href="http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx" rel="nofollow noreferrer">http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx</a>) is their solution but when I try pick a database I get an error. Not even sure of my server name.
  So at this point I am wondering, did I set up the database right?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Adding in a few pics to show exactly what I am doing. This is the aspnet_regsql.exe:
  <img src="https://imgur.com/ZtLnJ.png" alt="alt text">
  <img src="https://imgur.com/3tZWH.png" alt="alt text"></p>
  
  <p>This is the provider with connection string, taken from an example on one of the links given.
  <img src="https://imgur.com/HuhiH.png" alt="alt text">
  This is my customized provider with connection string pointing to the last image.
  <img src="https://imgur.com/fO45A.png" alt="alt text"></p>
  
  <p>This is a screen cap when I run the project and go to the default project Account register action:
  <img src="https://imgur.com/T4XYa.png" alt="alt text"></p>
  
  <p>and finally, this is the error screen when I submit
  <img src="https://imgur.com/wEhLM.png" alt="alt text"></p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Another update..</p>
  
  <p>I sorted something out but I am not sure if it is correct. I am now getting an error when the page loads: "Invalid object name 'dbo.Tag'"</p>