Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Could not load type 'Microsoft.Xrm.Sdk.Deployment.DeploymentServiceFault' from assembly 'Microsoft.Xrm.Sdk

$
0
0

Good day to everyone. I would appreciate your advise about how to troublsehoot this issue:

Scenario:

  • SSIS project with target to SQL 2016 and created using VS 2017
  • C# Script component that needs to connect to Dynamics 365 v9 Online. Code target to .net 4.6.2. SDK references to the lastest dll versions available in nuget.
  • Script compiled with no errors.
  • Connection String tested in XRM Toolbox with no problems.

Problem:

The line of code in the Script:

  •  CrmServiceClient crmConn = new CrmServiceClient(connectionStringCRM);

Produces the following exception:

  • Could not load type 'Microsoft.Xrm.Sdk.Deployment.DeploymentServiceFault' from assembly 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

I tried the same approach and code several times in other projects with no problems so this time I am totally lost.

Thanks for any advice.


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>