Kasuni Abegunawardana

Kasuni Abegunawardana

  • NA
  • 211
  • 125.6k

I got an server error in Web forms with Master page

Nov 13 2017 10:27 AM

Server Error in '/' Application.
Cannot use a leading .. to exit above the top directory.
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.Web.HttpException: Cannot use a leading .. to exit above the top directory.

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:

[HttpException (0x80004005): Cannot use a leading .. to exit above the top directory.]    System.Web.Util.UrlPath.ReduceVirtualPath(String path) +9746083    System.Web.Util.UrlPath.Reduce(String path) +52    System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) +216    System.Web.UI.Control.ResolveClientUrl(String relativeUrl) +276    System.Web.UI.HtmlControls.HtmlLink.RenderAttributes(HtmlTextWriter writer) +72    System.Web.UI.HtmlControls.HtmlLink.Render(HtmlTextWriter writer) +41    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +128    System.Web.UI.HtmlControls.HtmlHead.RenderChildren(HtmlTextWriter writer) +21    System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +128    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8    System.Web.UI.Control.Render(HtmlTextWriter writer) +10    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +128    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8    System.Web.UI.Page.Render(HtmlTextWriter writer) +29    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1386 

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


Answers (2)