本文介绍了无效的URI:无法确定URI的格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Experts,Iam正在visualStudio 2003上工作,并且iam收到了以下错误.下面第665行的LoadCalcScriptFromServer()方法仅接受一个字符串值,但是当我运行该应用程序时,它期望使用URI格式.申请.

无效的URI:无法确定URI的格式.

说明:执行当前Web请求期间发生未处理的异常.请查看堆栈跟踪,以获取有关错误及其在代码中起源的更多信息.
异常详细信息:System.UriFormatException:无效的URI:无法确定URI的格式.
源错误:

Hi Experts, Iam working on visualStudio 2003 and iam gettting the below error.The method LoadCalcScriptFromServer() at line 665 below accepts only a string value.But when i run the application it is expecting in URI Format.Any help would be appriciated.

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 663:			try
Line 664:			{
Line 665:				gridAdapterOWC112.DataServer.EssCalculation.LoadCalcScriptFromServer("AggFcst");
Line 666:			}
Line 667:			catch(Hyperion.Objects.Essbase.Common.EssException ex)

Source File: c:\inetpub\wwwroot\essweb1\webform1.aspx.cs    Line: 665
Stack Trace:

[UriFormatException: Invalid URI: The format of the URI could not be determined.]
   System.Uri.Parse() +545
   System.Uri..ctor(String uriString, Boolean dontEscape) +191
   System.Uri..ctor(String uriString) +7
   System.Net.WebRequest.Create(String requestUriString) +29
   Hyperion.Objects.Essbase.Common.Transports.HttpTransporter.SendAndReturnRequest(XmlDocument xmlRequest, String endPoint, IWebProxy proxy) +37
   Hyperion.Objects.Essbase.Common.WebServiceBase.PostAndReturnSOAP(String operation, XmlDocument xmlRequest, IClientProtocol clientProtocol) +186

推荐答案


这篇关于无效的URI:无法确定URI的格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 18:18
查看更多