472,779 Members | 2,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,779 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 2863
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: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.