WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Error Code 5 (Read 900 times)
kalars3
YaBB Newbies
*
Offline



Posts: 11
Error Code 5
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 Smiley
Back to top
 
 
IP Logged
 
Dirk
YaBB Administrator
*****
Offline



Posts: 659
South Germany
Re: Error Code 5
Reply #1 - 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.h...

Back to top
 

Viele Grüße / Best regards
Dirk - GdP Software

dirk [at] gdpsoftware [dot] com
http://blog-de.gdpsoftware.com
Webseite: http://www.gdpsoftware.com
WWW WWW  
IP Logged
 
kalars3
YaBB Newbies
*
Offline



Posts: 11
Re: Error Code 5
Reply #2 - 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.h...



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

I apoligize for this
Back to top
 
 
IP Logged
 
Dirk
YaBB Administrator
*****
Offline



Posts: 659
South Germany
Re: Error Code 5
Reply #3 - Oct 20th, 2016 at 7:15am
 
You're welcome!
Back to top
 

Viele Grüße / Best regards
Dirk - GdP Software

dirk [at] gdpsoftware [dot] com
http://blog-de.gdpsoftware.com
Webseite: http://www.gdpsoftware.com
WWW WWW  
IP Logged
 
Page Index Toggle Pages: 1