Solved

SQL Server [DBNMPNTW]Access denied Error

Posted on 2008-06-25
6
1,323 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

757 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

17 Experts available now in Live!

Get 1:1 Help Now