0

我使用KingswaySoft在使用Visual Studio 2015的SSIS包中連接到Microsoft Dynamics CRM。我嘗試在服務器上運行包時收到以下錯誤。如何在SSIS包中調試CRM連接錯誤?

Data Flow Task:Error: KingswaySoft.IntegrationToolkit.DynamicsCrm.CrmServiceException: CRM service call returned an error: An error has occurred when retrieving metadata for CRM entity 'ccseq_amaccount': CRM service call returned an error: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.

我看到有關如何添加配置鑰匙打開對WCF應用IncludeExceptionDetailInFaults(見here & here),但沒有什麼特別告訴我如何把這個對SSIS包的幾個問題。任何其他看到更多錯誤細節的方法也將受到歡迎。

+1

上述建議應該應用於Dynamics CRM web.config文件。不過,我強烈建議不要這樣做。相反,請檢查Dynamics CRM應用程序服務器上的EventViewer,或者在使用On Premise環境時使用CrmDiagTool(https://crmdiagtool2011.codeplex.com/)來捕獲跟蹤。 – Nathan

回答

1

感謝您選擇KingswaySoft作爲您的集成解決方案。此消息「由於內部錯誤,服務器無法處理請求。」來自CRM服務器端,並沒有真正幫助識別問題。要獲得有關您收到的錯誤的更多詳細信息,您必須在CRM服務器端打開CRM跟蹤日誌。

要打開CRM on-prem的CRM跟蹤日誌,可以使用以下工具。

打開了跟蹤日誌後,您可以運行任務,CRM服務器將產生在C一些日誌文件:\ Program Files文件\ Microsoft動態CRM \跟蹤文件夾中。日誌文件很大,並且不易讀取,因此您可以使用以下工具之一來讀取日誌文件。

對於CRM在線,您將需要聯繫的CRM在線支持團隊協助。