locked
metadata contains a reference that cannot be resolved using console application for MSCRM 2013 RRS feed

  • Question

  • Hi All,

    I am running a console application using MSCRM 2013 sdk services.

    it functions as to bring the lakhs of records from the mscrm database

    and process them to local file system from local file file system those files are moved to the sharepoint document library using the same console application.

    After processing some of the files say 10,000 or 20,000 

    the error is coming saying that metadata contains a reference that cannot be resolved

    can anybody help me for this. 

    Tuesday, May 5, 2015 11:09 AM

All replies

  • You should post to the CRM forum.
    Wednesday, May 6, 2015 8:10 AM
  • You'll need to provide more information before anyone can help:

    • Is the Crm instance OnPremise or Online ? If it's OnPremise, do you use AD authentication or Claims authentication ?
    • Can you post the code ?
    • The exception 'metadata contains a reference that cannot be resolved' is a general error message. There should be more information either in an InnerException, or if you catch the exception as a specific FaultException

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Wednesday, May 6, 2015 10:46 AM
    Moderator
  • Thanx for the update .

    Actually this error is showing a timeout exception when checking the inner exception.

    • It is on-Premise Crm instance.
    • using AD authentication.
    Wednesday, June 3, 2015 4:53 AM
  • If some records work, but then it fails, then it implies that the generally connectivity and security works. The problem may be the load of data - how are you retrieving the data from CRM ? Are you using RetrieveMultiple, and if so, are you using paging ?


    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Wednesday, June 3, 2015 8:55 AM
    Moderator