Author: Kuntakimp | Posted on: 9/3/2009 12:44:26 PM | Views : 766

It was all OK on my local computer, after I put my web site codes in virtual host and use the generated script to re-create the membership database in vitual host, the error occors


"The 'System.Web.Security.SqlRoleProvider' 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."


In this thread:http://forums.asp.net/p/985097/1267872.aspx
Tt is quoted as saying
"Thanks for the replies. These articles are very helpful. I figured out the problem though and it was a typical bonehead mistake. I used a script to recreate all the tables for Membership. I didn't copy any data into those tables. There is a table called aspnet_schemaversions. It requires ...

Go to the complete details ...