J
Jason Barnett
I'm running an application with the following configuration and I get a
"Login Failed for user 'NT Authority\Anonymous Logon'" error when I try to
open a connection to SQL Server. Also, the error only appears when I use the
domain account I use during development. A separate domain account (with
connect-only privileges) works fine.
My domain account can connect using Management Studio
My connection string contains SSPI
Web.config is configured with authentication mode set to windows
Web.config is configured with impersonate set to true
IIS is configured to use Windows Authentication
IIS is configured with Anonymous disabled
IIS is running on a separate server than SQL Server
I've verified that WindowsIdentity.GetCurrent() returns the domain account
I'm using. I've even tried explicitly calling Impersonate to see if that
would help, but it doesn't.
Could anyone explain what's going on and how I might correct this issue?
"Login Failed for user 'NT Authority\Anonymous Logon'" error when I try to
open a connection to SQL Server. Also, the error only appears when I use the
domain account I use during development. A separate domain account (with
connect-only privileges) works fine.
My domain account can connect using Management Studio
My connection string contains SSPI
Web.config is configured with authentication mode set to windows
Web.config is configured with impersonate set to true
IIS is configured to use Windows Authentication
IIS is configured with Anonymous disabled
IIS is running on a separate server than SQL Server
I've verified that WindowsIdentity.GetCurrent() returns the domain account
I'm using. I've even tried explicitly calling Impersonate to see if that
would help, but it doesn't.
Could anyone explain what's going on and how I might correct this issue?