I have an ASP.NET/VB.NET program. There is a webservice does processing in a separate project which does not return any values. The webservice is executed upon clicking the run button on a certain page, however I would like the webservice to be executed in the background while the next line of code is processed on the client in concurently.
I had seen the solution for a similar post that utilized the: <WebMethod(), SoapDocumentMethod(Oneway:=True)> _ method heading prepended on the webmethod that needs to be executed asyncronously. That worked for me as the code after calling the webservice got executes. However as the webmethod gets executed concurently, it is running on an Domain\ASPNET which fails to map/access the m:\.
Before I referenced SoapMethodDocument, the Domain\UserName the webservice was under is the one used under impersonation which access the M: fine.
So therefore my question is how I can refernce the SoapMethodDocument in the webservice so it runs concurrently under the domain\UserName i used for impersonation. And is there any other way i can execute my webservice concurrently? I've been through almost every single post on the internet.