Cannot connect to SQL database on Windows NT Server computer with IIS (229286)
The information in this article applies to:
This article was previously published under Q229286 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: SYMPTOMS
On a Windows NT Server computer running Internet Information Server (IIS) version 3.0, 4.0, or 5.0, the following ODBC error message appears when you try to verify a connection to a remote SQL database:
ODBC Error: "Client cannot establish connection."
SQL ODBC Driver (SQLSRV32.dll) version 3.70.05.87 (10/04/98)
CAUSE
Microsoft SQL Server Integrated Security requires NTLM authentication in order to map user accounts to SQL Server accounts.
After a Web browser is authenticated by IIS, an authenticated connection to the SQL Server is not possible. IIS is using the IUSR account when it attempts to connect to SQL Server. When using the IUSR account to connect to the SQL Server, NTLM authentication is used.
Essentially, IIS does not have the necessary information to complete the NT authentication process.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Major | Last Reviewed: | 7/3/2006 |
---|
Keywords: | kbbug kbpending KB229286 |
---|
|