views:

7

answers:

1

I have 2 databases that a mirrors of eachother schmatically. The data is the only thing that is different. When I try to log into the second database I keep getting this error -

The System.web.security.sqlmembershipprovider requires a database schema compatible with schma version '1' However the current database schema is not compativle with this version. You may need to wither install a compatible schema with aspnet_regsql.exe or upgrade the provider to a newer version

When I check the dbo.aspnet_SchemaVersions I see the following:

common 1 True health monitoring 1 True membership 1 True personalization 1 True profile 1 True role manager 1 True

What is the issue?

+2  A: 

Ensure that both applications are using the same version of ASP.NET and the Membership provider.

Mitchel Sellers
How do I do that, they are both on the same server running 4.0 and the membership provider is the same in the web.config except the connectionstring name of course since they go to different databases
EvanGWatkins
I have fixed it...a simple restart of IIS got it up and running!
EvanGWatkins
@evan - typically you reserve a checkmark for answers that solve your problem. Accepting an answer that does not solve the problem simply because it is the only one you have gotten in the few minutes after you posted it defeats the purpose of accepting an answer. @Mitchel There is only one db schema version to date, V1. The .net version is irrelevant. not throwing shade, just sayin...
Sky Sanders