no

How to Fix Sqlmembershipprovider Requires a Database Schema Compatible With Schema Version '1'.

Normally you will encounter this issue if you generate an sql script of an aspnet_database without including the data. To resolve this you h...

Normally you will encounter this issue if you generate an sql script of an aspnet_database without including the data. To resolve this you have 2 options:

1.) Execute c:\windows\microsoft.net\framework\v4.xxx\aspnet_regsql.exe, and just follow through.
2.) Or you can execute the script below, if you already have the aspnet_xxx tables:
INSERT INTO aspnet_SchemaVersions (Feature, CompatibleSchemaVersion, IsCurrentVersion) VALUES ('common', '1', 1)
INSERT INTO aspnet_SchemaVersions (Feature, CompatibleSchemaVersion, IsCurrentVersion) VALUES ('health monitoring', '1', 1)
INSERT INTO aspnet_SchemaVersions (Feature, CompatibleSchemaVersion, IsCurrentVersion) VALUES ('membership', '1', 1)
INSERT INTO aspnet_SchemaVersions (Feature, CompatibleSchemaVersion, IsCurrentVersion) VALUES ('personalization', '1', 1)
INSERT INTO aspnet_SchemaVersions (Feature, CompatibleSchemaVersion, IsCurrentVersion) VALUES ('profile', '1', 1)
INSERT INTO aspnet_SchemaVersions (Feature, CompatibleSchemaVersion, IsCurrentVersion) VALUES ('role manager', '1', 1)

Related

c# 7153878153575762079

Post a Comment Default Comments

Outsourcing

Are you looking for freelancers in the Philippines? Get in touch.

Donations

If you like what I do, you can support this channel by buying me a coffee. I would be grateful for your contribution! Your donations will help me create more FREE online courses and learning materials for programmers and remote workers.

item