locked
Dynamics CRM 2011 Outlook Client user configuration not loading RRS feed

  • Question

  • We have configured about 150 users using the Dynamics CRM 2011 Outlook Client configuration wizard in a Terminal Server environment, and tested the configuration afterwards by logging off and logging in with the specific user accounts. All worked fine at that time. After some time (a day or a few days) for a few users the Outlook configuration is not working anymore. The users don't see the CRM tab on the Ribbon and the Organization name on the left side also is not showing up. We have tried to reconfigure the Outlook settings for some user's, however after a few days their Dynamics CRM 2011 Outlook client doesn't work again.  In the Event Viewer the following error is logged:

    Source: MSCRMAddin, Event ID 5904 Description: The Microsoft CRM Outlook add-in was not initialized because Microsoft Outlook was started under a profile for which Microsoft CRM was not installed.  Restart Microsoft Outlook under an appropriate profile, or install Microsoft CRM for the current profile. HR=0x0. Context=CStateEngine. Function=CInitializeState::Initialize. Line=60.

    Some resources on the internet say that this occurs because the user logged in is not configured in the Outlook Dynamics CRM 2011 client, however we configured each user specifically.

    Also the following trace is logged

    # CRM Tracing Version 1.1 Unmanaged
    # LocalTime: 2014-07-08 10:39:36.397
    # Categories: *:Verbose
    # Schedule: No registry key - using default value: Daily
    # ComputerName: SERVER03
    # CRMVersion: 5.0.9690.4150
    [2014-07-08 10:39:36.397] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Error | IsMSCRMProfile File: c:\bt\32691\src\application\outlook\addin\common.cpp Line: 2072
    >hr = 0x80004005
    [2014-07-08 10:39:36.397] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Warning | hr = 0x0. CStateEngine Function: CInitializeState::Initialize File: c:\bt\32691\src\application\outlook\addin\initializestate.cpp Line: 60
    [2014-07-08 10:39:36.397] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Error | CInitializeState::ExecuteEx File: c:\bt\32691\src\application\outlook\addin\initializestate.cpp Line: 36
    >hr = 0x80004005
    [2014-07-08 10:39:36.397] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Error | Initialize State execution failed Function: CInitializeState::ExecuteEx File: c:\bt\32691\src\application\outlook\addin\initializestate.cpp Line: 38
    [2014-07-08 10:39:36.397] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Error | StateManagerSpy: 'Initialize' State execution FAILED. OrganizationName='CRM', OrganizationId='{191A0559-652F-4C5F-A5BC-A81B9290E47A}' Function: CStateEngine::Execute File: c:\bt\32691\src\application\outlook\addin\stateengine.cpp Line: 85
    [2014-07-08 10:39:36.397] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Info | StateManagerSpy: 'Disable' State is going to execute. OrganizationName='CRM', OrganizationId='{191A0559-652F-4C5F-A5BC-A81B9290E47A}' Function: CStateEngine::Execute File: c:\bt\32691\src\application\outlook\addin\stateengine.cpp Line: 73
    [2014-07-08 10:39:36.397] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Info | Reading registry key 0B1A001A-9351-43d0-A6C0-44A8D711E020 failed Function: FReadDWORDRegKeyValue File: c:\bt\32691\src\application\outlook\addin\..\Common\utility.h Line: 220
    [2014-07-08 10:39:36.647] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Info | Reading registry key MSCRMStoreId failed Function: FReadWzRegKeyValue File: c:\bt\32691\src\application\outlook\addin\..\Common\utility.h Line: 309
    [2014-07-08 10:39:36.647] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Info | IRibbonUI::InvalidateRibbonControl('(null)') Function: RibbonManager::InvalidateRibbonControl File: c:\bt\32691\src\application\outlook\addin\ribbonmanager.cpp Line: 61
    [2014-07-08 10:39:36.647] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Info | StateManagerSpy: 'Disable' State execution SUCCEED.OrganizationName='CRM', OrganizationId='{191A0559-652F-4C5F-A5BC-A81B9290E47A}' Function: CStateEngine::Execute File: c:\bt\32691\src\application\outlook\addin\stateengine.cpp Line: 83
    [2014-07-08 10:39:36.663] Process:OUTLOOK |Thread:16812 |Category: Unmanaged.Platform |User: PlatformUser |Level: Error | CAddin::raw_GetCustomUIInternal File: c:\bt\32691\src\application\outlook\addin\ribboncallbacks.h Line: 83
    >hr = 0x80040216
    [2014-07-08 10:39:36.663] Process:OUTLOOK |Thread:16812 |Category: Unmanaged.Platform |User: PlatformUser |Level: Error | Error getting the RibbonX from OutlookInstance::LoadExplorerRibbonXml. Function: CAddin::raw_GetCustomUIInternal File: c:\bt\32691\src\application\outlook\addin\ribboncallbacks.h Line: 86
    [2014-07-08 10:39:36.663] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Info | Value of bInitialized 0 Function: CAddinStateManager::HrClientInitMutex File: c:\bt\32691\src\application\outlook\addin\addinstatemanager.cpp Line: 448
    [2014-07-08 10:39:36.663] Process:OUTLOOK |Thread:9080 |Category: Unmanaged.Platform |User: PlatformUser |Level: Info | Reading registry key 0B1A001A-9351-43d0-A6C0-44A8D711E020 failed Function: FReadDWORDRegKeyValue File: c:\bt\32691\src\application\outlook\addin\..\Common\utility.h Line: 220
    [2014-07-08 10:39:43.46] Process:OUTLOOK |Thread:16812 |Category: Unmanaged.Platform |User: PlatformUser |Level: Info | Event ExplorerEvents::Shutdown received. Function: CExplorerEventsRoot::Shutdown File: c:\bt\32691\src\application\outlook\addin\explorerevents.cpp Line: 77
    [2014-07-08 10:39:43.46] Process:OUTLOOK |Thread:16812 |Category: Unmanaged.Platform |User: PlatformUser |Level: Info | Event ExplorerEvents::Shutdown received. Function: CExplorerEventsRoot::Shutdown File: c:\bt\32691\src\application\outlook\addin\explorerevents.cpp Line: 77

    After reconfiguring the settings with the ConfigWizard the users can use Dynamics CRM again but that means we have to reconfigure a lot of users again when they already are configured in the past and it is not certain if they keep working in the future. Preferably we would like to find a solution for the problem at hand and use the current configuration without changing it. Has anyone had this problem before and found a solution? Could you give us some tips on where to look to solve this problem?

    Thanks in advance

    Thursday, July 10, 2014 8:47 AM

All replies

  • when i had some users to reconfigure again everytime i have used a logonscript which runs the clientconfig everytime a user logs on..did you already checked this article also?https://community.dynamics.com/crm/b/dynamicscrmsupportblog/archive/2012/12/05/crm-for-outlook-client-add-in-disabled.aspx


    gruss Daniel Ovadia MBSS - Microsoft Dynamics CRM MCNPS

    Thursday, July 10, 2014 11:57 AM
  • Hi

    I have read the URL you posted, however the Addin is enabled, in the addin Outlook settings as well as the registry.

    Running a clientconfig sounds like something to try, however the user must put in it's password in the Windows Vault which we don't like to do. Is there a way of configuring Dynamics CRM 2011 Outlook client automatically without having users enter their passwords?

    Thanks for further replies

    • Proposed as answer by Daniel Ovadia Monday, March 2, 2015 3:05 PM
    Thursday, July 10, 2014 12:42 PM