Invalid URI: The format of the URI could not be determined.

pts.
Tags:
Development
VB.NET
I receive the "Invalid URI: The format of the URI could not be determined." when running a VB.Net app that connects to Microsoft CRM v 1.2. This app was originally written to connect to Microsoft CRM v 1.0. I need to update the app co connect to 1.2. The original app was written VB.Net 2002, using the DotNet Framework 1.0. 1.2 requires the 1.1 Framework, so I opened the app in VB.Net 2003 and used the 1.2 dlls instead of the 1.0 dlls (Microsoft.Crm.Platform.Proxy and Microsoft.Platform.Types respectively). The app builds ok, but when I run the portion of the app that generates an XML query, I get the above error. The original app connectiong to CRM 1.0 works fine. TIA, Steve

Answer Wiki

Thanks. We'll let you know when a new response is added.

I haven’t used the CRM but that error message is usually associated with missing elements in the URI String (missing ‘/’ slash or ‘http://). Perhaps the older version of the CRM was more forgiving for that type of thing.
Anyway, that’s where I would start.

Also, since you changed over to the 1.1 framework, make sure you re-registered your IIS to point to 1.1 with the aspnet_regiis.exe command otherwise it may still be pointing to the 1.0 framework.

Cheers

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Dspnaik
    Hi Experts, Iam having the same issue with Invalid URI: The format of the URI Could not be determined. Below is the stack frame of the issue. Any help regarding the issue would be appriciated. Regards, dspnaik Server Error in '/EssWeb1' Application. -------------------------------------------------------------------------------- Invalid URI: The format of the URI could not be determined. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.UriFormatException: Invalid URI: The format of the URI could not be determined. Source Error: Line 124: Line 125: gridAdapterOWC112.DataServer.EssCalculation.CalcScript = "AggFcst"; Line 126: gridAdapterOWC112.DataServer.EssCalculation.CalculateFromFile("AggFcst"); Line 127: if(gridAdapterOWC112.DataServer.EssCalculation.Calculate()) Line 128: { }
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following