Server Error in '/' Application.

Invalid URI: The Authority/Host could not be parsed.

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 Authority/Host could not be parsed.

Source Error:


Line 14: if (url != "")
Line 15: {
Line 16:     Response.Redirect(url);
Line 17: }
Line 18: else

Source File: e:\irepwebroot\danayab\danayab.com\wwwroot\app_action\tools\redirect\default.aspx    Line: 16

Stack Trace:


[UriFormatException: Invalid URI: The Authority/Host could not be parsed.]
   System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) +7015171
   System.Uri.CreateUri(Uri baseUri, String relativeUri, Boolean dontEscape) +139
   System.Uri..ctor(Uri baseUri, String relativeUri) +34
   System.Web.HttpResponse.ConvertToFullyQualifiedRedirectUrlIfRequired(String url) +115
   System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent) +123
   System.Web.HttpResponse.Redirect(String url) +14
   ASP.app_action_tools_redirect_default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in e:\irepwebroot\danayab\danayab.com\wwwroot\app_action\tools\redirect\default.aspx:16
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +270
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +14
   System.Web.UI.Page.Render(HtmlTextWriter writer) +30
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +67
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +101
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1342


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4110.0