Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Plugin registration tool fails to connect

$
0
0

Hello,

I currently cannot access organizations list via Plug-in Registration Tool on premise with deployment admin, CRM 2016. Get error "The maximum nametable character count quota (16384) has been exceeded while reading XML data"

Does anyone know why this could happening? Is there any config where it could be change max count?

Stack trace:

Unhandled Exception: System.InvalidOperationException: Metadata contains a reference that cannot be resolved: 'test/.../Organization.svc'.
at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)
at System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState)
at System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState)
at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(MetadataRetriever retriever)
at Microsoft.Xrm.Sdk.Client.ServiceMetadataUtility.RetrieveServiceEndpointMetadata(Type contractType, Uri serviceUri, Boolean checkForSecondary)
at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1..ctor(Uri serviceUri, Boolean checkForSecondary)
at Microsoft.Xrm.Sdk.Client.OrganizationServiceConfiguration..ctor(Uri serviceUri)
at Microsoft.Xrm.Sdk.Client.ServiceConfigurationFactory.CreateConfiguration[TService](Uri serviceUri)
at Microsoft.Xrm.Sdk.Client.ServiceProxy`1..ctor(Uri uri, Uri homeRealmUri, ClientCredentials clientCredentials, ClientCredentials deviceCredentials)
at Microsoft.Crm.Tools.PluginRegistration.CrmOrganization.InitializeOrganizationService()
at Microsoft.Crm.Tools.PluginRegistration.CrmOrganization.get_OrganizationService()
at Microsoft.Crm.Tools.PluginRegistration.OrganizationHelper.LoadMessages(CrmOrganization org, ProgressIndicator prog)
at Microsoft.Crm.Tools.PluginRegistration.MainForm.LoadMessages(CrmOrganization org)
at Microsoft.Crm.Tools.PluginRegistration.ConnectionsForm.OpenConnection(CrmOrganization org)
Inner Exception: System.InvalidOperationException: There is an error in XML document (1, 1253).
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
at System.Web.Services.Description.ServiceDescription.Read(XmlReader reader, Boolean validate)
at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.CreateMetadataSection(XmlReader reader, String sourceUrl)
at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)
Inner Exception: System.Xml.XmlException: 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 1253.
at System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, String res, String arg1, String arg2, String arg3)
at System.Xml.XmlBaseReader.QuotaNameTable.Add(Int32 charCount)
at System.Xml.XmlBaseReader.QuotaNameTable.Add(String value)
at System.Xml.Serialization.XmlSerializationReader.ToXmlQualifiedName(String value, Boolean decodeName)
at System.Web.Services.Description.ServiceDescriptionSerializationReader.Read72_OperationOutput(Boolean isNullable, Boolean checkType)
at System.Web.Services.Description.ServiceDescriptionSerializationReader.Read74_Operation(Boolean isNullable, Boolean checkType)
at System.Web.Services.Description.ServiceDescriptionSerializationReader.Read75_PortType(Boolean isNullable, Boolean checkType)
at System.Web.Services.Description.ServiceDescriptionSerializationReader.Read124_ServiceDescription(Boolean isNullable, Boolean checkType)
at System.Web.Services.Description.ServiceDescriptionSerializationReader.Read125_definitions()
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>