This can mean more problems...
1) there can be a different version of operating system on each machine -
can cause this problem
2) there is some other firewall or security device that should be set for
either client or target machine
3) your web service uses some sort of limited permissions or you did it as a
Full Trust application and didn't set up those things properly

I would recommend you following procedure:
1) check if client machine really have the permission to create directory or
data at all
2) try to rework your service to be a common app and try it on the client
machine again
3) search for firewalls and other software that can cause this problem
4) check MS KnowledgeBase or Google for someone with similar problem.
eg I found this:
http://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/fdb3c1f0-9e23-493b-ab6a-1c7e69c7305f

this:
http://forums.asp.net/p/1305659/2568408.aspx#2568408

and this:
http://vstoolsforum.com/forums/p/325/889.aspx

2010/2/10 Dave <[email protected]>

> I’m having an issue with my web service, it’s running under identity
> of NetworkService, and it’s trying to create a subdirectory on another
> machine (see UNC path below).  I tried adding full control permissions
> on the \\machineABC\d$\Exes directory for the client machine “domain
> \clientmachine$”, but the error persists.
>
> If I’ve left out any details that could help troubleshoot please let
> me know.
>
> Here is the error message:
>
> "System.Web.Services.Protocols.SoapException: Server was unable to
> process request. ---> System.UnauthorizedAccessException: Access to
> the path '\\\\machineABC\\d$\\Exes\\4aa15a12-
> d5d4-4e8d-8e85-2769925880cb' is denied.\n   …
>
> at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
> \n   at System.IO.Directory.InternalCreateDirectory(String fullPath,
> String path, DirectorySecurity dirSecurity)\n   at
> System.IO.Directory.CreateDirectory(String path, DirectorySecurity
> directorySecurity)\n   at SvcMain.SvcMain.SubmitExe(String userName,
> ExeVMType[] analysisTypes, String sourceName, Int32 priority, Byte[]
> exe, String exeName, Int32 valueId) in ...\\SvcMain.asmx.cs:line
> 221\n   at SvcMain.WebSvcMain.SubmitEx(Guid sourceGuid, Byte[]
> exeBytes, DownloadData data) in ...\\SvcMain.asmx.cs:line 427\n   ---
> End of inner exception stack trace ---"
>
> thanks, dave
>

Reply via email to