Last post Sep 07, 2016 05:02 AM by Yohann Lu
Sep 05, 2016 07:38 AM|brucey|LINK
I'm using Identity framework not membership, but receiving the following error Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'
I was using membership before upgrading to Microsoft Studio 2015 and implemented the Identity framework, any pointers much appreciated..
This error occurs when I'm checking for admin roles, I don't have any users setup as admins!!
Sep 07, 2016 05:02 AM|Yohann Lu|LINK
From your description, you can try the following suggestions.
1: Run aspnet_regsql.exe to make the tables and objects are created.
aspnet_regsql.exe -S DBServerName -U DBLogin -P DBPassword -A all -d DBName
ASP.NET SQL Server Registration Tool (Aspnet_regsql.exe):
2: Use custom role provider. You can refer the following solution.
Custom Role Provider Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'. on [Authorize(Roles = “Admin”)] attribute: