Posted on: 4/9/2012 5:23:14 AM | Views : 333

I've spent a long time developing a Web Application in VS2010 and have worked with Roles and Membership capabilities in ASP.Net. I'm targeting the 3.5 .net Framework as my web host does not yet support 4.0.   But I've had no problems with Roles on my development system working on the ASPNETDB.mdf database running in SQL Express.
I used the Publish to Provider utility to create a Script and use SQL SMS to run the script while attached to my providers MS SQL Server Database.   All seem to go well and using SQL SMS it appeared that the Tables were all created in the remote database.   But when I tried to browse my application I got an error (as follows) about the Role Provider needing to be a schema version 1........
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 ...

Go to the complete details ...