ASP. NET role member Management Database Configuration

Source: Internet
Author: User

In member role management, sqlserver database is used for member qualification management by default. You must configure the database first!

In the new project, we can see that

After clicking this Asp.net configuration, we can see the following:

 

 

Click "security" to go to the next page.

 

In this step, many people cannot see the step-by-step Security Configuration option using security settings. The database cannot be connected.

In this case, some of the reasons are that the database is not properly configured during database installation, resulting in unavailability. You can try to separate a database file, if you can use the separated MDF file. It is not a number

Database Configuration problems. At this time, we can first pass the command in vsto prompt aspnet_regsql.exe to create a new aspnetdb database file, separate it, and add it to the app_data file in the solution.

Under the folder, an error will be found after execution, where the errorCodeIf there is such code: sp_configure 'user instances enabled'

At this time, you can open the database, create a new query, enter: sp_configure 'user instances enabled', 1, and then run reconfigure.

In this way, the above problems can be solved!

 

Role management is no stranger to everyone, so I will not talk about role security management here, just to share with you all possible problems! Hope you can solve the problem!

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.