S
Stephajn Craig
I'm developing an ASP.NET app on a Windows 2003 Server. My ASP.NET app is
using Windows Authentication and in IIS I have disabled Anonymous Access,
and enabled digest authentication. In my Web.Config file I have put this
line:
<identity impersonate="true" />
My ASP.NET app calls on a SQL Server database that is on a different
machine. I can tell that the ASP.NET engine is picking up my domain
username as being the authenticated user by using this line:
Dim username As String =
System.Security.Principal.WindowsIdentity.GetCurrent().Name
However, when the call to the database is made, I get this error:
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
What am I missing here? why is the call to the database going through as
that and not my domain account? My connection string to the database looks
like this:
data source=SOMESERVER;Initial Catalog=SOMEDATABASE;Integrated
Security=SSPI;
Any help would REALLY be appreciated.
using Windows Authentication and in IIS I have disabled Anonymous Access,
and enabled digest authentication. In my Web.Config file I have put this
line:
<identity impersonate="true" />
My ASP.NET app calls on a SQL Server database that is on a different
machine. I can tell that the ASP.NET engine is picking up my domain
username as being the authenticated user by using this line:
Dim username As String =
System.Security.Principal.WindowsIdentity.GetCurrent().Name
However, when the call to the database is made, I get this error:
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
What am I missing here? why is the call to the database going through as
that and not my domain account? My connection string to the database looks
like this:
data source=SOMESERVER;Initial Catalog=SOMEDATABASE;Integrated
Security=SSPI;
Any help would REALLY be appreciated.