Article ID: 253500 - Last Review: December 3, 2003 - Revision: 3.2 PRB: "Client Unable to Establish Connection" Error Message When Connecting from ASP to SQL ServerThis article was previously published under Q253500 SYMPTOMS
When opening a connection in Active Server Pages (ASP) code to SQL Server on a separate computer from the Web server, one of these similar error messages may appear:
Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC SQL Server Driver]Client unable to establish connection /asppage.asp, line xxx
-or-
Microsoft OLE DB Provider for SQL Server error '80004005' [DBNMPNTW]ConnectionOpen (CreateFile()). /asppage.asp, line xxx
-or-
Microsoft OLE DB Provider for ODBC Drivers error '80040ed' [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT Authority\Anonymous Logon'. /asppage.asp, line xxx CAUSE
This error occurs if SQL Server security mode is set to Microsoft Windows NT only and the NT account that is being used to authenticate the user on the IIS computer (such as IUSR_computer for anonymous IIS access) does not have permissions to connect to the remote SQL Server's NT computer.
RESOLUTIONUsing IIS Anonymous Access
APPLIES TO
| Article Translations
|
Back to the top
