webservice - copy file to remote server
-
Hi , I m using a webservice to copy a file to a remote server. When i do that i m getting ' Access to path denied' error. Pls let me know what permission i need to give. My OS is windows 2000. I tried giving impersonate = true in web.config. Thanks in advance Priya
-
Hi , I m using a webservice to copy a file to a remote server. When i do that i m getting ' Access to path denied' error. Pls let me know what permission i need to give. My OS is windows 2000. I tried giving impersonate = true in web.config. Thanks in advance Priya
Your webservice is running under an application pool. The user that the app pool is running as needs rights to write to that remote server. I would suggest creating a new app pool that only the web service will run under. Then you could create a specific network user that has just the correct rights to write to your remote server. Hope that helps. Ben