FE Auto Update - NEED SOME HELP

D

David

Hello all,
OK, well I need LOTS of help, but I'll start with this one......

I am attempting to use tony toews fe auto updater. It works the first time
I launch it, creates the autoFEUpdater.INI file.

2nd time the StartMDB.exe file is launched, by me or anyone else, error of

Null command line sent to utiity.
If you are using a shortcut the the target in the shortcut hasn't been
properly setup.......

I have created a Project Management.ini file the user shoulld select when
opening the StartMDB.exe

** Project Mangement.ini file contents below ******
[Settings]
MainApp=C:\Documents and Settings\%user%\Desktop\Project\Project
Management.mde
Server=\\pkcfp009\esn\DataBase\Project Database\
StartMethod=AutoSelect
Lockout=No
LockoutMsg=Sorry, not allowed into the system right now.
SupportMsg=Please contact your computer department for support.

ShortCutName=Project Database Shortcut
CreateShortCutOnDesktop=yes
CreateShortCutOnCommonDesktop=no
ShortCutIconFile=
ShortCutIconFileIndex=
*End of Project Management.ini file contents ***********

Environment: Shared server with multiple users.
Server unc \\pkcfp009\esn\DataBase\Project Database
Database file name is Project Management.mde
I think I have it setup to create a folder named Project on the user's
desktop. This Project folder will store the actual MDE file the FE Updater
will use to compare to the server mde file. This seems to work the very
first time the exe file from the server, but as long as there is a
autoFEupdater.ini file with the exe file, I get the error above.

Where have I gone wrong?
 
V

Van T. Dinh

IIRC, the %user% is an environment variable and depending on how your
Windows network is set up, they may be different from %user%.

One of the common environment variable is %UserName%. Try this in your ini
rather than %user%.
 
D

David

Van,
Thank you for assisting me, same result with %user% or with %UserName%. Is
this error because I renamed the getting started ini file to project
management.ini? Here is the entire error message....
*** Error Message **
Null command line sent to utility.

If you are using a shortcut the the target in the shortcut hasn't been
properly setup.
If you are using a bat or cmd file then the line calling this utility hasn't
been properly setup.
It should be in the following format:
StartMDB.exe /cmd /inifile:"z:\test\ini file name.ini"
or
StartMDB.exe /cmd /inifile:"\\server\sharename\ini file name.ini"

*** End of Error Message ***

Additional info... using Access 2002. Some users have Win XP Professional,
but most are using Windows 2000 professional. FE Updater version 1.69
Running the exe file works the very first time and creates the
autoFEupdater.INI file on the server. It also creates the folder Projects on
my desktop and a shortcut on my desktop. The shortcut on my desktop works
perfectly and updates the mde file in the projects folder on my desktop if
needed. But if the exe file is executed with the autoFEupdater.INI file
already existing on the server, the user receives the above error.

Van T. Dinh said:
IIRC, the %user% is an environment variable and depending on how your
Windows network is set up, they may be different from %user%.

One of the common environment variable is %UserName%. Try this in your ini
rather than %user%.

--
HTH
Van T. Dinh
MVP (Access)


David said:
Hello all,
OK, well I need LOTS of help, but I'll start with this one......

I am attempting to use tony toews fe auto updater. It works the first time
I launch it, creates the autoFEUpdater.INI file.

2nd time the StartMDB.exe file is launched, by me or anyone else, error of

Null command line sent to utiity.
If you are using a shortcut the the target in the shortcut hasn't been
properly setup.......

I have created a Project Management.ini file the user shoulld select when
opening the StartMDB.exe

** Project Mangement.ini file contents below ******
[Settings]
MainApp=C:\Documents and Settings\%user%\Desktop\Project\Project
Management.mde
Server=\\pkcfp009\esn\DataBase\Project Database\
StartMethod=AutoSelect
Lockout=No
LockoutMsg=Sorry, not allowed into the system right now.
SupportMsg=Please contact your computer department for support.

ShortCutName=Project Database Shortcut
CreateShortCutOnDesktop=yes
CreateShortCutOnCommonDesktop=no
ShortCutIconFile=
ShortCutIconFileIndex=
*End of Project Management.ini file contents ***********

Environment: Shared server with multiple users.
Server unc \\pkcfp009\esn\DataBase\Project Database
Database file name is Project Management.mde
I think I have it setup to create a folder named Project on the user's
desktop. This Project folder will store the actual MDE file the FE Updater
will use to compare to the server mde file. This seems to work the very
first time the exe file from the server, but as long as there is a
autoFEupdater.ini file with the exe file, I get the error above.

Where have I gone wrong?
 
D

David

Van,
I may have misunderstood the whole process.

I thought each user had to execute the exe file.

I have found that if I just send the lnk file I created when launching the
exe file the first time, via email to the user and have the user copy that
lnk file to their individual desktop it works fine. The folder copies to the
user's desktop and database launches.



David said:
Van,
Thank you for assisting me, same result with %user% or with %UserName%. Is
this error because I renamed the getting started ini file to project
management.ini? Here is the entire error message....
*** Error Message **
Null command line sent to utility.

If you are using a shortcut the the target in the shortcut hasn't been
properly setup.
If you are using a bat or cmd file then the line calling this utility hasn't
been properly setup.
It should be in the following format:
StartMDB.exe /cmd /inifile:"z:\test\ini file name.ini"
or
StartMDB.exe /cmd /inifile:"\\server\sharename\ini file name.ini"

*** End of Error Message ***

