locked
Not able to configure outlook client 2015 RRS feed

  • Question

  • I got the following error while adding the online organization with ms crm 2015 outlook client.

    14:29:19|   Info| === Microsoft Dynamics CRM for Outlook Configuration Wizard logging started: 5/15/2015 2:29:19 PM ===
    14:29:19|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ClientConfig.Initialize
    14:29:19|   Info| Client Configuration Wizard Version      : 7.0.0000.3543
    14:29:19|   Info| Client Configuration Wizard LanguageID   : 1033
    14:29:19|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.Validator.IsOutlookInitialized
    14:29:19|   Info| Query all rows in profile table
    14:29:19|   Info| Outlook is  initialized
    14:29:19|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.Validator.IsOutlookInitialized
    14:29:19|   Info| Client Configuration Wizard Running Mode : ReducedUI
    14:29:19|Warning| Client configuration failed with the exception : Cannot start the Microsoft Dynamics CRM for Outlook Configuration Wizard because the configuration file C:\Program Files (x86)\Microsoft Dynamics CRM\Default_Client_Config.xml is not valid. Contact your system administrator.    at Microsoft.Crm.Application.Outlook.Config.CommandLineArgs.ParseConfigFile(String configFileName, Deployments& deployments)
       at Microsoft.Crm.Application.Outlook.Config.ClientConfig.ParseDefaultConfigFile(Deployments& deployments)
       at Microsoft.Crm.Application.Outlook.Config.ClientConfig.AddDeployment_ReducedUI()
       at Microsoft.Crm.Application.Outlook.Config.ClientConfig.Run(Boolean runInsideOutlook)
    14:29:19|   Info| Configuration file Type : OnPremise.
    14:29:19|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.ConfigInfo
    14:29:19|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetAllCRMOrgsInOutlookProfile
    14:29:19|   Info| Logon mapi store
    14:29:19|   Info| Logon admin service
    14:29:19|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds
    14:29:19|   Info| Query all rows in msg service table
    14:29:19|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds
    14:29:19|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.CleanUpDatastoreIfNeeded
    14:29:19|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.CleanUpDatastoreIfNeeded
    14:29:19|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.ConfigInfo
    14:29:19|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.ServerForm
    14:29:19|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.ServerForm
    14:29:19|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.SetUIData
    14:29:19|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadAvailableUrls
    14:29:19|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadAvailableUrls
    14:29:19|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.SetUIData
    14:29:32|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click
    14:29:32|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
    14:29:32|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
    14:29:32|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click
    14:29:32|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics
    14:29:32|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)
    14:29:32|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal
    14:29:32|   Info| Current UTC date/time from fareast.corp.microsoft.com: 05/15/2015 08:59:32
    14:29:32|   Info| NetApiStatus for NetApiBufferFree: 0
    14:29:32|   Info| Client UTC Date/Time: 05/15/2015 08:59:32
    14:29:32|   Info| Difference (in minutes) between client time and actual time: 0.000113906666666667
    14:29:32|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal
    14:29:32|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)
    14:29:32|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics
    14:30:13|   Info| Error connecting to URL: {0} Exception: {1}| https://disco.crm.dynamics.com/XRMServices/2011/Discovery.svc, System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer authorization_uri=https://login.windows.net/common/oauth2/authorize, resource_id=https://disco.crm.dynamics.com/'. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
       at System.Net.HttpWebRequest.GetResponse()
       at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
       --- End of inner exception stack trace ---

    Server stack trace: 
       at System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, WebException responseException, HttpChannelFactory`1 factory)
       at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
       at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
       at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.Xrm.Sdk.Discovery.IDiscoveryService.Execute(DiscoveryRequest request)
       at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.<>c__DisplayClass1.<ExecuteCore>b__0()
       at Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient`1.ExecuteAction[TResult](Func`1 action)
       at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.ExecuteCore(DiscoveryRequest request)
       at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.Execute(DiscoveryRequest request)
       at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.RequestOrganizationDetailsFromDiscovery(IDiscoveryService proxy, EndpointAccessType endpointAccessType)
       at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.LoadOrganizationsInternal(AuthUIMode uiMode, Control parentWindow)
       at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow, IClientAuthProvider`1 authenticatedProvider)
       at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.InternalLoadOrganizations(DataCollection`1 orgs, AuthUIMode uiMode, Control parentWindow)
    14:30:13|   Info| Error connecting to URL: {0} Exception: {1}| https://disco.crm4.dynamics.com/XRMServices/2011/Discovery.svc, System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer authorization_uri=https://login.windows.net/common/oauth2/authorize, resource_id=https://disco.crm4.dynamics.com/'. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
       at System.Net.HttpWebRequest.GetResponse()
       at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
       --- End of inner exception stack trace ---

    Server stack trace: 
       at System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, WebException responseException, HttpChannelFactory`1 factory)
       at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
       at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
       at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.Xrm.Sdk.Discovery.IDiscoveryService.Execute(DiscoveryRequest request)
       at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.<>c__DisplayClass1.<ExecuteCore>b__0()
       at Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient`1.ExecuteAction[TResult](Func`1 action)
       at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.ExecuteCore(DiscoveryRequest request)
       at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.Execute(DiscoveryRequest request)
       at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.RequestOrganizationDetailsFromDiscovery(IDiscoveryService proxy, EndpointAccessType endpointAccessType)
       at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.LoadOrganizationsInternal(AuthUIMode uiMode, Control parentWindow)
       at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow, IClientAuthProvider`1 authenticatedProvider)
       at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.InternalLoadOrganizations(DataCollection`1 orgs, AuthUIMode uiMode, Control parentWindow)
    14:30:14|   Info| Fill organization comboBox with server information.
    14:30:14|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm._okButton_Click
    14:30:14|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm._okButton_Click
    14:30:23|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerInfo.RunServerDiagnostics
    14:30:23|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(CrmServer)
    14:30:23|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.UserLicenseDiagnostic.ExecuteInternal
    14:30:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.UserLicenseDiagnostic.ExecuteInternal
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.ClientCompatibilityDiagnostic.ExecuteInternal
    14:30:24|   Info| Client Compatibility result: 0
    14:30:24|   Info| Client is compatible with the server
    14:30:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.ClientCompatibilityDiagnostic.ExecuteInternal
    14:30:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(CrmServer)
    14:30:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerInfo.RunServerDiagnostics
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.Execute
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.GetActionList
    14:30:24|   Info| Action type : Add.
    14:30:24|   Info| Add GlobalRepositoryConfigurator.
    14:30:24|   Info| Add AddinConfigurator.
    14:30:24|   Info| Add OrganizationRepositoryConfigurator.
    14:30:24|   Info| Add PrimaryConfigurator.
    14:30:24|   Info| Add OutlookConfigurator.
    14:30:24|   Info| Add FinalConfiguratorConfigurator.
    14:30:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.GetActionList
    14:30:24|   Info| Get action list.
    14:30:24|   Info| Get action total progress : 55.
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.GetActionEntry
    14:30:24|   Info| Action command type : Add.
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.Configure
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.Configure
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator+DeleteUserApplicationFilesAction.DeleteUserApplicationFilesAction
    14:30:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator+DeleteUserApplicationFilesAction.DeleteUserApplicationFilesAction
    14:30:24|   Info| Deleted user application files.
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetConfigurationRegistryValuesAction
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetClientRegistryDefaultSettings
    14:30:24|   Info| Copied registry values created by setup in HKLM to HKCU on configuration
    14:30:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetClientRegistryDefaultSettings
    14:30:24|   Info| Set default settings to client configuration.
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetLaptopClientRegistryValues
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.GetAspDotNetPath
    14:30:24|   Info| ASP Net version key name : Software\Microsoft\ASP.NET\4.0.30319.0
    14:30:24|   Info| ASP Net install path : C:\windows\Microsoft.NET\Framework\v4.0.30319\
    14:30:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.GetAspDotNetPath
    14:30:24|   Info| Created Crm allow list key.
    14:30:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetLaptopClientRegistryValues
    14:30:24|   Info| Set laptop client registry key values.
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetPlatformRootAction
    14:30:24|   Info| No extended chars in https://rolebasedview.api.crm5.dynamics.com/XRMServices/2011/Organization.svc were found. No need for short naming.
    14:30:24|   Info| Set platform root registry keys.
    14:30:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetPlatformRootAction
    14:30:24|   Info| Set platform root key value.
    14:30:24|   Info| Set user id registry key.
    14:30:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.SetConfigurationRegistryValuesAction
    14:30:24|   Info| Set configuration registry key values.
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.AddSQMRegkeysAndDirectory
    14:30:24|   Info| Added SQM registry keys.
    14:30:24|   Info| Added SQM queue directory.
    14:30:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.AddSQMRegkeysAndDirectory
    14:30:24|   Info| Added SQM registry key values and directory.
    14:30:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.Configure
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.Configure
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.SetCrmRibbonAddinRegistryValuesAction
    14:30:24|   Info| Enabled the crm ribbon addin keys under Software\Microsoft\Office\Outlook\Addins\crmaddin.RibbonAddin
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveCrmAddinOfficeResiliencyRegValuesAction
    14:30:24|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    14:30:24|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    14:30:24|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    14:30:24|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    14:30:24|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    14:30:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveCrmAddinOfficeResiliencyRegValuesAction
    14:30:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.SetCrmRibbonAddinRegistryValuesAction
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.SetFixedRegistryValuesAction
    14:30:24|   Info| Registered the form region for IPM.Note in Office registry hive.
    14:30:24|   Info| Registered the form region for IPM.Appointment in Office registry hive.
    14:30:24|   Info| Registered the form region for CRM.Task in Office registry hive.
    14:30:24|   Info| Registered the form region for CRM.Contact in Office registry hive.
    14:30:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.SetFixedRegistryValuesAction
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.CreateIntegrationKey
    14:30:24|   Info| Created Crm integrate key.
    14:30:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.CreateIntegrationKey
    14:30:24|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.Configure
    14:30:24|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.Configure
    14:30:25|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.SetContextValues
    14:30:25|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.SetContextValues
    14:30:25|   Info| Set org-based registry values.
    14:30:25|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.Configure
    14:30:25|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.PrimaryConfigurator.Configure
    14:30:25|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.PrimaryConfigurator.SetPrimaryContextValues
    14:30:25|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.PrimaryConfigurator.SetPrimaryOrg
    14:30:25|Verbose| Method entry: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.UpdateMailboxConfigFolder
    14:30:25|Verbose| Method entry: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.OpenMapiSession
    14:30:25|Verbose| Method entry: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.GetCrmOrgMailboxConfigFolder
    14:30:25|Verbose| Method entry: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.OpenTaskFolder
    14:30:25|   Info| A default mailbox is found and opened.
    14:30:25|   Info| Found and opened the default inbox.
    14:30:25|Verbose| Method exit: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.OpenTaskFolder
    14:30:25|Verbose| Method exit: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.GetCrmOrgMailboxConfigFolder
    14:30:25|Verbose| Method entry: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.SetConfigFolderProps
    14:30:25|Verbose| Method exit: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.SetConfigFolderProps
    14:30:25|Verbose| Method exit: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.OpenMapiSession
    14:30:25|Verbose| Method exit: Microsoft.Crm.Application.SMWrappers.MapiConfigHelper.UpdateMailboxConfigFolder
    14:30:25|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.PrimaryConfigurator.SetPrimaryOrg
    14:30:25|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.PrimaryConfigurator.SetPrimaryContextValues
    14:30:25|   Info| Set Primary Org values.
    14:30:25|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.PrimaryConfigurator.Configure
    14:30:25|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookConfigurator.Configure
    14:30:25|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.DeleteV4CrmDatastore
    14:30:25|   Info| Logon mapi store
    14:30:25|   Info| Logon admin service
    14:30:25|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetCrmStoreServiceId
    14:30:25|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds
    14:30:25|   Info| Query all rows in msg service table
    14:30:25|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds
    14:30:25|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetCrmStoreServiceId
    14:30:25|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.DeleteV4CrmDatastore
    14:30:25|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookConfigurator.InitializeMapiStoreForFirstTime
    14:36:10|  Error| Exception : An error has occurred. Try this action again. If the problem continues, check the Microsoft Dynamics CRM Community for solutions or contact your organization's Microsoft Dynamics CRM Administrator. Finally, you can contact Microsoft Support.    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)
    14:36:10|  Error| Exception : Server was unable to process request. 
    15:07:47|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookConfigurator.Unconfigure
    15:07:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookConfigurator.Unconfigure
    15:07:47|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.Unconfigure
    15:07:47|Warning| Error deleting file C:\Users\v-phsekh\AppData\Local\Microsoft\MSCRM\Client\5c880643-b410-4b23-bc91-39b2fedfa8e1False.sdf: The process cannot access the file 'C:\Users\v-phsekh\AppData\Local\Microsoft\MSCRM\Client\5c880643-b410-4b23-bc91-39b2fedfa8e1False.sdf' because it is being used by another process.. Marking it for the deletion upon the reboot.
    15:07:47|Warning| Error deleting file C:\Users\v-phsekh\AppData\Local\Microsoft\MSCRM\Client\MetadataCache-5c880643-b410-4b23-bc91-39b2fedfa8e1.sdf: The process cannot access the file 'C:\Users\v-phsekh\AppData\Local\Microsoft\MSCRM\Client\MetadataCache-5c880643-b410-4b23-bc91-39b2fedfa8e1.sdf' because it is being used by another process.. Marking it for the deletion upon the reboot.
    15:07:47|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.RemoveContextValues
    15:07:47|   Info| Delete org-based registry keys.
    15:07:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.RemoveContextValues
    15:07:47|   Info| Remove org-based registry values.
    15:07:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.Unconfigure
    15:07:47|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.Unconfigure
    15:07:47|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveFixedRegistryValuesAction
    15:07:47|   Info| Removed the form region for IPM.Note in Office registry hive.
    15:07:47|   Info| Removed the form region for IPM.Appointment in Office registry hive.
    15:07:47|   Info| Removed the form region for CRM.Task in Office registry hive.
    15:07:47|   Info| Removed the form region for CRM.Contact in Office registry hive.
    15:07:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveFixedRegistryValuesAction
    15:07:47|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveIntegrationKey
    15:07:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveIntegrationKey
    15:07:47|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveCrmRibbonAddinRegistryValuesAction
    15:07:47|   Info| Removed the crm ribbon addin keys under Software\Microsoft\Office\Outlook\Addins\crmaddin.RibbonAddin
    15:07:47|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveCrmAddinOfficeResiliencyRegValuesAction
    15:07:47|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    15:07:47|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    15:07:47|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    15:07:47|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    15:07:47|   Info| Deleted the resiliency keys under Software\Microsoft\Office
    15:07:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveCrmAddinOfficeResiliencyRegValuesAction
    15:07:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveCrmRibbonAddinRegistryValuesAction
    15:07:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.Unconfigure
    15:07:47|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.Unconfigure
    15:07:47|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.StopApplicationHosterAction
    15:07:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.StopApplicationHosterAction
    15:07:47|   Info| Stopped application hoster.
    15:07:47|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveApplicationhosterSettings
    15:07:47|   Info| Deleted Application hoster registry value.
    15:07:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveApplicationhosterSettings
    15:07:47|   Info| Removed application hoster settings.
    15:07:47|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator+DeleteUserApplicationFilesAction.DeleteUserApplicationFilesAction
    15:07:47|Warning| Error deleting file C:\Users\v-phsekh\AppData\Local\Microsoft\MSCRM\Client\CrmCache.sdf: The process cannot access the file 'C:\Users\v-phsekh\AppData\Local\Microsoft\MSCRM\Client\CrmCache.sdf' because it is being used by another process.. Marking it for the deletion upon the reboot.
    15:07:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator+DeleteUserApplicationFilesAction.DeleteUserApplicationFilesAction
    15:07:47|   Info| Deleted user application files.
    15:07:47|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveSQMRegkeysAndDirectory
    15:07:47|   Info| Removed SQM registry keys.
    15:07:47|   Info| Removed SQM queue directory.
    15:07:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveSQMRegkeysAndDirectory
    15:07:47|   Info| Removed SQM registry key values and directory.
    15:07:47|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveConfigurationRegistryValuesAction
    15:07:47|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveLaptopClientRegistryValues
    15:07:47|   Info| Deleted Crm allow list key.
    15:07:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveLaptopClientRegistryValues
    15:07:47|   Info| Removed Laptop client registry keys.
    15:07:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveConfigurationRegistryValuesAction
    15:07:47|   Info| Removed Crm client registry keys.
    15:07:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.Unconfigure
    15:07:47|  Error| Failed to configure Microsoft Dynamics CRM for Outlook with Rolebaseview.
    15:07:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.Configure
    15:07:47|  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__4(Object sender, RunWorkerCompletedEventArgs e)
    15:07:47|  Error| Exception : Server was unable to process request.    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)

    What could be the reason for this. When I tried to connect the vanilla instance there is no problem. I installed "role based view" an IP in my instance. So I cannot connect to this instance. Any help?


    rajsekhar

    Friday, May 15, 2015 11:35 AM

All replies

  • Hi,

    do you have a solution for this problem?

    Lisa

    Wednesday, February 17, 2016 12:45 PM
  • This is a shot in the dark but try unchecking "Connect automatically with my current credentials" when selecting CRM Online if you haven´t tried it, I recall having that problem once in a ADFS setup.

    Halldór Jóhannsson

    Friday, February 19, 2016 4:24 PM