Jul 25 2007

Update on my artricle - ExtendedMembershipAPI

Category:Bil@l @ 10:41

I have received a bug today from my colleague Wessam Zeidan on my article Microsoft ASP.NET 2.0 Membership API Extended that was published by Code-Magazine!

"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 theframework installation directory), or upgrade the provider to a newer version"

This bug was generated when he first tried to run the application. I believe the database schema that I used for the ASP.NET 2.0 application services is now an old one. What you need to resolve the problem is to take the following steps:

1. Create a new fresh database called ExtendedMemberShipDb.
2. Configure the database with the scripts needed to configure the ASP.NET Application Services (Install Application Services Database on Microsoft Sql Server 2000)
3. Download the script file found here and run it on top of the ExtendedMembershipDb (https://bhaidar.net/cs/files/folders/posts_material/entry3836.aspx)

You should have everything running up by now!

Hope this helps,
regards

 

Tags:

Comments are closed