Microsoft recommends that you upgrade your system to work with Microsoft SQL Server 2000 by updating to the latest version of MDAC. However, to connect to a nondefault instance of SQL Server 2000, you can use the following workaround.
The following steps describe how to configure a server alias to use either TCP/IP sockets or Named Pipes to connect to a SQL Server directly without using the \\computer_name\instance_name format.
Configure a Server Alias to Use TCP/IP Sockets
NOTE: To configure an alias to use TCP/IP, you must provide the server name and TCP/IP port number.
- Determine the SQL Server instance port number.
To find the SQL Server instance port number:- On the Microsoft SQL Server 2000 server, start the SQL Server Network Utility.
- Click the General tab, and then select the instance that you want from the Instances menu.
- Click TCP/IP, and then click Properties. The port number for this instance is displayed.
Write down this port number for later use.
- Configure the server alias on the client computer.
- Start the Client Network Utility. If you have installed the SQL Server client tools, or if you have installed MDSE, this utility is available as a shortcut on your Start menu. If not, you can start it directly. The file name is Cliconfg.exe, and it is usually stored in the System folder.
- On the General tab of the Server Alias Configuration dialog box, click Add, and then click TCP/IP.
- Enter an alias name in the Server Alias box. The alias can contain any name.
- Enter the SQL Server 2000 computer name or IP address in the Computer Name box. Do not add an instance name.
- In the Port Number box, enter the port number that you recorded in step 1. Click OK twice.
Configure an Alias to Use Named Pipes
NOTE: In order to configure an alias to use Named Pipes, you must provide a server name and a pipe name.
- Determine the server instance pipe.
- On the Microsoft SQL Server 2000 server, start the Server Network Utility.
- On the General tab, select the instance that you want from the Instances menu.
- Click Named Pipes, and then click Properties.
Write down the pipe name for later use.
- Configure the server alias on the client computer.
- Start the Client Network Utility. If you have installed the SQL Server client tools, or if you have installed MDSE, this utility is available as a shortcut on your Start menu. If not, you can start it directly. The file name is Cliconfg.exe, and it is usually stored in the System folder.
- On the General tab of the Server Alias Configuration dialog box, click Add, and then click Named Pipes.
- Enter an alias name in the Server Alias box. The alias can contain any name.
- Enter the pipe name that you recorded in step 1.
- Make sure that you change the "." (period) to the actual SQL Server name, for example:
\\ComputerA\pipe\MSSQL$s2000\sql\query
Do not add the instance name. Click OK twice.
You can now use the server alias to connect to the instance by using Microsoft Access.