Microsoft KB Archive/924625

= When you use Outlook or Entourage with an Exchange 2007 mailbox, you cannot connect to Exchange 2007, and you receive an error message =

Article ID: 924625

Article Last Modified on 10/31/2007

-

APPLIES TO


 * Microsoft Office Outlook 2007
 * Microsoft Office Outlook 2003
 * Microsoft Outlook 2002 Standard Edition
 * Microsoft Outlook 2000 Standard Edition
 * Microsoft Entourage X for Mac
 * Microsoft Entourage 2004 for Mac

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
When you start Outlook and you use a profile for a Microsoft Exchange Server 2007 mailbox, you cannot connect to Exchange 2007, and you receive the following error message:

Your Exchange Server administrator has blocked the version of Outlook that you are using. Contact your administrator for assistance.

Additionally, when you start Microsoft Entourage and you use an account for a Microsoft Exchange Server 2007 mailbox, you cannot connect to Exchange 2007, and you receive the following error message:

Entourage cannot connect to the Exchange server. Make sure that your password was entered correctly and try again. (Error:64927)



CAUSE
This behavior occurs when one or more of the following conditions are true:
 * You do not have an existing public folder tree.
 * MAPI is disabled for your mailbox.
 * Encryption is required for the Exchange connection.
 * Cached Exchange Mode is required for your mailbox.
 * RPC/HTTP mode is disabled for your mailbox.
 * Your version of Outlook is specifically blocked by Exchange 2007.



RESOLUTION
To resolve this behavior, use one or more of the following methods, as appropriate for your situation.

Method 1: Create an Exchange 2007 public folder tree
If you do not have an existing public folder tree and you are trying to connect with a Microsoft Office Outlook 2003 or earlier client, you cannot access an Exchange 2007 mailbox. This problem may occur when you delete the last existing public folder store.

Create an Exchange 2007 public folder store. To do this, follow these steps:
 * 1) Click Start, click All Programs, click Microsoft Exchange Server 2007, and then click Exchange Management Console.
 * 2) Expand Server Configuration, and then click Mailbox.
 * 3) Right-click the storage group that you want to modify, and then click New Public Folder Database.
 * 4) Create the public folder database by using the New Public Folder Database wizard.

If you are using an Outlook 2003 client or an earlier verison of an Outlook client, you must restart the Microsoft Exchange Information Store service before you can connect to Exchange 2007.

Method 2: Enable MAPI for your mailbox or use a different method to connect to Exchange 2007
Determine whether MAPI is disabled for your mailbox. To do this, follow these steps:  Click Start, click All Programs, click Microsoft Exchange Server 2007, and then click Exchange Management Shell. Type the following command, and then press ENTER:

Get-CasMailbox  | FL mapienabled

If this command returns False, MAPI is disabled for your mailbox.

If MAPI is disabled for your mailbox, use one of the following methods:  Enable MAPI for your mailbox. To enable MAPI for your mailbox, follow these steps:  Click Start, click All Programs, click Microsoft Exchange Server 2007, and then click Exchange Management Shell. Type the following command, and then press ENTER:

Set-CasMailbox  -mapienabled:$true

</li></ol> </li> Connect to Exchange 2007 by using one of the following methods: <ul> Create an e-mail account in Outlook that uses the Post Office Protocol (POP 3) server type.</li> Create an e-mail account in Outlook that uses the Internet Message Access Protocol (IMAP) server type.</li> Use the Outlook Web Access (OWA) Web client.</li></ul> </li></ul>

Method 3: Enable encryption for the Exchange 2007 connection
 Determine whether an encrypted connection is required for your mailbox. To do this, follow these steps:  Click Start, click All Programs, click Microsoft Exchange Server 2007, and then click Exchange Management Shell.</li> Type the following command, and then press ENTER:

Get-MailboxServer  | FL MAPIEncryptionRequired

