"Ms" is not associated with a trusted SQL server connection "and" ASP. NET Website management tool "is used. Please return to the previous page and try again ." Solution!

Source: Internet
Author: User
Today, the teacher talked about the use of member permissions and registration and logon controls.
When I came back to the test, I first used aspnet_regsql to allow the system to automatically create a database. However, at the last step, the problem of MS "not associated with a trusted SQL server connection" occurred, baidu finds the solution after a while.

Solution:

Start sqlserver Enterprise Manager and select the server to set the Authentication mode. Right-click the server and select Properties from the menu. The Properties dialog box is displayed. In the Properties dialog box, select Security Options and select "SQL Server and Windows" for identity authentication ", then confirm.

After modifying the Web. config file, configure ASP. Net. Please return to the previous page and try again .", Don't give any tips.
Later, Baidu found that the name of my folder contains the # character. After modifying it, it was done. Fortunately, I found it in Baidu. I should not be able to find the cause if I try to break my scalp.
In the past, when I used e-files, I thought that only Chinese characters could be used to name them, but now I have a problem ..

The above two solutions are all found online. Thank you for choosing the original author.
Http://www.cnblogs.com/interboy/archive/2007/01/21/626022.html
Http: // 210.32.200.176/blog/user1/qirry/archives/2006/2006112214839 .html

Related Article

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.