locked
CRM 2011 Outlook Configuration Error RRS feed

  • Question

  • upgraded CRM 4 to CRM 2011.

    Users are able to connect CRM 2011 via outlook with the preprouction environment, which is upgraded from PROD enironment only. However, when they are connecting via prod environment, which is identical to pre prod enviornment, some users are not able to connect.

    Does not seem machine specific issue since I can access the CRM for outlook but on the same machine the another user is not able to connect to outlook. so its does not seem a Outlook installation issue.

    got the trace log as follows:

    PS: The URL which is shown as bold in below trace, I can access the URL and got the response as well.

    >Created ABP Subscription with id {4DCAED1E-600C-E211-81D6-0050562027FB}
    [2012-10-03 12:26:10.472] Process:Microsoft.Crm.Application.Outlook.ConfigWizard |Organization:00000000-0000-0000-0000-000000000000 |Thread:   16 |Category: Shared |User: 00000000-0000-0000-0000-000000000000 |Level: Info | DataStore.Initialize
     at DataStore.Initialize(Boolean allowServerConnection, Boolean configuring)
     at <>c__DisplayClass5.<.ctor>b__3(Object )
     at QueueUserWorkItemCallback.WaitCallback_Context(Object state)
     at ExecutionContext.runTryCode(Object userData)
     at RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
     at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
     at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
     at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
     at ThreadPoolWorkQueue.Dispatch()
     at _ThreadPoolWaitCallback.PerformWaitCallback()
    >ServerStore construction Start for offline state = False
    [2012-10-03 12:26:28.160] Process:Microsoft.Crm.Application.Outlook.ConfigWizard |Organization:00000000-0000-0000-0000-000000000000 |Thread:   16 |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error | <>c__DisplayClass32.<FetchUIXml>b__31
     at <>c__DisplayClass32.<FetchUIXml>b__31()
     at DataStore.HandleServerFailures(Boolean specialPrivilegeDeniedHandling, Action action)
     at ServerStore.FetchUIXml(String oldHash)
     at <>c__DisplayClass16.<CheckUiXmlUpdate>b__11()
     at DataStore.HandleServerFailures(Boolean specialPrivilegeDeniedHandling, Action action)
     at ServerStore.CheckUiXmlUpdate(TimeSpan minimumTimeSpan)
     at ServerStore.CreateCache(String filePath, Boolean allowServerConnection, Boolean replaceFile)
     at ServerStore..ctor(DataStore dataStore, Boolean offline, Boolean allowServerConnection)
     at DataStore.Initialize(Boolean allowServerConnection, Boolean configuring)
     at <>c__DisplayClass5.<.ctor>b__3(Object )
     at QueueUserWorkItemCallback.WaitCallback_Context(Object state)
     at ExecutionContext.runTryCode(Object userData)
     at RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
     at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
     at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
     at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
     at ThreadPoolWorkQueue.Dispatch()
     at _ThreadPoolWaitCallback.PerformWaitCallback()
    > LoadData failed for URL http://CRmurl/orgname/_root/getUIXml.aspx?client=OutlookWorkstationClient&online=1&savedCredentials=0&signOutSupported=0: Unhandled Exception: System.Net.WebException: The remote server returned an error: (400) Bad Request.
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.Crm.Application.SMWrappers.HttpSupport.Microsoft.Crm.Application.SMWrappers.IHttpSupport.LoadDataWithExtendedTimeout(String url)

    [2012-10-03 12:26:28.160] Process:Microsoft.Crm.Application.Outlook.ConfigWizard |Organization:00000000-0000-0000-0000-000000000000 |Thread:   16 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error | CrmServiceOtherException..ctor
     at CrmServiceOtherException..ctor(HResult hresult, Exception exception)
     at DataStore.HandleServerFailures(Boolean specialPrivilegeDeniedHandling, Action action)
     at ServerStore.FetchUIXml(String oldHash)
     at <>c__DisplayClass16.<CheckUiXmlUpdate>b__11()
     at DataStore.HandleServerFailures(Boolean specialPrivilegeDeniedHandling, Action action)
     at ServerStore.CheckUiXmlUpdate(TimeSpan minimumTimeSpan)
     at ServerStore.CreateCache(String filePath, Boolean allowServerConnection, Boolean replaceFile)
     at ServerStore..ctor(DataStore dataStore, Boolean offline, Boolean allowServerConnection)
     at DataStore.Initialize(Boolean allowServerConnection, Boolean configuring)
     at <>c__DisplayClass5.<.ctor>b__3(Object )
     at QueueUserWorkItemCallback.WaitCallback_Context(Object state)
     at ExecutionContext.runTryCode(Object userData)
     at RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
     at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
     at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
     at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
     at ThreadPoolWorkQueue.Dispatch()
     at _ThreadPoolWaitCallback.PerformWaitCallback()
    >Crm Exception: Message: Server was unable to process request., ErrorCode: -2147221221, InnerException: System.Net.WebException: The remote server returned an error: (400) Bad Request.
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.Crm.Application.SMWrappers.HttpSupport.Microsoft.Crm.Application.SMWrappers.IHttpSupport.LoadDataWithExtendedTimeout(String url)
       at Microsoft.Crm.MapiStore.ServerStore.<>c__DisplayClass32.<FetchUIXml>b__31()
       at Microsoft.Crm.MapiStore.DataStore.HandleServerFailures(Boolean specialPrivilegeDeniedHandling, Action action)
    [2012-10-03 12:26:28.160] Process:Microsoft.Crm.Application.Outlook.ConfigWizard |Organization:00000000-0000-0000-0000-000000000000 |Thread:   16 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Info | MiniDump.CreateDumpInternal
     at MiniDump.CreateDumpInternal(MiniDumpReasons reason, Exception exception)
     at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException, Boolean enableTrace)
     at CrmServiceOtherException..ctor(HResult hresult, Exception exception)
     at DataStore.HandleServerFailures(Boolean specialPrivilegeDeniedHandling, Action action)
     at ServerStore.FetchUIXml(String oldHash)
     at <>c__DisplayClass16.<CheckUiXmlUpdate>b__11()
     at DataStore.HandleServerFailures(Boolean specialPrivilegeDeniedHandling, Action action)
     at ServerStore.CheckUiXmlUpdate(TimeSpan minimumTimeSpan)
     at ServerStore.CreateCache(String filePath, Boolean allowServerConnection, Boolean replaceFile)
     at ServerStore..ctor(DataStore dataStore, Boolean offline, Boolean allowServerConnection)
     at DataStore.Initialize(Boolean allowServerConnection, Boolean configuring)
     at <>c__DisplayClass5.<.ctor>b__3(Object )
     at QueueUserWorkItemCallback.WaitCallback_Context(Object state)
     at ExecutionContext.runTryCode(Object userData)
     at RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
     at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
     at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
     at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
     at ThreadPoolWorkQueue.Dispatch()
     at _ThreadPoolWaitCallback.PerformWaitCallback()

    Wednesday, October 3, 2012 7:19 AM

All replies

  • Hi, we've had this problem before, it's because of a bad sitemap configuration. What you need to do is check the sitemap to see if you have custom links, specially custom links that are pointing to views, take those out, re-publish and configure the outlook client again.

    Kids don't try this at home!

    Wednesday, October 3, 2012 7:35 AM
  • upgraded CRM 4 to CRM 2011.

    Users are able to connect CRM 2011 via outlook with the preprouction environment, which is upgraded from PROD enironment only. However, when they are connecting via prod environment, which is identical to pre prod enviornment, some users are not able to connect.

    Does not seem machine specific issue since I can access the CRM for outlook but on the same machine the another user is not able to connect to outlook. so its does not seem a Outlook installation issue.

    got the trace log as follows:

    PS: The URL which is shown as bold in below trace, I can access the URL and got the response as well.

     

    >Created ABP Subscription with id {4DCAED1E-600C-E211-81D6-0050562027FB}
    [2012-10-03 12:26:10.472] Process:Microsoft.Crm.Application.Outlook.ConfigWizard |Organization:00000000-0000-0000-0000-000000000000 |Thread:   16 |Category: Shared |User: 00000000-0000-0000-0000-000000000000 |Level: Info | DataStore.Initialize
     at DataStore.Initialize(Boolean allowServerConnection, Boolean configuring)
     at <>c__DisplayClass5.<.ctor>b__3(Object )
     at QueueUserWorkItemCallback.WaitCallback_Context(Object state)
     at ExecutionContext.runTryCode(Object userData)
     at RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
     at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
     at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
     at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
     at ThreadPoolWorkQueue.Dispatch()
     at _ThreadPoolWaitCallback.PerformWaitCallback()
    >ServerStore construction Start for offline state = False
    [2012-10-03 12:26:28.160] Process:Microsoft.Crm.Application.Outlook.ConfigWizard |Organization:00000000-0000-0000-0000-000000000000 |Thread:   16 |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error | <>c__DisplayClass32.<FetchUIXml>b__31
     at <>c__DisplayClass32.<FetchUIXml>b__31()
     at DataStore.HandleServerFailures(Boolean specialPrivilegeDeniedHandling, Action action)
     at ServerStore.FetchUIXml(String oldHash)
     at <>c__DisplayClass16.<CheckUiXmlUpdate>b__11()
     at DataStore.HandleServerFailures(Boolean specialPrivilegeDeniedHandling, Action action)
     at ServerStore.CheckUiXmlUpdate(TimeSpan minimumTimeSpan)
     at ServerStore.CreateCache(String filePath, Boolean allowServerConnection, Boolean replaceFile)
     at ServerStore..ctor(DataStore dataStore, Boolean offline, Boolean allowServerConnection)
     at DataStore.Initialize(Boolean allowServerConnection, Boolean configuring)
     at <>c__DisplayClass5.<.ctor>b__3(Object )
     at QueueUserWorkItemCallback.WaitCallback_Context(Object state)
     at ExecutionContext.runTryCode(Object userData)
     at RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
     at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
     at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
     at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
     at ThreadPoolWorkQueue.Dispatch()
     at _ThreadPoolWaitCallback.PerformWaitCallback()
    > LoadData failed for URL http://CRmurl/orgname/_root/getUIXml.aspx?client=OutlookWorkstationClient&online=1&savedCredentials=0&signOutSupported=0: Unhandled Exception: System.Net.WebException: The remote server returned an error: (400) Bad Request.
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.Crm.Application.SMWrappers.HttpSupport.Microsoft.Crm.Application.SMWrappers.IHttpSupport.LoadDataWithExtendedTimeout(String url)

    [2012-10-03 12:26:28.160] Process:Microsoft.Crm.Application.Outlook.ConfigWizard |Organization:00000000-0000-0000-0000-000000000000 |Thread:   16 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error | CrmServiceOtherException..ctor
     at CrmServiceOtherException..ctor(HResult hresult, Exception exception)
     at DataStore.HandleServerFailures(Boolean specialPrivilegeDeniedHandling, Action action)
     at ServerStore.FetchUIXml(String oldHash)
     at <>c__DisplayClass16.<CheckUiXmlUpdate>b__11()
     at DataStore.HandleServerFailures(Boolean specialPrivilegeDeniedHandling, Action action)
     at ServerStore.CheckUiXmlUpdate(TimeSpan minimumTimeSpan)
     at ServerStore.CreateCache(String filePath, Boolean allowServerConnection, Boolean replaceFile)
     at ServerStore..ctor(DataStore dataStore, Boolean offline, Boolean allowServerConnection)
     at DataStore.Initialize(Boolean allowServerConnection, Boolean configuring)
     at <>c__DisplayClass5.<.ctor>b__3(Object )
     at QueueUserWorkItemCallback.WaitCallback_Context(Object state)
     at ExecutionContext.runTryCode(Object userData)
     at RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
     at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
     at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
     at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
     at ThreadPoolWorkQueue.Dispatch()
     at _ThreadPoolWaitCallback.PerformWaitCallback()
    >Crm Exception: Message: Server was unable to process request., ErrorCode: -2147221221, InnerException: System.Net.WebException: The remote server returned an error: (400) Bad Request.
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.Crm.Application.SMWrappers.HttpSupport.Microsoft.Crm.Application.SMWrappers.IHttpSupport.LoadDataWithExtendedTimeout(String url)
       at Microsoft.Crm.MapiStore.ServerStore.<>c__DisplayClass32.<FetchUIXml>b__31()
       at Microsoft.Crm.MapiStore.DataStore.HandleServerFailures(Boolean specialPrivilegeDeniedHandling, Action action)
    [2012-10-03 12:26:28.160] Process:Microsoft.Crm.Application.Outlook.ConfigWizard |Organization:00000000-0000-0000-0000-000000000000 |Thread:   16 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Info | MiniDump.CreateDumpInternal
     at MiniDump.CreateDumpInternal(MiniDumpReasons reason, Exception exception)
     at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException, Boolean enableTrace)
     at CrmServiceOtherException..ctor(HResult hresult, Exception exception)
     at DataStore.HandleServerFailures(Boolean specialPrivilegeDeniedHandling, Action action)
     at ServerStore.FetchUIXml(String oldHash)
     at <>c__DisplayClass16.<CheckUiXmlUpdate>b__11()
     at DataStore.HandleServerFailures(Boolean specialPrivilegeDeniedHandling, Action action)
     at ServerStore.CheckUiXmlUpdate(TimeSpan minimumTimeSpan)
     at ServerStore.CreateCache(String filePath, Boolean allowServerConnection, Boolean replaceFile)
     at ServerStore..ctor(DataStore dataStore, Boolean offline, Boolean allowServerConnection)
     at DataStore.Initialize(Boolean allowServerConnection, Boolean configuring)
     at <>c__DisplayClass5.<.ctor>b__3(Object )
     at QueueUserWorkItemCallback.WaitCallback_Context(Object state)
     at ExecutionContext.runTryCode(Object userData)
     at RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
     at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
     at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
     at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
     at ThreadPoolWorkQueue.Dispatch()
     at _ThreadPoolWaitCallback.PerformWaitCallback()

    Wednesday, October 3, 2012 7:36 AM
  • Duplicate thread mate, see answer here http://social.microsoft.com/Forums/en-US/crm/thread/8e0b19b6-c06b-4cc4-8f5e-2c661f5e96f1

    Kids don't try this at home!

    Wednesday, October 3, 2012 8:07 AM
  • Hi,

    Thanks for the answer. But in that case, I am not sure why/how other users are able to connect successfully. This issue is only for few users not all.

    Wednesday, October 3, 2012 9:02 AM
  • Interestingly users are able to connect to pre-prod environment without any issue that has the same sitemap
    Wednesday, October 3, 2012 9:07 AM
  • Had this issue on a client machine recently, I first followed this article to update the Help URL

    https://support.microsoft.com/en-us/kb/2834554

    After that, I still had an issue so I enabled tracing on the client machine and when looking at the log file found this entry

    > LoadData failed for URL https://yourCrmUrl/yourCrmOrg/_root/getUIXml.aspx?client=OutlookWorkstationClient&online=1&savedCredentials=0&signOutSupported=0: Unhandled Exception: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.Crm.Application.SMWrappers.HttpSupport.Microsoft.Crm.Application.SMWrappers.IHttpSupport.LoadDataWithExtendedTimeout(String url)

    So, I copied the URL from the trace log into Internet Explorer and the page loaded without any issues so I dismissed the Outlook Configuration Error window that was still open and pressed the OK button on the Configure Organization window again and everything worked without an issue.


    Scott

    Thursday, January 14, 2016 5:50 PM