FIX: Cannot Connect to Port '1433' Using Sockets After You Apply SQL Server 7.0 Service Pack 4

Article translations Article translations
Article ID: 329878 - View products that this article applies to.
This article was previously published under Q329878
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page

SYMPTOMS

When you upgrade from SQL Server 7.0 Service Pack 3 (SP3) to SQL Server 7.0 Service Pack 4 (SP4), client computers cannot connect to the SQL Server 7.0 server through sockets or TCP/IP, and they receive the following error message:

Connection failed:
SQLState: '01000' SQL Server Error: 10061
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()).
Connection failed:
SQLState: '08001' SQL Server Error: 17
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.

RESOLUTION

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language. The English version of this fix should have the following file attributes or later:
   Date         Time   Version            Size    File name
   --------------------------------------------------------------
   04-Oct-2002  23:59  2000.34.4.0        45,328  Ssmsso70.dll     
				

WORKAROUND

To work around this problem, add the account that is used to run SQL Server 7.0 to the local administrators group.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

The following error message also appears in the SQL 7.0 Server Errorlog files:

ods Using 'SSMSSO70.DLL' version '7.0.1063' to listen on '1433'.
ods Error: 17826, Severity: 18, State: 1
ods Could not set up ListenOn connection '1433'..
ods Operating system error 10013., An attempt was made to access a socket in a way forbidden by its access permissions.

To prevent other sockets from being forcibly bound to the same address and port that the server-side socket network library binds to, the server-side socket network library in SQL Server 7.0 SP4 uses the SO_EXCLUSIVEADDRUSE option. However, to acquire exclusive access to the socket, the SQL Server application requires local administrator credentials. Therefore, if the account that is used to run SQL Server 7.0 SP4 does not belong to the local administrators group, this error occurs.

Steps to Reproduce the Behavior

  1. Install SQL 7.0 Server Service Pack 4.
  2. Configure the MSSQLServer service to use a domain account that is not part of the local administrators group.
  3. Restart the MSSQLServer service.
  4. Try to connect to this SQL Server by using the TCP/IP network libraries. You receive the "Connection Failed" error message that is described in the "Symptoms" section of this article.

Properties

Article ID: 329878 - Last Review: February 27, 2014 - Revision: 4.4
APPLIES TO
  • Microsoft SQL Server 7.0 Service Pack 4
Keywords: 
kbnosurvey kbarchive kbautohotfix kbhotfixserver kbqfe kbbug kbfix kbnetwork KB329878

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com