我使用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包的幾個問題。任何其他看到更多錯誤細節的方法也將受到歡迎。
上述建議應該應用於Dynamics CRM web.config文件。不過,我強烈建議不要這樣做。相反,請檢查Dynamics CRM應用程序服務器上的EventViewer,或者在使用On Premise環境時使用CrmDiagTool(https://crmdiagtool2011.codeplex.com/)來捕獲跟蹤。 – Nathan