Solved

SQL Server [DBNMPNTW]Access denied Error

Posted on 2008-06-25
6
1,432 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
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!

 

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
An article on effective troubleshooting
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

623 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