title: How do I debug CRM Connection Error in SSIS Package?
body: <p>I am using KingswaySoft to connect to Microsoft Dynamics CRM in an SSIS Package using Visual Studio 2015.  I am receiving the following error when I try to run the Package on the server.</p>
  
  <blockquote>
    <p>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.</p>
  </blockquote>
  
  <p>I see several questions about how to add a config key to turn on the IncludeExceptionDetailInFaults for WCF applications (see <a href="https://stackoverflow.com/questions/26260245/turn-on-includeexceptiondetailinfaults">here</a> &amp; <a href="https://stackoverflow.com/questions/17599107/turn-on-includeexceptiondetailinfaults">here</a>), but nothing that specifically tells me how to turn this on for an SSIS Package.  Any other methods of seeing more error details would also be welcome.</p>