IBM Computer, Laptops and Servers

Back Homepage Content Directory Resource Guide Blog

How do I get rid of Named Pipes / DBNMPNTW errors?

If you are seeing this error: 
 
Microsoft OLE DB Provider for ODBC Drivers error '80004005' 
[Microsoft][ODBC SQL Server Driver][DBNMPNTW]ConnectionOpen(CreateFile()).
 
From ASP, you usually want to use TCP/IP, not Named Pipes. Make sure your network library is configured to use TCP/IP by default. If you have SQL Server installed, you can do this through the Client Network Utility (Programs/Microsoft SQL Server). Also, make sure you are using OLE-DB, not an ODBC driver. See Article #2126 for sample connection strings. 
 
Named pipes can sometimes be stubborn, even after you have changed your network library. This could be because the remote server is overriding your local settings. To alleviate this, add the following line to your existing connection string: 
 
<% 
    cst = cst & "Network=DBMSSOCN;" 
%>
 
Depending on which provider you are using, you may also need to try: 
<% 
    cst = cst & "Network Library=DBMSSOCN;" 
%>
 
 
This might also be caused by a permissions issue. If changing to OLE-DB and TCP/IP does not seem to alleviate the problem, see KB #175671 and KB #328306.

[ Comment, Edit or Article Submission ]

Share this:

Add To Yahoo MyWeb Add To Google Bookmarks Add To Furl Fav This With Technorati Add To Newsvine Add To Bloglines Add To Ask Add To Windows Live Add To Slashdot Stumble This Digg This Add To Del.icio.us Add To Reddit

More about:

Oct November 2008 Dec
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            

IBM Computer, Laptops and Servers Blog on Technorati Related Blog of IBM Computer, Laptops and Servers on Sphere
Content Directory
Resource Guide


WhiteCanyon Identity Theft Protection Security

Website Links
IBM Computer, Laptops and Servers Copyright © 2008 www.ibmfans.com. All rights reserved. Site Map
Homepage | Blog | Advertise | Privacy Policy | Disclaimer | Contact Us | Links