locked
CRM 2011 - Error in ExecuteMultiple "Could not load type 'Microsoft.Xrm.Sdk.Messages.ExecuteMultipleRequest' from assembly 'Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' RRS feed

  • Question

  • CRM 2011, Rollup  17- Getting a Runtime Error on ExecuteMultiple "Could not load type 'Microsoft.Xrm.Sdk.Messages.ExecuteMultipleRequest' from assembly 'Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35".

    I have downloaded the latest SDK and have referred Microsoft.Xrm.Sdk.dll.

    I tried changing the target platform to X64. But unfortunately it also dint work.

    Anyone faced this problem? any solution?



    • Edited by 167800 Thursday, July 31, 2014 9:47 AM
    Thursday, July 31, 2014 9:42 AM

All replies

  • Which kind of application you are developing? console, windows forms, asp.net website?

    are you 100% sure you are using the latest sdk dlls?


    My blog: www.crmanswers.net - Rockstar 365 Profile

    Thursday, July 31, 2014 10:44 AM
  • Console application. Yes I am very sure that  I am using the latest dlls.

    I doubt if it is because of wrong dll version. I see that, when I build my application, only Microsoft.Xrm.Sdk.dll is not copied to bin/Debug folder.

    Thursday, July 31, 2014 11:25 AM
  • if is not copied set the dll to copy to local: true

    My blog: www.crmanswers.net - Rockstar 365 Profile

    Thursday, July 31, 2014 12:38 PM
  • After setting Copy to local:true, the dll is getting copied, but I am still getting the error.

    After building the solution, in bin/debug folder, there is a 'Microsoft.Xrm.Sdk.xml' file and in this file, I can find 'ExecuteMultipleRequest' as a member.

    Also in the dll properties, Microsoft.Xrm.Sdk's version is 5.0.0.0. 

    Thursday, July 31, 2014 1:54 PM