Microsoft KB Archive/329878

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

Article ID: 329878

Article Last Modified on 10/11/2005

-

APPLIES TO


 * Microsoft SQL Server 7.0 Service Pack 4

-



This article was previously published under Q329878





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 fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Product Name service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

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 &quot;Connection Failed&quot; error message that is described in the &quot;Symptoms&quot; section of this article.

Keywords: kbbug kbfix kbqfe kbnetwork kbhotfixserver KB329878

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.