Enabling Network Access to SQL Server 2005

Previous Topic: Enabling Network Access

If you are installing SQL Server 2005 -- either the full version or the Express edition -- for the first time, you will need to perform the following steps:

  1. Allow Protocols

  2. Enable Surfaces

  3. Enable an Exception to the Windows Firewall

Allow Protocols

This step informs SQL Server what protocols can be used to communicate with its database.

  1. Select Start > Programs > Microsoft SQL Server 2005 > Configuration Tools > SQL Server Configuration Manager. The SQL Server Configuration Manager dialog box appears.

The SQL Server Configuration Manager

  1. Expand the tree to display SQL Server 2005 Network Configuration > Protocols for MSSQLSERVER.

  2. In the right-side of this dialog box, right-click TCP/IP and select Enable from the pop-up menu. If you are not using TCP/IP, enable the protocol you are using.

  3. Expand the tree to display SQL Native Client Configuration > Client Protocols.

  4. In the right-side of this dialog box, right-click TCP/IP and select Enable from the pop-up menu. Again, If you are not using TCP/IP, enable the protocol you are using.

  5. Close this dialog box.

Note!

Note:
If the protocol you are using is already enabled, you do not need to perform any actions in this dialog box.

Back to Top

Enable Surfaces

All new installations of SQL Server 2005 will need their remote connections enabled. You do this by configuring the server's Surface Area.

  1. Select Start > Programs > Microsoft SQL Server 2005 > Configuration Tools > SQL Server Surface Area Configuration. The SQL Server Configuration Manager dialog box appears.

The SQL Server 2005 Surface Area Configuration

  1. Select Surface Area Configuration for Services and Connections. The Surface Area Configuration for Services and Connections dialog box appears.

The Surface Area Configuration for Services and Connections

  1. Expand the tree to display MSSQLSERVER > Database Engine > Remote Connections.

  2. Select the Local and remote connections option button.

  3. Select the Using both TCP/IP and named pipes option button.

  4. Click OK.

  5. On the Surface Area Configuration for Services and Connections page, expand Database Engine and click Service.

  6. Click Stop and wait until the MSSQLSERVER service stops.

  7. Click Start to restart the MSSQLSERVER service.

Back to Top

Enable an Exception to the Windows Firewall

If you are running Windows XP, you will need to provide an exception for the SQL executable.

Caution!

Caution:
There are significant security risks associated with opening your network and/or ServiceCEO database to the Internet by  providing exceptions to a firewall. This document does NOT cover setting up security for your server. If you are unsure of how to proceed, please contact a network professional. They will be able to ensure that access is properly setup and your systems are not at risk.

To enable an exception to the firewall:

  1. Open the Control Panel. In most operating systems, you can select Start > Control Panel.

  2. Double-click Windows Firewall.

  3. Keep the On option button selected but clear the Don't allow exceptions check box.

  4. Click the Advanced tab.

  5. Click Add Program.

  6. Click Browse.

  7. Navigate to C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\BINN

  8. Select the sqlservr.exe file.

  9. Click Open.

  10. Click OK.

  11. Click OK.

Back to Top

Note!

Tip:
If, after performing these steps, SQL Server 2005 is still not working correctly, please review the SQL Server 2005 read me file for more details on what the problem may be. It's located online at http://msdn.microsoft.com/vstudio/express/support/sqlreadme/

Additionally, you can review any SQL Documentation that came with your purchase for more configuration information.

Next Topic: If you need to install the SQL Tools, see the Installing the SQL Tools topic. If not, jump to Configuring ServiceCEO to Run with SQL Server 2005.

Did you find this topic useful? Yes
No
I don't know
Why?