DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 2449281 - Last Review: December 31, 2010 - Revision: 5.0

Symptoms

When you try to exit or close Microsoft Office Outlook 2010 or Microsoft Office Outlook 2007, the process does not end as expected or it seems to take a long time to complete. If the Outlook process is forced to end, you may receive one of the following errors message the next time that you start Outlook:

A data file did not close properly the last time it was used and is being checked for problems. Performance might be affected while the check is in
progress.

The data file <data file name> was not closed properly. This file is being checked for problems.

If you click OK in the message window, the following notification may be displayed in the notification area:

Data file check in progress

Cause

This problem may occur if both of the following conditions are true:

  • You have installed the Apple iTunes or other add-in that logs on to a MAPI shared session and passes the MAPI_LOGOFF_SHARED parameter to IMAPISession::Logoff when Outlook attemps to close.
  • You have another MAPI application running. For example, you have Microsoft Office Communicator running.

Resolution

To resolve this problem, install the hotfix specific to your version of Outlook. The Outlook 2010 and Outlook 2007 hotfix updates are described in the following Microsoft Knowledge Base articles:

Outlook 2010

2479436 Description of the Outlook 2010 hotfix package (outlook-x-none): December 13, 2010

Outlook 2007

2458611 Description of the Office Outlook 2007 hotfix package (Outlook-x-none.msp): December 14, 2010

If you previously used the methods described in the Workaround section below, you can undo those changes after installing the hotfix.

Workaround 

Note After you install the hotfix described above, you do not need to perform the following steps. The information below is only provided as a reference. If you previously used the methods described below, you can undo those changes after installed the hotfix described above.

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756  How to back up and restore the registry in Windows

To work around this problem, you can disable the add-in that is causing the error.

Method 1: Disable the add-in

To work around this problem by disabling the add-in in Outlook 2010, follow these steps:

  1. Open the Outlook Options dialog box. To do this, click the File tab, and then click Options
  2. In the navigation pane, click Add-ins.
  3. At the bottom of the details pane, make sure that COM Add-ins is selected in the Manage list, and then click Go.
  4. In the COM Add-ins dialog box, click to clear the check box for any third-party or other custom add-ins that are installed.

To disable an add-in in Outlook 2007, follow these step

  1. Open the Trust Center dialog box. To do this, click the Tools menu, and then click Trust Center.
  2. In the navigation pane, click Add-ins.
  3. At the bottom of the details pane, make sure that COM Add-ins is selected in the Manage list, and then click Go.
  4. In the COM Add-ins dialog box, click to clear the check box for any third-party or other custom add-ins that are installed.

Method 2: Modify the registry

To work around this problem by modifying the registry, follow these steps.

Note You should remove these registry values after you install any update of the add-in or the hotfix described at the top of this Resolution section.

Outlook 2010

On an Outlook 2010 client, use one of the following methods.

  • To control the shutdown behavior of the OutlookChangeNotifierAddin add-in or of another add-in, follow these steps:
    1. Start Registry Editor.
    2. Locate the following subkey:
         HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Addins\<progID>
    3. In this subkey, add the following DWORD value:
         RequireShutdownNotification
    4. In the details pane, right-click the new value, and then click Modify.
    5. In the Value data box, type 1.

Note In this registry subkey, progID represents the programmatic identifier for the OutlookChangeNotifierAddin add-in.

For more information about this value, visit the following MSDN website:

   http://msdn.microsoft.com/en-us/library/aa911706.aspx

  • To control the shutdown behavior of all add-ins, follow these steps:
    1. Start Registry Editor.
    2. On the client computer, locate the following subkey:
         HKEY_CURRENT_USER\Software\Microsoft\Office\<version number>\Outlook\Options\Shutdown
    3. In this subkey, add the following DWORD value:
         AddinFastShutdownBehavior
      In the details pane, right-click the new value, and then click Modify
    4. In the Value data box, type 1.

For more information about this registry value, visit the following MSDN website:

   http://msdn.microsoft.com/en-us/library/ee720183(office.14).aspx

  • To completely disable Fast Shutdown, follow these steps:
    1. Start Registry Editor.
    2. Locate the following subkey:
         HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Options\Shutdown
    3. In this subkey, add the following DWORD value:
         FastShutdownBehavior
    4. In the details pane, right-click the new value, and then click Modify.
    5. In the Value data box, type 2.

For more information about this registry value, visit the following MSDN website:

   http://msdn.microsoft.com/en-us/library/dd941316(office.14).aspx

Outlook 2007

On an Outlook 2007 Service Pack 2 (SP2) client, use the following method:

  • To completely disable Fast Shutdown, follow these steps:
    1. Start Registry Editor.
    2. Locate the following subkey:
         HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Options\Shutdown
    3. In this subkey, add the following DWORD value:
         DisableFastShutdown 
    4. In the details pane, right-click the new value, and then click Modify.
    5. In the Value data box, type 1.
    For more information about this registry value, visit the following MSDN blog website: 
       http://blogs.msdn.com/b/stephen_griffin/archive/2009/03/03/fastest-shutdown-in-the-west.aspx

    Note In this procedure, you may have to disable the shutdown code that is related to external COM references. To do this, follow these steps:
    1. Start Registry Editor.
    2. Locate the following subkey:
         HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Options\Shutdown
    3. In this subkey, add the following DWORD value:
         AllowShutdownWithExternalReferences 
    4. In the details pane, right-click the new value, and then click Modify.
    5. In the Value data box, type 0.

    For more information about this registry value, visit the following MSDN website:

       http://msdn.microsoft.com/en-us/library/dd239276.aspx

APPLIES TO
  • Microsoft Office Outlook 2007
  • Microsoft Outlook 2010
Keywords: 
KB2449281
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support