Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'

I've seen this before. The database you are using doesn't have the required database elements for the membership, role management and profile features. So you've got a couple of options:

  1. Copy across the tables, stored procedures & views from your local SQL Server using SQL Management Studio or a similar application
  2. Use the aspnet_regsql.exe tool to install the scripts from anew as per the instructions in this post (I don't believe you can use the tool against a remote database if it's locked down. So you'll have to export the scripts and run them manually)

Did you run aspnet_regsql.exe against WinHost.com's sql server?

aspnet_regsql.exe -S DBServerName -U DBLogin -P DBPassword -A all -d DBName

If you don't know where to run above command then you can simply run 'aspnet_regsql.exe' executable file.

In order to locate this file open your RUN Command Box by pressing Windows Key + r and put below command in that %windir%\Microsoft.NET\Framework\v4.0.30319 and Hit enter then find 'aspnet_regsql.exe' file. It will open a wizard that you can follow to resolve this error.

This error mostly occurs when you didn't enabled Roles in your asp.net mvc project At starting before aspnet identity table automatically created.

You will need to make sure you run this so that the tables and objects are created on WinHost.com's SQL server.


Open visual studio command prompt from the Visual studio tools folder from the start menu and type aspnet_regsql

and follow the wizard to register the database for asp.net membership and role providers.