Hi,
We developped an application that communicate with our crm 2013. Almost all the interactions was with the Microsoft.Xrm.Client librairy from the sdk 2015. We upgrade the crm to the 2016. Since then, nothing worked anymore. First, we can't upgrade with the 2016 sdk. The Microsoft.Xrm.Client is not there anymore. Also, if we upgrade, all the logics and interactions with entities are completly different. Thanks to Microsoft...
I tried different solutions but I'm always stuck on different issues. I didn't find anything saying if I can stay with the sdk 2015 and the Microsoft.Xrm.Client library to communicate with the crm 2016. I have always the error :
"The maximum nametable character count quota (16384) has been exceeded while reading XML data. The nametable is a data structure used to store strings encountered during XML processing - long XML documents with non-repeating element names, attribute names and attribute values may trigger this quota. This quota may be increased by changing the MaxNameTableCharCount property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 1, position 1298."
I don't find how to upgrade the MaxNameTableCharCount in the XmlDictionaryReaderQuotas. This happened in this piece of code :
Dim cn As Microsoft.Xrm.Client.CrmConnection = Microsoft.Xrm.Client.CrmConnection.Parse("Url=" & DomainName & "; Username=" & modGlobal.gUserName & "; Password=" & modGlobal.gPWD) Using service = New OrganizationService(cn) Dim qry As New QueryExpression("new_workorder") qry.ColumnSet.AllColumns = True Dim result1 As EntityCollection = service.RetrieveMultiple(qry)
On the
I get the error on the line " service.RetrieveMultiple(qry)".
Please help!
Ben
*This post is locked for comments