PC Review


Reply
Thread Tools Rate Thread

Database will not open

 
 
Mitch_77
Guest
Posts: n/a
 
      28th Apr 2009
I have an Access 2002 database that will not open under a local account on a
user's laptop. This same database opens and runs fine if the user logs in
with their domain account. Their local account has access to all network
drives and folders needed for this database to run but it stops and gives an
Action Failed error when it runs the first macro. This macro is an update
check to see if a new version is available. I have removed this macro and
set the database to open the Password form at start-up but it gives a
run-time error when they submit their password. This user has about a dozen
other databases installed on this local account and they all work fine with
this same update check macro running at startup.

I have run the same copy of this database on other machines using domain
accounts and it runs fine. I have removed and re-installed Runtime with no
luck. I have reset the users network and local passwords and made certain
they have access to all network resources but I still get the error message.

The laptop is running Windows XP Pro with MS Office 2007 and Office 2002
Runtime for the databases.

Any help would be greatly appreciated.

Thanks in advance.

 
Reply With Quote
 
 
 
 
Hans Up
Guest
Posts: n/a
 
      28th Apr 2009
Mitch_77 wrote:
> I have an Access 2002 database that will not open under a local account on a
> user's laptop. This same database opens and runs fine if the user logs in
> with their domain account. Their local account has access to all network
> drives and folders needed for this database to run but it stops and gives an
> Action Failed error when it runs the first macro. This macro is an update
> check to see if a new version is available. I have removed this macro and
> set the database to open the Password form at start-up but it gives a
> run-time error when they submit their password.


Can you capture the run-time error and tell us what it says?

Other than that, I don't see any way to help you. I would have
suspected differences in Windows permissions between the local and
domain accounts ... but it sounds like you covered your bases on that
score already.
 
Reply With Quote
 
Mitch_77
Guest
Posts: n/a
 
      28th Apr 2009


"Hans Up" wrote:

> Mitch_77 wrote:
> > I have an Access 2002 database that will not open under a local account on a
> > user's laptop. This same database opens and runs fine if the user logs in
> > with their domain account. Their local account has access to all network
> > drives and folders needed for this database to run but it stops and gives an
> > Action Failed error when it runs the first macro. This macro is an update
> > check to see if a new version is available. I have removed this macro and
> > set the database to open the Password form at start-up but it gives a
> > run-time error when they submit their password.

>
> Can you capture the run-time error and tell us what it says?
>
> Other than that, I don't see any way to help you. I would have
> suspected differences in Windows permissions between the local and
> domain accounts ... but it sounds like you covered your bases on that
> score already.
>


The second error states: "Execution of this application has stopped due to
a run-time error. The application can't continue and will be shut down."
The database closes when the OK button is clicked.


 
Reply With Quote
 
Hans Up
Guest
Posts: n/a
 
      28th Apr 2009
Mitch_77 wrote:
> The second error states: "Execution of this application has stopped due to
> a run-time error. The application can't continue and will be shut down."
> The database closes when the OK button is clicked.


I think that's the run-time's generic "last-ditch" response to the
unhandled error within your application.

In order to find out anything useful about the error, you will have to
set up error-handling within your application (On Error GoTo <label>).
Then your error-handler code must report err.Number and err.Description
in a MsgBox or by writing to an external log file.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2003 - Cannot open database when database is already open amnguyen327@gmail.com Microsoft Access 1 21st Dec 2007 06:51 PM
Copy table from open database to a closed database RW Microsoft Access VBA Modules 6 2nd Dec 2007 12:40 AM
Access 2003 - Cannot open database when database is already open sallman9696 Microsoft Access 1 22nd Mar 2006 06:01 PM
Database question - Database Open, Close Design =?Utf-8?B?TWFjY2E=?= Microsoft C# .NET 4 20th Sep 2005 10:01 PM
Cannot open user default database. Using master database instead. Drew Microsoft Access ADP SQL Server 1 16th Mar 2005 06:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:42 AM.