Solved

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

Posted on 2010-09-02
2
855 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This is a fairly complicated script that will install the required prerequisites to install SCCM 2012 R2 on a server.  It was designed under the functional model in order to compartmentalize each step required, reducing the overall complexity.  The …
SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
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…

867 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now