Microsoft KB Archive/246953

= BUG: Access 2000 Quit Method Leaves Access Running =

Article ID: 246953

Article Last Modified on 9/23/2005

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q246953



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.



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



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.



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.



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.

Additional query words: access mts iis exit

Keywords: kbbug kbfix kboffice2000sp2fix kboffice2000presp2fix kbqfe kbautomation kbhotfixserver KB246953

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.