ASP.NET + Impersonating in Web Service
Posted on 2005-03-26
We have a webservice that exposes a public method with SoapDocumentMethod(OneWay:=True). What is the identity it's using to process? Web.config for the web service is set to imporsonate identity impersonate="true" userName="<username>" password="<password>" but it's not using it.
Keep getting the following error: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
If i remove SoapDocumentMethod(OneWay:=True) it seems to work, the reason i want this is i don't want the application to wait for the webservice to finish.