locked
Error With Outlook Client Configuration RRS feed

  • Question

  • Hi,

    Thanks for your help in advance

    We are facing this issue when trying to configure Outlook client for our Organization.

    ---------------------------

    Microsoft Dynamics CRM for Outlook
    ---------------------------
    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.
    ---------------------------
    OK   
    ---------------------------

    We have checked the Client Server Time/Time-zone, Connectivity etc, all is just fine.

    Our Observation is that the Configuration wizard configues the Client for an organization on the same Server that does not contain our customization/solutions, but as soon as we import the solution, we start getting this error. What could be causing this error?

    Attached is the Configuration Wizard's Log File.

    11:53:12|   Info| === Microsoft Dynamics CRM for Outlook Configuration Wizard logging started: 30/05/2012 11:53:12 ===
    11:53:12|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ClientConfig.Initialize
    11:53:12|   Info| Client Configuration Wizard Version      : 5.0.9690.2243
    11:53:12|   Info| Client Configuration Wizard LanguageID   : 1033
    11:53:12|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.Validator.IsOutlookInitialized
    11:53:12|   Info| Query all rows in profile table
    11:53:12|   Info| Outlook is  initialized
    11:53:12|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.Validator.IsOutlookInitialized
    11:53:12|   Info| Client Configuration Wizard Running Mode : Normal
    11:53:12|   Info| Configuration file Type : OnPremise.
    11:53:12|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.MainForm.MainForm
    11:53:12|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.ConfigInfo
    11:53:12|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetAvailableServiceIds
    11:53:13|   Info| Logon mapi store
    11:53:13|   Info| Logon admin service
    11:53:13|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds
    11:53:13|   Info| Query all rows in msg service table
    11:53:13|   Info| Adding service id : {9d510306-1667-497d-a4a6-58acf3bd7d4d}
    11:53:13|   Info| Adding service id : {186db300-7548-49c0-9210-5efe00304bff}
    11:53:13|   Info| Adding service id : {716f929d-27e5-4f13-b720-a212c42d9380}
    11:53:13|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds
    11:53:14|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.RemoveOrphanDatastoreIfNeeded
    11:53:14|   Info| Logon mapi store
    11:53:14|   Info| Logon admin service
    11:53:14|   Info| Query crm msg services in msg service table.
    11:53:20|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.RemoveOrphanDatastoreIfNeeded
    11:53:20|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.ConfigInfo
    11:53:20|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.MainForm.MainForm
    11:53:20|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.MainForm.MainForm_Shown
    11:53:20|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.MainForm.AddServer
    11:53:20|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.ServerForm
    11:53:20|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.ServerForm
    11:53:20|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.SetUIData
    11:53:20|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadAvailableUrls
    11:53:20|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadAvailableUrls
    11:53:20|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.SetUIData
    11:53:26|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm._testConnectionButton_Click
    11:53:26|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
    11:53:26|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
    11:53:26|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm._testConnectionButton_Click
    11:53:35|   Info| Fill organization comboBox with server information.
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm._okButton_Click
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm._okButton_Click
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.Execute
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.GetActionList
    11:53:42|   Info| Action type : Add.
    11:53:42|   Info| Add GlobalRepositoryConfigurator.
    11:53:42|   Info| Add AddinConfigurator.
    11:53:42|   Info| Add OrganizationRepositoryConfigurator.
    11:53:42|   Info| Add PrimaryConfigurator.
    11:53:42|   Info| Add OutlookConfigurator.
    11:53:42|   Info| Add FinalConfiguratorConfigurator.
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.GetActionList
    11:53:42|   Info| Get action list.
    11:53:42|   Info| Get action total progress : 55.
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.GetActionEntry
    11:53:42|   Info| Action command type : Add.
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.Configure
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.Configure
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator+DeleteUserApplicationFilesAction.DeleteUserApplicationFilesAction
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator+DeleteUserApplicationFilesAction.DeleteUserApplicationFilesAction
    11:53:42|   Info| Deleted user application files.
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetConfigurationRegistryValuesAction
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetClientRegistryDefaultSettings
    11:53:42|   Info| Copied registry values created by setup in HKLM to HKCU on configuration
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetClientRegistryDefaultSettings
    11:53:42|   Info| Set default settings to client configuration.
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetLaptopClientRegistryValues
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.GetAspDotNetPath
    11:53:42|   Info| ASP Net version key name : Software\Microsoft\ASP.NET\4.0.30319.0
    11:53:42|   Info| ASP Net install path : C:\Windows\Microsoft.NET\Framework\v4.0.30319\
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.GetAspDotNetPath
    11:53:42|   Info| Created Crm allow list key.
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetLaptopClientRegistryValues
    11:53:42|   Info| Set laptop client registry key values.
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetPlatformRootAction
    11:53:42|   Info| No extended chars in http://crm.ymsli.com/YMI/XRMServices/2011/Organization.svc were found. No need for short naming.
    11:53:42|   Info| Set platform root registry keys.
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetPlatformRootAction
    11:53:42|   Info| Set platform root key value.
    11:53:42|   Info| Set user id registry key.
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetConfigurationRegistryValuesAction
    11:53:42|   Info| Set configuration registry key values.
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.AddSQMRegkeysAndDirectory
    11:53:42|   Info| Added SQM registry keys.
    11:53:42|   Info| Added SQM queue directory.
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.AddSQMRegkeysAndDirectory
    11:53:42|   Info| Added SQM registry key values and directory.
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.Configure
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.Configure
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.SetCrmRibbonAddinRegistryValuesAction
    11:53:42|   Info| Enabled the crm ribbon addin keys under Software\Microsoft\Office\Outlook\Addins\crmaddin.RibbonAddin
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveCrmAddinOfficeResiliencyRegValuesAction
    11:53:42|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    11:53:42|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    11:53:42|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveCrmAddinOfficeResiliencyRegValuesAction
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.SetCrmRibbonAddinRegistryValuesAction
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.SetFixedRegistryValuesAction
    11:53:42|   Info| Registered the form region for IPM.Note in Office registry hive.
    11:53:42|   Info| Registered the form region for IPM.Appointment in Office registry hive.
    11:53:42|   Info| Registered the form region for CRM.Task in Office registry hive.
    11:53:42|   Info| Registered the form region for CRM.Contact in Office registry hive.
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.SetFixedRegistryValuesAction
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.CreateIntegrationKey
    11:53:42|   Info| Created Crm integrate key.
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.CreateIntegrationKey
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.Configure
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.Configure
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.SetContextValues
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.SetContextValues
    11:53:42|   Info| Set org-based registry values.
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.Configure
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.PrimaryConfigurator.Configure
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.PrimaryConfigurator.SetPrimaryContextValues
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.PrimaryConfigurator.SetPrimaryContextValues
    11:53:42|   Info| Set Primary Org values.
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.PrimaryConfigurator.Configure
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookConfigurator.Configure
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.DeleteV4CrmDatastore
    11:53:42|   Info| Logon mapi store
    11:53:42|   Info| Logon admin service
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetCrmStoreServiceId
    11:53:42|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds
    11:53:42|   Info| Query all rows in msg service table
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds
    11:53:42|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetCrmStoreServiceId
    11:53:44|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.DeleteV4CrmDatastore
    11:53:44|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookConfigurator.InitializeMapiStoreForFirstTime
    11:53:50|  Error| Exception : The given key was not present in the dictionary.    at Microsoft.Crm.MapiStore.DataStore.WaitInitialized()
       at Microsoft.Crm.Application.Outlook.Config.OutlookConfigurator.InitializeMapiStoreForFirstTime()
       at Microsoft.Crm.Application.Outlook.Config.OutlookConfigurator.Configure(IProgressEventHandler progressEventHandler)
       at Microsoft.Crm.Application.Outlook.Config.ConfigEngine.Configure(Object stateInfo)
    11:53:52|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookConfigurator.Unconfigure
    11:53:52|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookConfigurator.Unconfigure
    11:53:52|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.Unconfigure
    11:53:52|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.RemoveContextValues
    11:53:52|   Info| Delete org-based registry keys.
    11:53:52|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.RemoveContextValues
    11:53:52|   Info| Remove org-based registry values.
    11:53:52|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.Unconfigure
    11:53:52|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.Unconfigure
    11:53:52|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveFixedRegistryValuesAction
    11:53:52|   Info| Removed the form region for IPM.Note in Office registry hive.
    11:53:52|   Info| Removed the form region for IPM.Appointment in Office registry hive.
    11:53:52|   Info| Removed the form region for CRM.Task in Office registry hive.
    11:53:52|   Info| Removed the form region for CRM.Contact in Office registry hive.
    11:53:52|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveFixedRegistryValuesAction
    11:53:52|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveIntegrationKey
    11:53:52|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveIntegrationKey
    11:53:52|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveCrmRibbonAddinRegistryValuesAction
    11:53:52|   Info| Removed the crm ribbon addin keys under Software\Microsoft\Office\Outlook\Addins\crmaddin.RibbonAddin
    11:53:52|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveCrmAddinOfficeResiliencyRegValuesAction
    11:53:52|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    11:53:52|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    11:53:52|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    11:53:52|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveCrmAddinOfficeResiliencyRegValuesAction
    11:53:52|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveCrmRibbonAddinRegistryValuesAction
    11:53:52|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.Unconfigure
    11:53:52|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.Unconfigure
    11:53:52|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.StopApplicationHosterAction
    11:53:52|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.StopApplicationHosterAction
    11:53:52|   Info| Stopped application hoster.
    11:53:52|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveApplicationhosterSettings
    11:53:52|   Info| Deleted Application hoster registry value.
    11:53:52|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveApplicationhosterSettings
    11:53:52|   Info| Removed application hoster settings.
    11:53:52|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator+DeleteUserApplicationFilesAction.DeleteUserApplicationFilesAction
    11:53:52|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator+DeleteUserApplicationFilesAction.DeleteUserApplicationFilesAction
    11:53:52|   Info| Deleted user application files.
    11:53:52|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveSQMRegkeysAndDirectory
    11:53:52|   Info| Removed SQM registry keys.
    11:53:52|   Info| Removed SQM queue directory.
    11:53:52|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveSQMRegkeysAndDirectory
    11:53:52|   Info| Removed SQM registry key values and directory.
    11:53:52|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveConfigurationRegistryValuesAction
    11:53:52|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveLaptopClientRegistryValues
    11:53:52|   Info| Deleted Crm allow list key.
    11:53:52|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveLaptopClientRegistryValues
    11:53:52|   Info| Removed Laptop client registry keys.
    11:53:52|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveConfigurationRegistryValuesAction
    11:53:52|   Info| Removed Crm client registry keys.
    11:53:52|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.Unconfigure
    11:53:52|  Error| Failed to configure Microsoft Dynamics CRM for Outlook with India Yamaha Motor.
    11:53:52|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.Configure
    11:53:52|  Error| Exception : Cannot configure the organization for Microsoft Dynamics CRM for Outlook. Try to configure the organization again. If the problem persists, contact your system administrator.    at Microsoft.Crm.Application.Outlook.Config.ConfigEngine.Execute(ActionCommand command, ServerInfo serverInfo)
       at Microsoft.Crm.Application.Outlook.Config.ServerForm.<InitializeBackgroundWorkers>b__3(Object sender, RunWorkerCompletedEventArgs e)


    Wednesday, May 30, 2012 5:48 PM

All replies

  • Some people have run into a similar error when their customizations also include the sitemap. So you might try using the default sitemap if you have made changes. 

    Jason Lattimer

    Wednesday, May 30, 2012 6:17 PM
    Moderator
  • Already Tried that but to no avail. It still throws the same error
    Wednesday, May 30, 2012 6:34 PM