locked
Metadata contains a reference that cannot be resolved RRS feed

  • Question

  • I exported Xrm.cs file from CRM to retrieve records and display them in .Net web application. I'm able to do that from On Premise CRM instance(http://crmonpremise/CRM/XRMServices/2011/Organization.svc). But when I use the same code to retrieve from OnLine/IFD CRM, its giving an error 'Metadata contains a reference that cannot be resolved: https://MyInstance.api.crm5.dynamics.com/XRMServices/2011/Organization.svc?wsdl'. Can any one help me to fix this?


    Friday, January 18, 2013 4:42 AM

All replies

  • hi the Url shld be

    https://YourInstance.api.crm5.dynamics.com/XRMServices/2011/Organization.svc


    By Sanz. -- If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".

    • Proposed as answer by san Sanz Friday, January 18, 2013 4:52 AM
    Friday, January 18, 2013 4:52 AM
  • Ohh.. Sorry its Typo. The URL is https://MyInstance.api.crm5.dynamics.com/XRMServices/2011/Organization.svc?wsdl only.
    Friday, January 18, 2013 4:53 AM
  • Charan,

    what i mean is it shld be

     https://MyInstance.api.crm5.dynamics.com/XRMServices/2011/Organization.svc?wsdl,

    then only it will work because for online Service url is deference.


    By Sanz. -- If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".

    Friday, January 18, 2013 4:59 AM
  • Exactly the same URL I used. Which has taken from CRM.(Settings->Customizations->Developer Resources->Organization Service)
    Friday, January 18, 2013 5:09 AM
  • ifd setup or crm online?

    if it is crm online it shld work.

    if it is ifd check your eventvwr.


    By Sanz. -- If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".

    Friday, January 18, 2013 5:14 AM
  • Please look at the below Exception snapshot from .Net. And its Online setup.

    Error Msg


    Friday, January 18, 2013 5:23 AM
  • I am also getting the same error as above. Any help on this regard will be really appreciated.
    Thursday, January 16, 2014 12:43 AM
  • Hi,

    I was experience that same problem before with exactly issues (connecting to CRM 2011 Online): No connection could be made because the target machine actively refused it IP....

    There's nothing wrong with your code. It's your internet, intranet communication problem. Ask your IT if your company's proxy is changed recently.

    Hope it help.


    • Edited by Linh Giang Thursday, January 16, 2014 9:43 AM
    Thursday, January 16, 2014 9:40 AM