Solved

A network-related or instance-specific error occurred while establishing a connection to SQL Server

Posted on 2010-09-02
2
858 Views
Last Modified: 2012-05-10
Our WEB master is setting up a new server. The new server is working as it should except for she is now trying to run some code in ASP.net. SQL 2000 and server 2003

I get my telnet connection to the SQL server. Server I on the DMZ and the data base is on my domain.
Network team tells me that we have all of the right ports open. Please see below.

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
0
Comment
Question by:fischerbob
2 Comments
 
LVL 38

Accepted Solution

by:
Jim P. earned 500 total points
ID: 33596665
The issue is the Named Pipes. You should turn named pipes off and use only TCP/IP. Named Pipes uses domain authentication directly off the AD controller then to the SQL Server. Where TCP/IP gets the authentication request from the server/app through the TCP and then sends to the AD controller for the verification of credentials.
0
 

Author Closing Comment

by:fischerbob
ID: 33599612
we also had a problem with the WEB config file. All is good now thank you
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question