Workaround for SQL Server 2005 cannot be remotely connected (reprint)

Source: Internet
Author: User
Tags microsoft sql server 2005

Here's how:

One, enable remote connections for SQL Server 2005
1. Click Start, select Programs, choose Microsoft SQL Server 2005, configure tools, and then click SQL Server Surface Area configuration.

2. On the SQL Server Surface Area Configuration page, click Surface Area Configuration for services and connections.

3. On the surface area configuration for services and Connections page, expand Database Engine,

Click Remote Connections, select the local area Connection and remote connections check box, select the appropriate protocol for your environment (I use TCP/IP here), and then click Apply.

Note: When you receive the following message, click OK.  changes made to the connection settings will not take effect until the Database engine service is restarted.

Figures:

Second, enable the SQL Server Browser service
1. Click Start, select Programs, choose Microsoft SQL Server 2005, configure tools, and then click SQL Server Surface Area configuration. 2. On the SQL Server Surface Area Configuration page, click Surface Area Configuration for services and connections. 3. On the surface area configuration for services and Connections page, click SQL Server Browser, click the Automatic option in Startup type, and then click Apply. 4. Click Start, and then click OK.

Figures:

Iii. creating an exception for SQL Server 2005 in Windows Firewall
1. In Windows firewall, click the Exceptions tab, and then click Add Program. 2. In the Add Programs window, click Browse. 3. Click C:\Program Files\Microsoft SQL server\mssql.1\mssql\binn\sqlservr.exe Executable, click Open, and then click OK.

Note: The above paths may vary depending on where SQL Server 2005 is installed .

Figures:

Iv. creating an exception for SQL Server Browser in Windows firewall
1. In Windows firewall, click the Exceptions tab, and then click Add Program. 2. In the Add Programs window, click Browse. 3. Click C:\Program Files\Microsoft SQL server\90\shared\sqlbrowser.exe Executable, click Open, and then click OK.

Note: The above paths may vary depending on where SQL Server 2005 is installed .

V. Remote connection Port settings

1. Open SQL Server Configuration Manager on the server.

Method: Click Start, select Programs, choose Microsoft SQL Server 2005, configure tools, and then click SQL Server Configuration Manager.

Then select "SQL Server 2005 Network Configuration", "SQLExpress protocol", and right-click on "TCP/IP" on the right to open the properties.

Figures:

2. Select the "IP Address" tab in the TCP/IP Properties window,

Then, in "IPALL", modify the value of the "TCP port": (General input 1433, but if there is a problem with the connection , can be set to other open ports )

Figures:

3. Of course it is to restart the service ...

Vi. Test Connection

Open the Login screen and enter the server IP and user name and password. For example: Server name: 192.168.0.112, port number (if port is 1433 before TCP/IP, the port number can be omitted) User name: sa password: sa

Workaround for SQL Server 2005 cannot be remotely connected (reprint)

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.