Visual Basic Scheduler Error

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an application written in Visual Basic .NET in Visual Studio 2005 that
runs on a server and simply uses the filesystem.copydirectory to backup
folders from my pc to a server. The problem I have is when I run it manually
on the server it works fine, but when it runs from the scheduler it can't
access my pc. I sign on to the server as the user it runs as when its ran
from the scheduler, but it just can't access my pc when ran from the
scheduler, but runs fine when I run it manually. The user that it runs as
has been added to the Admin group on my pc, so I'm not sure what the
scheduler is doing that prevents it from working. Thanks for any ideas or
comments!!!!!!
 
Try logging onto your computer with that user account and see what happens.
If that works, then try running your code with those credentials and see
what happens. If that works...

Ask, is the scheduler running the assembly from a UNC. Was that code
permitted to be run by the user account/machine from that location?

My point is, try to replicate the issue by manually replicating the steps
and environment. Perhaps you can then get a better understanding of the
issue.
 
Back
Top