Microsoft Knowledge Base Email Alertz

KBAlertz.com: (841394) - Client connections to SQL Server instances or to MSDE instances that are installed on computers that are running Microsoft Windows XP Service Pack 2 may receive an error message. This article discusses how to work around this problem.

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 841394 - Last Review: December 1, 2005 - Revision: 4.3

You may not be able to connect to an instance of SQL Server that is configured to use the TCP/IP server network library on a computer that is running Windows XP Service Pack 2

SYMPTOMS

You may not be able to connect to an instance of Microsoft SQL Server 7.0, to an instance of Microsoft SQL Server 2000, to an instance of Microsoft SQL Server 2000 Desktop Engine (also known as MSDE 2000), to an instance of Microsoft SQL Server 2005, or to an instance of Microsoft SQL Server 2005 Express Edition, and you may receive one of the following error messages.

Error message 1

[TCP/IP Sockets]Specified SQL server not found.
[TCP/IP Sockets]ConnectionOpen (Connect()).


Error message 2

Unable to connect to server <SQL Server instance name>:

Server : Msg 6, Level 16, State 1
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Specified SQL server not found.


This behavior occurs when all the following conditions are true:
  • You try to connect to an instance of SQL Server or to an instance of MSDE 2000 that is installed on a computer that is running Microsoft Windows XP Service Pack 2 (SP2).
  • You try to connect to an instance of SQL Server that is configured to listen on the TCP/IP server network library only.

CAUSE

By default, Windows Firewall is turned on when you install Microsoft Windows XP Service Pack 2. Because Windows Firewall blocks the TCP/IP ports that allow network connections to an instance of SQL Server or to an instance of MSDE 2000, you may not be able to connect to an instance of SQL Server when SQL Server is configured to listen on the TCP/IP server network library only.

WORKAROUND

To work around this problem, you must explicitly enable TCP/IP connectivity for SQL Server.

For additional information about how to enable SQL Server connectivity over TCP/IP manually, click the following article numbers to view the articles in the Microsoft Knowledge Base:
841252  (http://kbalertz.com/Feedback.aspx?kbNumber=841252/ ) How to manually enable TCP/IP on Windows XP Service Pack 2 for SQL Server 2000
841823  (http://kbalertz.com/Feedback.aspx?kbNumber=841823/ ) How to manually enable TCP/IP for SQL Server 7.0 on a computer that is running Windows XP Service Pack 2
For additional information about how to enable SQL Server connectivity over TCP/IP programmatically, click the following article number to view the article in the Microsoft Knowledge Base:
839980  (http://kbalertz.com/Feedback.aspx?kbNumber=839980/ ) How to use a script to programmatically open ports for SQL Server to use on systems that are running Windows XP Service Pack 2
841251  (http://kbalertz.com/Feedback.aspx?kbNumber=841251/ ) How to enable SQL Server connectivity on Windows XP Service Pack 2

STATUS

This behavior is by design.

REFERENCES

For additional information about dynamic and static port allocation in SQL Server, click the following article number to view the article in the Microsoft Knowledge Base:
823938  (http://kbalertz.com/Feedback.aspx?kbNumber=823938/ ) How to use static and dynamic port allocation in SQL Server 2000


For additional information about Internet firewalls, click the following article number to view the article in the Microsoft Knowledge Base:
308127  (http://kbalertz.com/Feedback.aspx?kbNumber=308127/ ) How to manually open ports in Internet Connection Firewall in Windows XP
For additional information about configuring SQL Server 2000 and Windows XP SP2, click the following article number to view the article in the Microsoft Knowledge Base:
841249  (http://kbalertz.com/Feedback.aspx?kbNumber=841249/ ) How to configure Windows XP Service Pack 2 (S) for use with SQL Server

APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition, when used with:
    • the operating system: Microsoft Windows XP, Service Pack 2 (SP2)
  • Microsoft SQL Server 2000 Desktop Engine (Windows), when used with:
    • the operating system: Microsoft Windows XP, Service Pack 2 (SP2)
  • Microsoft SQL Server 7.0 Standard Edition, when used with:
    • the operating system: Microsoft Windows XP, Service Pack 2 (SP2)
  • Microsoft SQL Server 2005 Developer Edition, when used with:
    • the operating system: Microsoft Windows XP Service Pack 2 (SP2)
  • Microsoft SQL Server 2005 Enterprise Edition, when used with:
    • the operating system: Microsoft Windows XP Service Pack 2 (SP2)
  • Microsoft SQL Server 2005 Express Edition, when used with:
    • the operating system: Microsoft Windows XP Service Pack 2 (SP2)
  • Microsoft SQL Server 2005 Standard Edition, when used with:
    • the operating system: Microsoft Windows XP Service Pack 2 (SP2)
  • Microsoft SQL Server 2005 Workgroup Edition, when used with:
    • the operating system: Microsoft Windows XP Service Pack 2 (SP2)
Keywords: 
kbfirewall kbconnectivity kbsqlclient kbnetwork kbclientserver kberrmsg kbprb KB841394
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please