web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Metadata contains reference that cannot be solved error

(0) ShareShare
ReportReport
Posted on by 264

Hello,

I am trying to fetch all the entities list of mscrm using windows application. But i am getting following error

Metadata contains a reference that cannot be resolved: 'https://.../XRMServices/2011/Organization.svc?wsdl=wsdl0'.

Going deeply found the inner exception message saying

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.

Please provide me any suggestion.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Nadeeja Bomiriya Profile Picture
    6,804 on at

    Hi Drashti,

    Which CRM SDK are you using? Is it the one that was released for your specific CRM Version?  If not, that could be the reason.

    Cheers,

    Nadeeja

    If the answer solves your problem, please mark as Verified. Thanks.

    My Blog: http://dyn365apps.com/ - Follow me on Twitter: https://twitter.com/dyn365apps

    LinkedIn: https://www.linkedin.com/in/nadeeja

  • Drashti Mehta Profile Picture
    264 on at

    Hi Nadeeja,

    I am using crm online sdk ver8.2.0 . I already get list via javascript code but i want to do using c# windows application.

    Regards,

    Drashti

  • Verified answer
    Nithya Gopinath Profile Picture
    17,078 on at

    Hi Drashti Mehta,

    Please refer the following threads.

    community.dynamics.com/.../218021

    community.dynamics.com/.../216809

  • Drashti Mehta Profile Picture
    264 on at

    Thanks Nithya,

    The problem is i want list of all the entities not the records of particular entity. So i dont know how to create fetch xml for the same. Also if fetch xml is created the error remains the same.

    Regards,

    Drashti

  • Suggested answer
    Nadeeja Bomiriya Profile Picture
    6,804 on at
    Hi Drashti, Check this example which fetches a list of all entities. msdn.microsoft.com/.../gg327860.aspx Cheers, Nadeeja
  • Drashti Mehta Profile Picture
    264 on at

    Thanks Nadeeja,

    This is my code

    OrganizationService service = Connection.Instance.service;

                   RetrieveAllEntitiesRequest metaDataRequest = new RetrieveAllEntitiesRequest();

                   metaDataRequest.EntityFilters = EntityFilters.Entity;

                   metaDataRequest.RetrieveAsIfPublished = true;

                   RetrieveAllEntitiesResponse metaDataResponse=(RetrieveAllEntitiesResponse)service.Execute(metaDataRequest);

                   String filename = String.Concat("entityresponse.xml");

    And the error is thrown after line RetrieveAllEntitiesResponse.

    Regards,

    Drashti

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi ,

    This error is coming due to network proxy. Sometimes you checked use a proxy server for your LAN in internet explorer browser settings . So you need check whether you are using proxy server by following way.

    1) Go to internet explorer settings

    2) Select Internet Options

    3)Go to connection Tab

    4)Click on LAN settings

    5) in LAN settings just unchecked the proxy server.

    Hope  this will help. Please mark as answer if your issue get resolve.

    Thanks

    Goutam

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans