當您設定 Outlook Microsoft Dynamics CRM 用戶端時,與 Microsoft Dynamics CRM 伺服器錯誤訊息通訊時發生問題
本文提供當您設定 Outlook Microsoft Dynamics CRM 用戶端時所發生之錯誤的解決方案。
適用於: Microsoft Dynamics CRM 2011
原始 KB 編號: 2834554
徵兆
當您嘗試為 Microsoft Office Outlook 設定 Microsoft Dynamics CRM 用戶端時,您會收到下列錯誤訊息:
與 Microsoft Dynamics CRM 伺服器通訊時發生問題。 伺服器可能無法使用。 請稍後再試一次。 如果問題仍然存在,請連絡您的系統管理員。
Crm50ClientConfig.log 檔案中的錯誤:
錯誤|例外狀況:發生錯誤。 再試一次此動作。 如果問題持續發生,請檢查 dynamics CRM 社群中的Microsoft解決方案,或連絡組織的 Microsoft Dynamics CRM 系統管理員。 最後,您可以連絡 Microsoft 支援服務。 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)
錯誤|例外狀況:伺服器無法處理要求。
原因
如果您嘗試針對 Microsoft Dynamics CRM 伺服器設定 Outlook Microsoft Dynamics CRM 用戶端,而該伺服器在 HelpServerUrl 數據行之 MSCRM_Config 資料庫的 ConfigSettings 數據表中有不正確的專案,就會發生此錯誤。
解決方法
將 HelpServerUrl 設定更新為有效的 HTTP 位址
開啟 SQL Server Management Studio,並與裝載 Microsoft Dynamics CRM 2011 的實例連線。
選取新的查詢並執行 select 語句,以檢查 configsettings 數據表MSCRM_Config資料庫的 HelpServerUrl 設定:
Use MSCRM_CONFIG go select HelpServerUrl from configsettings
如果結果不是 HTTP 格式,請備份MSCRM_config資料庫,然後使用如下的查詢更新設定:
Use MSCRM_Config go update ConfigSettings set HelpServerUrl = 'https://<crmserver>/'