Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Metadata contains reference that cannot be solved error

(0) ShareShare
ReportReport
Posted on by 260

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

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Metadata contains reference that cannot be solved error

    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

  • Drashti Mehta Profile Picture
    Drashti Mehta 260 on at
    RE: Metadata contains reference that cannot be solved error

    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
    Nadeeja Bomiriya Profile Picture
    Nadeeja Bomiriya 6,804 on at
    RE: Metadata contains reference that cannot be solved error
    Hi Drashti, Check this example which fetches a list of all entities. msdn.microsoft.com/.../gg327860.aspx Cheers, Nadeeja
  • Drashti Mehta Profile Picture
    Drashti Mehta 260 on at
    RE: Metadata contains reference that cannot be solved error

    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

  • Verified answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: Metadata contains reference that cannot be solved error

    Hi Drashti Mehta,

    Please refer the following threads.

    community.dynamics.com/.../218021

    community.dynamics.com/.../216809

  • Drashti Mehta Profile Picture
    Drashti Mehta 260 on at
    RE: Metadata contains reference that cannot be solved error

    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

  • Suggested answer
    Nadeeja Bomiriya Profile Picture
    Nadeeja Bomiriya 6,804 on at
    RE: Metadata contains reference that cannot be solved error

    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

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans