J
Justin
I know this has been out there a thousand times. I've looked and looked and
can't find anything that will solve my problem. I'm not even sure it is
solveable.
I have a client that I VPN into. My computer is not on their domain.
I have a local webservice and I was to use to access a SQL server on their
domain. I have set impersonation to true and put the username and password
of the domain user in the web.config.
<identity impersonate="true" userName="domain\user" password="password" />
I also created a local user on my computer with the same username and
password. (This is how I was able to get the webservice asmx page to
successfully load and display the available webservices).
However, when I try to actually call the webservice and access the sql
server I get the classic "Login failed for user 'NT AUTHORITY\ANONYMOUS
LOGON'" error.
I've tried everything I can think of, even creating a
WindowsImpersonationContext object. No luck.
The sql server *has* to use integrated security so a connection string is
"right out".
Any ideas?
Thanks,
Justin
can't find anything that will solve my problem. I'm not even sure it is
solveable.
I have a client that I VPN into. My computer is not on their domain.
I have a local webservice and I was to use to access a SQL server on their
domain. I have set impersonation to true and put the username and password
of the domain user in the web.config.
<identity impersonate="true" userName="domain\user" password="password" />
I also created a local user on my computer with the same username and
password. (This is how I was able to get the webservice asmx page to
successfully load and display the available webservices).
However, when I try to actually call the webservice and access the sql
server I get the classic "Login failed for user 'NT AUTHORITY\ANONYMOUS
LOGON'" error.
I've tried everything I can think of, even creating a
WindowsImpersonationContext object. No luck.
The sql server *has* to use integrated security so a connection string is
"right out".
Any ideas?
Thanks,
Justin