The 'System.Web.Security.SqlMembershipProvider' requires a database schema compatible with schema version '1'. However, the current database schema is not compatible with this version. You may need to either install a compatible sche
RSS
i am using .net 4.0 and sqlserver 2008. i hosted my project to online shared server. but error is coming like
The 'System.Web.Security.SqlMembershipProvider' requires a database schema compatible with schema version '1'. However, the current database schema is not compatible with this version. You may need to either install a compatible schema with aspnet_regsql.exe
(available in the framework installation directory), or upgrade the provider to a newer version.
kindly tell me how to solve this problem. below i mentioned web.config file details.
The 'System.Web.Security.SqlMembershipProvider' requires a database schema compatible with schema version '1'. However, the current database schema is not compatible with this version. You may need to either install a compatible schema with aspnet_regsql.exe
(available in the framework installation directory), or upgrade the provider to a newer version.
Hi venkatkannan,
The above error is comming when we use asp.net membership provider for user authentication etc. Or when run whole scripts into server instead of using
aspnetdb_regsql.exe.
To resolve this error copy the data of schemaversion table into server
venkatkannan
0 Points
2 Posts
The 'System.Web.Security.SqlMembershipProvider' requires a database schema compatible with schema...
Jan 11, 2013 10:39 AM|LINK
Hello
i am using .net 4.0 and sqlserver 2008. i hosted my project to online shared server. but error is coming like
The 'System.Web.Security.SqlMembershipProvider' requires a database schema compatible with schema version '1'. However, the current database schema is not compatible with this version. You may need to either install a compatible schema with aspnet_regsql.exe (available in the framework installation directory), or upgrade the provider to a newer version.
kindly tell me how to solve this problem. below i mentioned web.config file details.
<authentication mode="Windows">
<forms defaultUrl="dashboard/dashboard.aspx" path="/" loginUrl="Default.aspx" protection="All" name="aspxauth" timeout="200">
</forms>
</authentication>
<membership defaultProvider="AspNetCSqlMembershipProvider">
<providers>
<add name="AspNetCSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="EVISEAZY" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" applicationName="/" requiresUniqueEmail="false" minRequiredPasswordLength="5" minRequiredNonalphanumericCharacters="0" passwordFormat="Clear" maxInvalidPasswordAttempts="10" passwordAttemptWindow="3" passwordStrengthRegularExpression=""/>
</providers>
</membership>
<roleManager enabled="true" defaultProvider="SqlRoleManager">
<providers>
<add name="SqlRoleManager" type="System.Web.Security.SqlRoleProvider" connectionStringName="EVISEAZY" applicationName="/"/>
</providers>
</roleManager>
matifnadeem
Contributor
4616 Points
1094 Posts
Re: The 'System.Web.Security.SqlMembershipProvider' requires a database schema compatible with sc...
Jan 11, 2013 12:01 PM|LINK
Hi venkatkannan,
The above error is comming when we use asp.net membership provider for user authentication etc. Or when run whole scripts into server instead of using aspnetdb_regsql.exe.
To resolve this error copy the data of schemaversion table into server
Let me know if any query remains.
Cheers
M Atif Nadeem
Mark as Answer if you got right thing
Read my blog | Follow me on LinkedIn
venkatkannan
0 Points
2 Posts
Re: The 'System.Web.Security.SqlMembershipProvider' requires a database schema compatible with sc...
Jan 19, 2013 03:58 AM|LINK
Hi
i copied data of schemaversion table into server as you said.but i got same error as we discussed.kindly tell me any other way to resolve this issue.