If this command returns True, you must connect to Exchange 2007 by using an encrypted profile.</li></ol> </li> Enable encryption for the Exchange 2007 connection. To do this, follow these steps:  Click Start, click Run, type control, and then click OK.</li> Double-click Mail, and then click Show Profiles.</li> Select your profile, and then click Properties.</li> Click E-mail Accounts, select View or Change Existing E-mail Accounts, and then click Next.</li> Select the Exchange account, and then click Change.</li> <li>Click More Settings, and then click the Security tab.</li> <li>Click to select the Encrypt data between Microsoft Office Outlook and Microsoft Exchange Server check box.</li> <li>Click OK, click Next, click Finish, and then click Close.</li></ol> </li></ol>

Method 4: Enable Cached Exchange Mode for your mailbox, or disable the requirement for your mailbox to use Cached Exchange Mode
<ol> <li>Determine whether Cached Exchange Mode is required for your mailbox. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, click All Programs, click Microsoft Exchange Server 2007, and then click Exchange Management Shell.</li> <li>Type the following command, and then press ENTER:

Get-CasMailbox  | FL MAPIBlockOutlookNonCachedMode

If this command returns True, you must connect to Exchange 2007 by using Cached Exchange Mode.</li></ol> </li> <li>Enable Cached Exchange Mode for your mailbox, or disable the requirement for a mailbox to connect to Exchange 2007 by using Cached Exchange Mode. <ul> <li>Enable Cached Exchange Mode for your mailbox. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, click Run, type control, and then click OK.</li> <li>Double-click Mail, and then click Show Profiles.</li> <li>Select your profile, and then click Properties.</li> <li>Click E-mail Accounts, select View or Change Existing E-mail Accounts, and then click Next.</li> <li>Select the Exchange account, and then click Change.</li> <li>Click to select the Use Cached Exchange Mode check box.</li> <li>Click Next, click Finish, and then click Close.</li></ol> </li> <li>Disable the requirement for a mailbox to connect to Exchange 2007 by using Cached Exchange Mode. To do this, follow these steps: <ol> <li>Click Start, click All Programs, click Microsoft Exchange Server 2007, and then click Exchange Management Shell.</li> <li>Type the following command, and then press ENTER:

Set-CasMailbox  -MAPIBlockOutlookNonCachedMode:$false

</li></ol> </li></ul> </li></ol>

Method 5: Enable RPC/HTTP mode for your mailbox
<ol> <li>Determine whether RPC/HTTP mode is disabled for your mailbox. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, click All Programs, click Microsoft Exchange Server 2007, and then click Exchange Management Shell.</li> <li>Type the following command, and then press ENTER:

Get-CasMailbox  | FL MAPIBlockOutlookRpcHttp

If this command returns True, you cannot connect to Exchange 2007 by using RPC/HTTP.</li></ol> </li> <li>Enable RPC/HTTP mode for your mailbox. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, click All Programs, click Microsoft Exchange Server 2007, and then click Exchange Management Shell.</li> <li>Type the following command, and then press ENTER:

Set-CasMailbox  -MAPIBlockOutlookRpcHttp:$false

</li></ol> </li></ol>

Method 6: Unblock your version of Outlook in Exchange 2007
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

A version of Outlook can be blocked in Exchange 2007 in one of the following two ways: <ul> <li>A version of Outlook can be blocked by modifying the registry. For more information about how a version of Outlook is blocked by using the registry, click the following article number to view the article in the Microsoft Knowledge Base:

288894 How to disable MAPI client access to a computer that is running Exchange Server

To unblock a version of Outlook by using the registry, you can modify or remove the registry data that is described in this Knowledge Base article.</li> <li>A version of Outlook can be blocked for a mailbox by using an Exchange Management Shell command that resembles the following command:

Set-CasMailbox  -MAPIBlockOutlookVersions:&quot;-11.8010.8036&quot;

This command blocks any version of Outlook that is earlier than 11.8010.8036.

To unblock a version of Outlook for a mailbox in Exchange 2007, use an Exchange Management Shell command. To do this, follow these steps: <ol> <li>Click Start, click All Programs, click Microsoft Exchange Server 2007, and then click Exchange Management Shell.</li> <li>Type the following command, and then press ENTER:

Set-CasMailbox  -MAPIBlockOutlookVersions:$null

</li></ol> </li></ul>

Additional query words: OL2007 Outlook2007

Keywords: kbtshoot kbprb kbexpertiseinter KB924625

-

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

© Microsoft Corporation. All rights reserved.