Hi Dan,
Thanks for your feedback. Based on my research, this article 247931does not
apply to Microsoft Windows 2000 Active Directory domains. The Microsoft
Windows NT authentication model that is discussed in this article only
applies to Windows NT domains." Are you using Win 2K AD domain or Win NT
domain?
I would like you to provide the following information so that I can perform
further research.
1. What the version of SQL Server (Service Pack) on your side?
2. When SQL Server is running on the DC, are you using a domain account?
3. Does the problem only happen when you are trying to connect to SQL
Server (MachineA) via IIS (MachineB) from another client machine (MachineC)
and SQL server and IIS Server are on separate machines and when using NT
authentication.
4. I would like you to provide the detailed information when you connect to
SQL Server. Which provide you used to connect to SQL Server, ODBC or OLE
DB? Do you mean that you connect to SQL Server using ADO? If so, please
provide the code statements used to build the connection.
Please make sure the following tips have been done on your side.
1. To enable Windows NT authentication, through the Internet Information
Server (IIS) computer, Basic authentication must be enabled for the Web
application.
2. Since you are creating a domain user account, make sure that the domain
user has been given "Access this computer from the network" right on the
SQL Server computer.
3. Since IIS and SQL are not on the same box, ensure that they've done the
following:
a. Start the Internet Services Manager (on the Directory Security property
page for the Web application).
b. Open the Anonymous User Account dialog box.
c. Disable the Enable Automatic Password Synchronization option, and then
manually enter the password for the domain user account.
Does the error occur again after confirming the above steps? If so, please
provide the detailed error message. I also would like you to provide the
exact steps that you have take the results in the error message.
1. Please check Event logs for the SQL Server machine to see if there are
any entries which would give more information.
2. Please set the audit level to all and check the Error log file to see if
there are useful information recorded in it after the error occur. (Right
click the server name in SQL Server Enterprise Manger-->Select Property
command -->Select Security Tab-->Choose All under the Audit lever option.)
For more information, please refer to the article on SQL Server Books
Online:
Topic: "How to set up Windows Authentication Mode security (Enterprise
Manager)"
Please try to connect to SQL Server SQL Server authentication. Because SQL
Server needs to be running in the Mixed mode of authentication. Please set
the related authentication for the SQL Server. (Right click the server name
in SQL Server Enterprise Manger-->Select Property command-->Select Security
Tab-->Choose "SQL Server and Windows" under the Authentication option.)
In addition, I highly recommend you look though the following articles, it
should help this issue a lot.
326985 HOW TO: Troubleshoot Kerberos-Related Issues in IIS
http://support.microsoft.com/?id=326985 319723 INF: SQL Server 2000 Kerberos Support Including SQL Server Virtual
http://support.microsoft.com/?id=319723 PRB: ASP/ODBC/SQL Server Error 0x80040E4D "Login Failed for User '(Null)'"
http://support.microsoft.com/?id=307002 I am standing by for your response.
Regards,
Michael Shao
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights.