Server Error in '/' Application.

Illegal characters in path.

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.ArgumentException: Illegal characters in path.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ArgumentException: Illegal characters in path.]
   System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) +12986314
   System.IO.Path.Combine(String path1, String path2) +42
   WebCore.Components.CanonicalUrl.get_Url() +218
   WebCore.Web.UI.Controls.WebPage.Render(HtmlTextWriter writer) +7501
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +129
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +287
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.<ProcessRequestMainAsync>d__523.MoveNext() +8330


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