473,406 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Visual Basic Scheduler Error

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!!!!!!
Aug 13 '07 #1
1 1111
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.

"Andy S." <An***@discussions.microsoft.comwrote in message
news:B1**********************************@microsof t.com...
>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!!!!!!

Aug 14 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: John | last post by:
I have a problem, it's not with any code I have because... there is no code. When I run a blank visual basic 6 form, it opens up just fine. When I add a text box, a caption, and a button... it...
0
by: Alex | last post by:
Hi, I have a problem with the VB.NET compiler: When I open my solution I recive the message : "Visual Basic .Net compiler is unable to recover from the following error : System Error...
0
by: Tanner | last post by:
My project is to write two seperate programs. A Operating Room Scheduler Program, that calls a seperate Printing program on a command to print. I am left with one problem. Both programs have to...
8
by: delete table with Visual Basic 6 | last post by:
Dear developer, I have an error message when I try to delete or drop Microsoft Access XP table with ADOX in Visual Basic 6. I use the ADOX.Catalog and ADOX.table to create and delete or drop table...
5
by: Microsoft | last post by:
Hi, I have Visual Basic .net 2003 (Standard Edition) & SQL Server 2000 Developer Edition. When trying to create a connection in the server explorer from the .net IDE I get a number of problems;...
4
by: junaidnaseer | last post by:
Hi ! I am facing a problem that I have defined a function which when called in the same file generates an error as follows; " visual c error C2371 redefinition basic types see...
10
by: Steve | last post by:
I am trying to create a DLL in Visual Studio 2005-Visual Basic that contains custom functions. I believe I need to use COM interop to allow VBA code in Excel 2002 to access it. I've studied...
4
by: MikeB | last post by:
I've been all over the net with this question, I hope I've finally found a group where I can ask about Visual Basic 2005. I'm at uni and we're working with Visual Basic 2005. I have some books, ...
4
by: sqlguy | last post by:
Why do we have to contact MS for a problem that has been with this compiler from at least the beta of VS 20005. I am so sick and tired of the 30 - 40 clicks it takes to dismiss VS when there is a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.