Cannot use a leading .. to exit above the top directory Hello Guys In This Post We will solved about Cannot use a leading .. to exit above the top directory Do you want to solve this error in asp.net using c# Cannot use a leading .. to exit above the top directory 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) +9985452 System.Web.Util.UrlPath.Reduce(String path) +50 System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) +217 System.Web.UI.Control.ResolveClientUrl(String relativeUrl) +266 System.Web.UI.HtmlControls.HtmlLink.RenderAttributes(HtmlTextWriter writer) +74 System.Web.UI.HtmlControls.HtmlLink.Render(HtmlTextWriter writer) +41 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +66 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) +66 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) +13 System.Web.UI.Page.Render(HtmlTextWriter writer) +29 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +66 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) +1303 Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3282.0 When does this error occur? When we ever upload our website to hosting, then we get to see this error. How to Solve this error ? <img src="../images/logo_copy.png" alt="LOGO"/> instead of <img src="~/images/logo_copy.png" alt="LOGO"/> or <img src="../../images/logo_copy.png" alt="LOGO"/> instead of <img src="images/logo_copy.png" alt="LOGO"/> Final Step : Refresh Your Website i hope your website run perfectly.