locked
Error starting CRM 2011 Configuration Wizard RRS feed

  • Frage

  • Hi All

    I'm facing a problem with CRM 2011 Configuration Wizard in an op premise environment. 

    Error message:

    There is a problem communicating with the Microsoft Dynamics CRM server.  The server might be unavailable. Try again later. If the problem persists, contact your system administrator.

    Details and log File shows additional information:

     Info| Outlook Profile contains organizationid: {...}, mapi serviceid: {...}
    Error| Exception: An item with the sam key has already been added.
      at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
      at System.Collections.Generic.Dictionary'2.Insert(TKey key, TValue value, Boolean add)
      at Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstall...
      at Microsoft.Crm.Application.Outlook.Config.ConfigInfo..ctor()
      at Microsoft.CRM.Application.Outloo.Config.MainForm..ctor()
      at Microsoft.Crm.Application.Outlook.Config.ClientConfig.AddDeployment_FullUI(Boolean runInsideOutlook)
      at Microsoft.Crm.Application.Outlook.Config.ClientConfig.Run(Boolean runInsideOutlook)
      at Microsoft.Crm.Application.Outlook.Config.ClientConfig.Start(String[] args, Boolean runInsideOutlook)

    Server and Client are installed starting with installation including RU6 and RU12.

    After client software is installed (Windows 7 x64, Outlook 2007 x86) using admin credentials, I logon to the client computer using a "normal" user account (no admin priviledges).  To configure the client the following command ist used:

    "C:\Program File (x86)\Microsoft Dynamics CRM\Client\ConfigWizard\Microsoft.Crm.Application.Outlook.ConfigWizard.exe" /q /xa /i "C:\Install\ClientConfig.xml" /l "C:\Install\ClientConfig.log"

    The file ClientConfig.xml contains the following lines:

    <Deployments>
         <Deployment>
              <DiscoveryUrl>http://FQDN:5555<DiscoveryUrl>
              <Organizations>
                  <Organization IsPrimary='true'>OrgName</Organization>
              </Organizations>
         <Deployment>
    </Deployments>

    The client computer gets configured and works well.  Also starting the Configuration Wiizards wirks fine.

    Than I open the Configuration Wizard, delete the configured organization and close the wizard.  Starting the wizard one more time shows no organization configured (as expected). Using Add button to add the same organization (copying the DiscoveryUrl information from the XML file, the organization gets filled automatic after test connection) adds the organization successfully.

    Starting Outlook connects to CRM and everything works fine.

    So far so good.  But now it starts getting strange (at least for me).  After closing Outlook (making sure there is really no outlook service running anymore) I rerun the command for automatic configuration one more time (the one from the binning).  There is no error mesage poping up or even in the log file.  Starting Outlook everything works fine.  Closing Outlook and trying to start the configuration wizard shows the error message mentioned.

    This makes absolutely no sense to me.

    I deleted the CRM registry keys in HKCU and the MSCRM folders in the users Profile (local and Roaming).  Tried to run the wizard again with no success.

    Logging on to the same client computer with a different user account and running the same command works perfekt.

    Any idea how to fix that?

    Thanks for your helf.

    Donnerstag, 4. April 2013 16:29

Antworten

  • Hi,

    thank you for visiting the german speaking Dynamics CRM Forum.

    You can post your english written question in the appropriate US Forum: http://social.msdn.microsoft.com/Forums/en-US/crm

    Thank you,
    Jürgen


    Jürgen Beck

    Dipl. Kfm./Wirtschaftsinformatik
    MVP, MCSD.NET, MCITP DBA, MCDBA, MCSE
    Microsoft Certified Business Management Solutions Professional
    Microsoft Certified CRM Developer
    Microsoft Certified Trainer

    ComBeck IT Services & Business Solutions
    Microsoft Gold Certified Partner
    Microsoft Small Business Specialist

    Developing & Supporting Business Applications from small business to big enterprises covering scores of sectors

    http://www.combeck.de

    Donnerstag, 4. April 2013 16:46
    Moderator