WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> Bug Reports >> Error Code 5
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1476900658

Message started by kalars3 on Oct 19th, 2016 at 8:10pm

Title: Error Code 5
Post by kalars3 on Oct 19th, 2016 at 8:10pm
Hello All,

Sorry to bother once again, we are trying to Copy some files from one server to another and I've gotten the following error message:

2016-10-19 14:51:10.002;W;     Could not copy file from \\SERVER1\Soft\Program\setup.exe to \\SERVER2\Soft\Program\setup.exe Error Code: 5 Description: Access is denied.  ;wdopAutoCopy.cpp (385);

We had some issues with the internal network, but this was done when there was connectivity.

Which would be the reason for this error?
Thanks

Also may I ask if there is any database with all error codes/messages available in order not to ask in the forum everytime it occurs? Thanks again :)

Title: Re: Error Code 5
Post by Dirk on Oct 19th, 2016 at 8:29pm
The error code shows it clearly: access denied.
The user under which the task is running has not the correct rights to access source or destination.
If you run it as a windows service see here:
http://blog-en.gdpsoftware.com/2010/04/watchdirectory-tasks-as-windows-service.html


Title: Re: Error Code 5
Post by kalars3 on Oct 19th, 2016 at 11:00pm

Dirk wrote on Oct 19th, 2016 at 8:29pm:
The error code shows it clearly: access denied.
The user under which the task is running has not the correct rights to access source or destination.
If you run it as a windows service see here:
http://blog-en.gdpsoftware.com/2010/04/watchdirectory-tasks-as-windows-service.html


Thanks Dirk, totally forgot about changing the user who runs the service, now it has been corrected, thanks!

I apoligize for this

Title: Re: Error Code 5
Post by Dirk on Oct 20th, 2016 at 7:15am
You're welcome!

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.