so i have a long running process that i put into a webmethod and tagged it with a oneway property so i could just fire and forget about it. the problem is that the process throws exceptions when it goes to do filesystem writes to my fileserver. this problem
doesn't exist when i make the webmethod a normal synchronous operation, it writes to the fileserver just fine. so my guess is that the asynchronous thread runs under a different context? any ideas?
dagnar
Member
389 Points
85 Posts
webmethod oneway filesystem problem
Oct 09, 2007 10:08 PM|LINK
so i have a long running process that i put into a webmethod and tagged it with a oneway property so i could just fire and forget about it. the problem is that the process throws exceptions when it goes to do filesystem writes to my fileserver. this problem doesn't exist when i make the webmethod a normal synchronous operation, it writes to the fileserver just fine. so my guess is that the asynchronous thread runs under a different context? any ideas?
thanks in advance.
asynchronous calls