Additional info... using Access 2002. Some users have Win XP Professional,
but most are using Windows 2000 professional. FE Updater version 1.69
Running the exe file works the very first time and creates the
autoFEupdater.INI file on the server. It also creates the folder Projects on
my desktop and a shortcut on my desktop. The shortcut on my desktop works
perfectly and updates the mde file in the projects folder on my desktop if
needed. But if the exe file is executed with the autoFEupdater.INI file
already existing on the server, the user receives the above error.

Van T. Dinh said:
IIRC, the %user% is an environment variable and depending on how your
Windows network is set up, they may be different from %user%.

One of the common environment variable is %UserName%. Try this in your ini
rather than %user%.

--
HTH
Van T. Dinh
MVP (Access)


David said:
Hello all,
OK, well I need LOTS of help, but I'll start with this one......

I am attempting to use tony toews fe auto updater. It works the first time
I launch it, creates the autoFEUpdater.INI file.

2nd time the StartMDB.exe file is launched, by me or anyone else, error of

Null command line sent to utiity.
If you are using a shortcut the the target in the shortcut hasn't been
properly setup.......

I have created a Project Management.ini file the user shoulld select when
opening the StartMDB.exe

** Project Mangement.ini file contents below ******
[Settings]
MainApp=C:\Documents and Settings\%user%\Desktop\Project\Project
Management.mde
Server=\\pkcfp009\esn\DataBase\Project Database\
StartMethod=AutoSelect
Lockout=No
LockoutMsg=Sorry, not allowed into the system right now.
SupportMsg=Please contact your computer department for support.

ShortCutName=Project Database Shortcut
CreateShortCutOnDesktop=yes
CreateShortCutOnCommonDesktop=no
ShortCutIconFile=
ShortCutIconFileIndex=
*End of Project Management.ini file contents ***********

Environment: Shared server with multiple users.
Server unc \\pkcfp009\esn\DataBase\Project Database
Database file name is Project Management.mde
I think I have it setup to create a folder named Project on the user's
desktop. This Project folder will store the actual MDE file the FE Updater
will use to compare to the server mde file. This seems to work the very
first time the exe file from the server, but as long as there is a
autoFEupdater.ini file with the exe file, I get the error above.

Where have I gone wrong?
 
V

Van T. Dinh

I am sure the user executes the AutoFE.exe file (via the lnk) *every time*
he/she wants to open the database, not only the first time. Basically, the
AutoFE checks if the user's copy of the database is "current" or not. If it
is an old version, AutoFE.exe replaces the old copy with a current copy from
the source directory.

After the above, AutoFE will open the user's copy of the database which
should be the current version.

Check Tony Toews' documentation. I just followed Tony's instructions and my
set-up (using Citrix) worked on the first attempt!

--
HTH
Van T. Dinh
MVP (Access)




David said:
Van,
I may have misunderstood the whole process.

I thought each user had to execute the exe file.

I have found that if I just send the lnk file I created when launching the
exe file the first time, via email to the user and have the user copy that
lnk file to their individual desktop it works fine. The folder copies to the
user's desktop and database launches.



David said:
Van,
Thank you for assisting me, same result with %user% or with %UserName%. Is
this error because I renamed the getting started ini file to project
management.ini? Here is the entire error message....
*** Error Message **
Null command line sent to utility.

If you are using a shortcut the the target in the shortcut hasn't been
properly setup.
If you are using a bat or cmd file then the line calling this utility hasn't
been properly setup.
It should be in the following format:
StartMDB.exe /cmd /inifile:"z:\test\ini file name.ini"
or
StartMDB.exe /cmd /inifile:"\\server\sharename\ini file name.ini"

*** End of Error Message ***

Additional info... using Access 2002. Some users have Win XP Professional,
but most are using Windows 2000 professional. FE Updater version 1.69
Running the exe file works the very first time and creates the
autoFEupdater.INI file on the server. It also creates the folder Projects on
my desktop and a shortcut on my desktop. The shortcut on my desktop works
perfectly and updates the mde file in the projects folder on my desktop if
needed. But if the exe file is executed with the autoFEupdater.INI file
already existing on the server, the user receives the above error.

Van T. Dinh said:
IIRC, the %user% is an environment variable and depending on how your
Windows network is set up, they may be different from %user%.

One of the common environment variable is %UserName%. Try this in your ini
rather than %user%.

--
HTH
Van T. Dinh
MVP (Access)


Hello all,
OK, well I need LOTS of help, but I'll start with this one......

I am attempting to use tony toews fe auto updater. It works the first
time
I launch it, creates the autoFEUpdater.INI file.

2nd time the StartMDB.exe file is launched, by me or anyone else, error of

Null command line sent to utiity.
If you are using a shortcut the the target in the shortcut hasn't been
properly setup.......

I have created a Project Management.ini file the user shoulld select when
opening the StartMDB.exe

** Project Mangement.ini file contents below ******
[Settings]
MainApp=C:\Documents and Settings\%user%\Desktop\Project\Project
Management.mde
Server=\\pkcfp009\esn\DataBase\Project Database\
StartMethod=AutoSelect
Lockout=No
LockoutMsg=Sorry, not allowed into the system right now.
SupportMsg=Please contact your computer department for support.

ShortCutName=Project Database Shortcut
CreateShortCutOnDesktop=yes
CreateShortCutOnCommonDesktop=no
ShortCutIconFile=
ShortCutIconFileIndex=
*End of Project Management.ini file contents ***********

Environment: Shared server with multiple users.
Server unc \\pkcfp009\esn\DataBase\Project Database
Database file name is Project Management.mde
I think I have it setup to create a folder named Project on the user's
desktop. This Project folder will store the actual MDE file the FE
Updater
will use to compare to the server mde file. This seems to work the very
first time the exe file from the server, but as long as there is a
autoFEupdater.ini file with the exe file, I get the error above.

Where have I gone wrong?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top