The 'System. Web. Security. sqlroleprovider 'requires a database schema compatible with sch

Source: Internet
Author: User
When I register the sqlserver2000 script generated in the sql2005 database in the query Analyzer of the remote database and run the website, an error is found:

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.

I am going to introduce n Multiple Solutions online. I think this is the easiest solution!
Open local c: \ windows \ Microsoft. net \ framework \ v. XXXX (XXXX is the development website Framework Version), run the aspnet_regsql.exe file, enter the IP address, user name, and password of the database used for the web site on your VM as prompted on the pop-up page, one way to next, OK!

Okto run aspnet_regsql.exe for ingress, I 've introduced a lot about Google.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.