An error occurred while connecting SQLServer2005 to the server

Source: Internet
Author: User
Tags microsoft sql server microsoft sql server 2005 mssql mssqlserver

Step 1: enable remote connection on the SQLServer instance

1. Point to "Start-> Program-> Microsoft SQL Server 2005-> configuration tool-> SQL Server peripheral application configurator"

2. On the "SQL Server 2005 peripheral application configurator" page, click "service and connected peripheral application configurator"

3. Click expand database engine, select remote connection, and select local connection and remote connection on the right ",

Select the protocol to use (TCP/IP and named pipe service should be enabled here !) Click "application" and you will see the following message:

"The changes made to the connection settings will not take effect until the database engine service is restarted .", Click OK to return

4. Expand "database engine", select "service", click "stop" on the right side, and wait until the MSSQLSERVER service is stopped,

Click Start to restart the MSSQLSERVER service.

Step 2: enable the SQLServer browser service

1. Point to "Start-> Program-> Microsoft SQL Server 2005-> configuration tool-> SQL Server peripheral application configurator"

2. On the "SQL Server 2005 peripheral application configurator" page, click "service and connected peripheral application configurator"

3. Click expand "SQL Server Browser", select "service", and select "automatic" in "startup type" on the right ",

Click start and then click OK to return

Step 3: create an exception for "SQL Server 2005" in Windows Firewall

1. On the Windows Firewall settings page, select the "exceptions" tab and click "Add program"

2. In the Add program window, click Browse"

3. Then find "C: ProgramFilesMicrosoft FilesMicrosoft SQL Server MSSQL.1 MSSQLBinnsqlservr.exe ",

Click OK to return

Note: The path may vary depending on SQL Server 2005 installation. MSSQL.1 is a placeholder that corresponds to the database instance ID.

4. Repeat steps 1 to 3 for each SQL Server 2005 instance that requires remote access.

Step 4: create an exception for "SQLBrowser" in Windows Firewall

1. On the Windows Firewall settings page, select the "exceptions" tab and click "Add program"

2. In the Add program window, click Browse"

3. Then find "C: ProgramFilesMicrosoft FilesMicrosoft SQL Server90Sharedsqlbrowser.exe ",

Click OK to return

Note: The path may vary depending on the SQL Server 2005 installation.

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.