Search code examples
asp.netasp.net-membershipsqlmembershipprovider

Can you switch off the schema check performed by ASPNET providers


We have created a custom membership provider, but we have inherited the Role and Profile providers. The problem we are having is there appears to be calls being made to aspnet_CheckSchemaVersion by the providers - I assume its the Role or Profile provider as our membership provider isn't inherited and we don't call the db.

Is there a way to turn off this provider schema check other than write our own Role and Profile Providers.

I was hoping there was an attribute you can add/specify that does this.


Solution

  • We created our own Role and Profile providers but would welcome an alternative solution.