I have made an asp.net MVC 4 Internet application. I wanted to have custom Create User function. So I used CreateUser
function of MembershipProvider
class and added <providers>
configuration in my web.config
.
But The problem is when I run the code it catches the exception Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'. Despite the database is generated by asp.net itself, it deosn't have any stored procedure (as previous versions had).
I can't use MVC 4's WebSecurity.CreateUserAndAccount
function because it says it is not initialized.
So I don't know what to do. Any Help would be appreciated. Thanks.
First of all, please use new ASP.NET Universal Providers.
I wanted to have custom Create User function
exception Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.
SchemaVersions
table anymore.