asp.net 2.0 connection Sql2000 times "provider:named pipes provider,error:40"

Source: Internet
Author: User

If the network, the database is not a problem, with WinForm can also be connected, then there is a possible reason is that Sqlserver2000 did not play SP4 patch. You can use the following SQL command to view:

Select SERVERPROPERTY (' ProductLevel ')

Installing SP4 patches is easy. The next step, but here's a little problem. Sometimes you cannot use a SQL account when installing SP4 and you use a Windows local account. So the database cannot be entered after the SP4 is installed. Let's talk about the solution.

1. If you cannot open the database because of an account problem in Enterprise Manager, delete it. Re-register one with Windows local account.

2. Select the database Instance-> property-> Security tab-> Check SQL Server and Windows

3. Select database instance-> edit SQL Server Registration properties-> Choose to use SQL Server Authentication to enter a login name and password.

By completing the steps above, you can log on to the SQL Server account

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.