473,396 Members | 1,799 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,396 software developers and data experts.

Retry - Start Access via Scheduler w/ Nobody Logged onto Server

I want to start this thread again - on my first attempt I was a little
ambiguous and was not able to get the answer I need.

I am trying to start Access 2000 on Windows NT 2000 Server by using the
scheduler with the command line:

"c:\Program Files\Microsoft Office\Office\msaccess.exe"
"d:\Apps\ChangeManagement.mdb" /x StartLoad

This works when I run it from the "run" box, or via the scheduler when I am
logged on to the server. Access opens, the macro calls a procedure which
does what it needs to do and then closes Access down.

The scheduler, apparently, cannot start Access at 5:00 am when nobody is
logged on. The scheduler's log will show "Access could not start" the next
morning. The scheduler does successfully run a V FoxPro app before and a
Cute FPT macro after trying to run Access, so I know the scheduler is OK.

What I need to know is whether Access can be started on a server via the
scheduler when nobody is logged on, and if so, how. I don't want to give up
on the plan if it is doable.

Many thanks,
Mike Thomas

Nov 12 '05 #1
1 2908
On Fri, 21 Nov 2003 17:30:41 GMT, "Mike Thomas" <Mi******@Yahoo.com>
wrote:
I want to start this thread again - on my first attempt I was a little
ambiguous and was not able to get the answer I need.

I am trying to start Access 2000 on Windows NT 2000 Server by using the
scheduler with the command line:

"c:\Program Files\Microsoft Office\Office\msaccess.exe"
"d:\Apps\ChangeManagement.mdb" /x StartLoad

This works when I run it from the "run" box, or via the scheduler when I am
logged on to the server. Access opens, the macro calls a procedure which
does what it needs to do and then closes Access down.

The scheduler, apparently, cannot start Access at 5:00 am when nobody is
logged on. The scheduler's log will show "Access could not start" the next
morning. The scheduler does successfully run a V FoxPro app before and a
Cute FPT macro after trying to run Access, so I know the scheduler is OK.

What I need to know is whether Access can be started on a server via the
scheduler when nobody is logged on, and if so, how. I don't want to give up
on the plan if it is doable.

Many thanks,
Mike Thomas


AFAIK the answer is No. See

http://support.microsoft.com/default...b;EN-US;257757

and
http://support.microsoft.com/default...66&Product=acc

The solution I would use in this situation is to write the code in
Visual Basic and to implement a true service with the aid of the "NT
Service Toolkit" from Desaware (www.desaware.com).

HTH
Matthias Kläy
--
www.kcc.ch
Nov 12 '05 #2

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

Similar topics

2
by: Kashi McGilloway | last post by:
I have a small company creating a small site. Until it gets big, they switch to an MSSQL database hosted on a full-t1 site, and all that jazz they've got lowly ol' me working it into an Access...
5
by: Joseph | last post by:
Hello, I have a C# program that builds a txt file and then, calls an external exe (this external exe simply imports this txt file into a DBF (DBase) file. (we copy a template of the DBF file into...
4
by: Ed Mana | last post by:
I have an Access app that I need to automate in 2 ways: 1. I need to have the app open and print a specific report once each day at a specific time. 2. I need to have the app take the same...
18
by: Andre Laplume via AccessMonster.com | last post by:
I have inherited a bunch of dbs which are are shared among a small group in my dept. We typically use the dbs to write queries to extract data, usually dumping it into Excel. Most dbs originated...
3
by: Gary K | last post by:
After a bit a trouble getting VS to create a project on a different web server (I forgot to apply the 'fix'), I get the following error when trying to debug my web application. Error while...
4
by: Shawn H. Mesiatowsky | last post by:
I have a strange problem here. I have my development computer with IIS installed, and we have a SQL server as well on a windows 2000 server. both are members of a domain. I have restricted access...
11
by: jj | last post by:
Hi Ng When I use the AT.exe to schedule a job and I write: at.exe 22:54 /every:24 "c:\test.bat" this job works just perfect. In the bat file I have wrote: copy c:\TestDB.mdb c:\testfolder...
3
by: bernard.thouin | last post by:
Hi, I have an Access 2003 app (accessing an Access 2002-2003 DB) that runs every day at a given time on an XP Pro PC. I've used XP's built-in scheduler to set up the app to run every day at a...
7
by: mike | last post by:
We have numerous Access 97 apps that we run on our Terminal Server, but two apps in particular is giving us a problem. The problem we are running into is when you select a drop down menu, it errors...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.