Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SQL Server [DBNMPNTW]Access denied Error

Posted on 2008-06-25
6
Medium Priority
?
1,493 Views
1 Endorsement
Last Modified: 2012-05-05
I moved a SQL Server 2000 db on Windows 2000 to a Windows 2003 server using SQL Server 2005.  I have 5 load-balanced web servers hitting this db.  Users are getting an intermittent error:

Microsoft OLE DB Provider for SQL Server error '80004005'
[DBNMPNTW]Access denied.

I am only seeing this error a few times an hour which makes it hard to reproduce.
1
Comment
Question by:ifcosystems
  • 3
  • 3
6 Comments
 
LVL 32

Expert Comment

by:Daniel Wilson
ID: 21866351
Try using SQL Profiler to trap & log Failed Login Attempts.

This should tell you:
* Who
* what program
* What computer

That should get you close to solving it ... hopefully!
0
 

Author Comment

by:ifcosystems
ID: 21866590
I noticed the old Windows 2000/SQL Server 2000 had the protocols TCP/IP and Named Pipes enabled.  The new server only has TCP/IP enabled.  Could that have anything to do with it?
0
 
LVL 32

Expert Comment

by:Daniel Wilson
ID: 21866701
doubtful.

It looks like a permissions issue.
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 

Author Comment

by:ifcosystems
ID: 21866930
Hopefully I'm on to something...If you look at http://support.microsoft.com/kb/238949, it says DBNMPNTW is for named pipes.  Since I have that disabled on the SQL Server, wouldn't that be the reason for the error?  And the reason that some users are connecting and some are not could be that most of the web servers are using dbmssocn (TCP/IP), but sometimes they are using DBNMPNTW.  Make sense?  Then the question becomes why is DBNMPNTW being used sometimes?  The 5 web servers are using asp pages that use a UDL to connect.  I don't know how the UDL determines which network library to use.
0
 
LVL 32

Expert Comment

by:Daniel Wilson
ID: 21867096
Maybe ... won't hurt to give it a try!
0
 

Accepted Solution

by:
ifcosystems earned 0 total points
ID: 21869127
I solved this:  Turns out one of my servers is using MDAC 2.53.6200, who's default behavior is to use named pipes.  I changed the connection string on this server to use dbmssocn (TCP/IP), and all is well.  Give me 500 points!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

927 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