Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

BUG: Access 2000 Quit Method Leaves Access Running


View products that this article applies to.

Symptoms

When automating Microsoft Access 2000 and issuing the Quit method, Access does not shut down. You do not receive any error messages but Access remains in the task list.

↑ Back to the top


Cause

Microsoft Access 2000 is configured to run under the context of a user that is different from the currently logged in user.

↑ Back to the top


Resolution

The Quit method for Access 2000 only shuts down Access when it is running under the context of the same user that is currently logged into the system (the Interactive User).

To resolve this problem, obtain the latest service pack for Microsoft Office 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
276367 OFF2000: How to Obtain the Latest Office 2000 Service Pack
To temporarily work around this problem, change the user identity that Access 2000 is set to. To do so, follow these steps:
  1. Click the Windows Start button and then click Run.
  2. In the Run dialog box, type Dcomcnfg.exe and click OK. This launches the DCOM Configuration Utility.
  3. In the list of applications, double-click Microsoft Access Application. This brings up the Properties dialog box for Access 2000.
  4. Click the Identity tab and select The Interactive User. This sets Access to run under the context of the user that is currently logged into the system.
  5. Click OK to close the Property sheet and click OK again to close the DCOM Configuration Utility.

↑ Back to the top


Status

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Office 2000 Service Pack 2.

↑ Back to the top


More information

Steps to Reproduce Behavior

  1. Click the Windows Start button and then click Run.
  2. In the Run dialog, type Dcomcnfg.exe and click OK. This launches the DCOM Configuration Utility.
  3. In the list of applications, double-click on Microsoft Access Application. This brings up the Properties dialog box for Access 2000.
  4. Click the Identity tab and select This User. Enter a username and password in the text boxes, or click Browse to find a user.
  5. Click OK to close the Property sheet and click OK again to close the DCOM Configuration Utility.
  6. Start a client that automates Access 2000. Note that when the client code is finished and has executed the Quit method, Access stays running in the task list.

↑ Back to the top


Keywords: KB246953, kboffice2000sp2fix, kboffice2000presp2fix, kbfix, kbbug, kbautomation, kbqfe, kbhotfixserver

↑ Back to the top

Article Info
Article ID : 246953
Revision : 4
Created on : 9/23/2005
Published on : 9/23/2005
Exists online : False
Views : 415