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.