Hi - I have a webforms vb.net vs2013 project that im trying to begin using Roles with. In the startup.vb section of my site i have a little bit of code to check if the roles that i want to use exist and if not, to create them. im getting the following error
when testing the project locally:
Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.
The code throwing the error is in my startup:
Partial Public Class Startup
Public Sub Configuration(app As IAppBuilder)
ConfigureAuth(app)
If Not Roles.RoleExists("Administrator") Then 'THIS LINE ERRORS
Roles.CreateRole("Administrator")
End If
End Sub
End Class
and my web.config file i think is appropriately setup with the following:
<roleManager enabled="true" defaultProvider="DefaultRoleProvider">
<providers>
<add name="DefaultRoleProvider"
type="System.Web.Sec ...
Go to the complete details ...