I’m using asmx web service to lock a folder on remote computer!
When I run web service on local machine everything working fine, but when I run it on remote computer nothing happen, folder on remote computer stay unlock!
I supose that I need to set security permission for this web service on remote computer, but i don’t know where!
So, what I need to enable executing this service on remote computer?
I suspect it is permissions, does the network service have read/write access to folder?
Maybe you can try identity impersonate.
EDIT I would begin by checking that the folder on the server has write permissions for the Network Service. If the folder security can not be changed then use the identity impersonate in the web config and map it a user on the server.
EDit 2 Do you get any kind of error thrown when the code tries to lock the folder?