Discussion:
What file is missing when using a Microsoft Access User Profile?
(too old to reply)
GGee
2005-09-29 16:34:05 UTC
Permalink
I created a Microsoft Access User Profile. When I try executing MS Access
2003 from the command line using the /profile "<profilename>", the MS Access
program executes, but the error message "couldn't find file 'C:\Program
Files\Microsoft Office\OFFICE11\'. This file is required for startup." When
executing MS Access without the /profile switch, all is well.
Joan Wild
2005-09-30 13:16:33 UTC
Permalink
Double-check the command line. There error suggests that you are missing
msaccess.exe on the end of it.
--
Joan Wild
Microsoft Access MVP
Post by GGee
I created a Microsoft Access User Profile. When I try executing MS
Access 2003 from the command line using the /profile "<profilename>",
the MS Access program executes, but the error message "couldn't find
file 'C:\Program Files\Microsoft Office\OFFICE11\'. This file is
required for startup." When executing MS Access without the /profile
switch, all is well.
GGee
2005-09-30 14:21:05 UTC
Permalink
The command line is:
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /profile"MCUser"
"C:\DBApplication.mdb"

where MCUser is the newly created Access user profile. If I remove the
database name, there is no error until I try to open a database.
Post by GGee
I created a Microsoft Access User Profile. When I try executing MS Access
2003 from the command line using the /profile "<profilename>", the MS Access
program executes, but the error message "couldn't find file 'C:\Program
Files\Microsoft Office\OFFICE11\'. This file is required for startup." When
executing MS Access without the /profile switch, all is well.
Joan Wild
2005-09-30 14:25:18 UTC
Permalink
I would double check the location of msaccess.exe and also you need a space
between the e of profile and the double quote. I'm not positive, but the
order may be important

"path to msaccess.exe" "path to mdb" /profile ....
--
Joan Wild
Microsoft Access MVP
Post by GGee
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
/profile"MCUser" "C:\DBApplication.mdb"
where MCUser is the newly created Access user profile. If I remove
the database name, there is no error until I try to open a database.
Post by GGee
I created a Microsoft Access User Profile. When I try executing MS
Access 2003 from the command line using the /profile
"<profilename>", the MS Access program executes, but the error
message "couldn't find file 'C:\Program Files\Microsoft
Office\OFFICE11\'. This file is required for startup." When
executing MS Access without the /profile switch, all is well.
GGee
2005-10-03 18:46:01 UTC
Permalink
The error occurs after msaccess.exe is executing, so there is no issue in
locating msaccess.exe.

I re-checked the command line and it seems to be OK. (I did have a space
between the e of profile and the user profile name.)

I have rearranged the order. It does not seem to be order related.

Thanks for your suggestions, but so far no changes in the execution status.
Post by Joan Wild
I would double check the location of msaccess.exe and also you need a space
between the e of profile and the double quote. I'm not positive, but the
order may be important
"path to msaccess.exe" "path to mdb" /profile ....
--
Joan Wild
Microsoft Access MVP
Post by GGee
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
/profile"MCUser" "C:\DBApplication.mdb"
where MCUser is the newly created Access user profile. If I remove
the database name, there is no error until I try to open a database.
Post by GGee
I created a Microsoft Access User Profile. When I try executing MS
Access 2003 from the command line using the /profile
"<profilename>", the MS Access program executes, but the error
message "couldn't find file 'C:\Program Files\Microsoft
Office\OFFICE11\'. This file is required for startup." When
executing MS Access without the /profile switch, all is well.
Loading...