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

Posted: June 21, 2012 in CRM 2011, Tools
Tags: ,

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.


Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s