Could not load file or assembly ‘Microsoft.Crm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies while running Stunnware Tools (SWTools) in CRM 2011

Hi,

While trying to run SWTools for CRM 2011, we might receive the “Could not load fie or assembly Microsoft.Crm.Sdk” error.

The solution is to create a file named SwTools.exe.config with the following content


<configuration>
 <runtime>
 <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
 <dependentAssembly>
 <assemblyIdentity name="Microsoft.Crm.Sdk" publicKeyToken="31bf3856ad364e35" culture="neutral" />
 <publisherPolicy apply="no" />
 </dependentAssembly>
 </assemblyBinding>
 </runtime>
</configuration>

And place the file where the SwTools.exe is.

Thanks to David for providing the solution.

http://mscrmuk.blogspot.com/2011/02/using-crm-40-assemblies-on-crm-2011.html

Have a look at this post as well

http://blog.aggregatedintelligence.com/2012/03/unable-to-run-website-that-uses.html

Bye.


Advertisements