M
Mark
We are attempting to use impersonation to connect from our ASP.NET website
to a SQL Server on the same domain. The code below works just fine in our
web.config file:
<identity impersonate="true" userName="mydomain\mylogin"
password="whatever">
However, if we attempt to impersonate the user that currently is logged in
to the client computer using ...
<identity impersonate="true">
we get the error message:
Login failed for user '(null)'. Reason: Not associated with a trusted SQL
Server connection.
I'm an SA on the SQL Server box ... something else isn't quite clicking.
Any recommendations? In IIS we have Integrated Windows Authentication
checked, and nothing else.
Thanks in advance.
Mark
(e-mail address removed)
to a SQL Server on the same domain. The code below works just fine in our
web.config file:
<identity impersonate="true" userName="mydomain\mylogin"
password="whatever">
However, if we attempt to impersonate the user that currently is logged in
to the client computer using ...
<identity impersonate="true">
we get the error message:
Login failed for user '(null)'. Reason: Not associated with a trusted SQL
Server connection.
I'm an SA on the SQL Server box ... something else isn't quite clicking.
Any recommendations? In IIS we have Integrated Windows Authentication
checked, and nothing else.
Thanks in advance.
Mark
(e-mail address removed)