MscrmTools.Xrm.Connection icon indicating copy to clipboard operation
MscrmTools.Xrm.Connection copied to clipboard

The formatter threw an exception while trying to deserialize the message-Dynamic CRM 2011 On-premise

Open avr2222 opened this issue 4 years ago • 3 comments

** The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://schemas.microsoft.com/xrm/2011/Contracts/Services:request. The InnerException message was 'Error in line 1 position 518. Element 'http://schemas.microsoft.com/xrm/2011/Contracts/Services:request' contains data from a type that maps to the name 'http://schemas.microsoft.com/crm/2011/Contracts:RetrieveCurrentOrganizationRequest'. The deserializer has no knowledge of any type that maps to this name. Consider changing the implementation of the ResolveName method on your DataContractResolver to return a non-null value for name 'RetrieveCurrentOrganizationRequest' and namespace 'http://schemas.microsoft.com/crm/2011/Contracts'.'.**

To Reproduce I am using Dynamic CRM 2011 On-premise version

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

Desktop (please complete the following information):

  • XrmToolbox Version-XrmToolBox v1.2021.9.52
  • Tool version

avr2222 avatar Oct 13 '21 09:10 avr2222

Ok, a new message used is available only since CRM 2015. Will fix this in the appropriate repository

MscrmTools avatar Oct 13 '21 11:10 MscrmTools

@avr2222, can you test with this version? Please unzip the content in your XrmToolBox folder and try again McTools.Xrm.Connection.zip

MscrmTools avatar Oct 13 '21 11:10 MscrmTools

Hi Tried with this version but did not work. I got the same issue XrmToolBox_Connection-2021-10-18.log .

avr2222 avatar Oct 18 '21 09:10 avr2222