Advertisement

06.02.2008 at 05:38PM PDT, ID: 23451787
[x]
Attachment Details

Error using sqlcmd named pipes in SQL Server Express 2005

Asked by cheyjey in SQL Server 2005, Databases Miscellaneous, MS SQL Server

Tags: Microsoft, SQL Server Express 2005, 2005, Named Pipes Provider: Could not open a connection to SQL Server

I have a SQL Server 2005 instance running on a server called MSSMLBIZ.  On this host machine I have enabled named pipes, enabled TCP/IP, set the port to be 5356, run the Surface Area Configuration Manager to allow all incoming connections, verified SQL Server Browser Service is running and even turned off the windows firewall.  I also set the firewall on my router to accept all incoming connection requests.

From the client machine I type:
sqlcmd -S np:\\[server ip addres]\pipe\MSSQL$MSSMLBIZ\sql\query
 - I am returned - Named Pipes Provider:  Could not open a connection to SQL Server......

However I am able to connect successfully through TCP/IP using the sqlcmd below:
sqlcmd -S [server ip address]\MSSMLBIZ,5356

I have tried everything I can think of on both sides including turning off the Windows Firewall on the client.

Please Help!Start Free Trial
[+][-]06.03.2008 at 12:39AM PDT, ID: 21698243

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 07:34AM PDT, ID: 21700811

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 09:31AM PDT, ID: 21702063

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 09:47AM PDT, ID: 21702202

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 10:43AM PDT, ID: 21702685

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 11:11AM PDT, ID: 21702905

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 11:12AM PDT, ID: 21702917

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 11:14AM PDT, ID: 21702931

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 12:58PM PDT, ID: 21703949

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 01:14PM PDT, ID: 21704082

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: SQL Server 2005, Databases Miscellaneous, MS SQL Server
Tags: Microsoft, SQL Server Express 2005, 2005, Named Pipes Provider: Could not open a connection to SQL Server
Sign Up Now!
Solution Provided By: angelIII
Participating Experts: 2
Solution Grade: B
 
 
[+][-]06.03.2008 at 01:17PM PDT, ID: 21704124

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 01:17PM PDT, ID: 21704126

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 11:24AM PDT, ID: 21712628

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 11:28AM PDT, ID: 21712668

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628