locked
URI Formats not supported when requesting organizations from CRM 2011 Online. RRS feed

  • Question

  • Hi,

    I'm trying to get the CRM organizations related to a CRM 2011 user, but I'm getting an error "Uri formats are not supported" when calling execute() on DiscoveryServiceProxy.

    The proxy is created with the following discovery URL: https://dev.crm4.dynamics.com/XRMServices/2011/Discovery.svc

    The wierd this is that it correctly returns the organizations in my test environment, but the exact same code deployed on my win2003 server (virtual machine) yields the above error. 

    Have I missed something? I'm been pulling my hair for a long time to crack this.

    Thanks!

     

    Regards, Jeppe

    Tuesday, March 8, 2011 12:54 PM

Answers

  • It turned out to be caused by a silly type-O made by myself. In fact the exception was thrown as soon as I created the DiscoveryService with the URL. Closing this :)
    • Marked as answer by Jeppebm Monday, March 21, 2011 10:21 AM
    Monday, March 21, 2011 10:21 AM

All replies

  • What happens if you paste the URL in Internet Explorer?
    Tuesday, March 8, 2011 1:00 PM
  • It turned out to be caused by a silly type-O made by myself. In fact the exception was thrown as soon as I created the DiscoveryService with the URL. Closing this :)
    • Marked as answer by Jeppebm Monday, March 21, 2011 10:21 AM
    Monday, March 21, 2011 10:21 AM