Cannot use a leading .. to exit above the top directory.

3 posts, 0 answers
  1. Jack
    Jack avatar
    67 posts
    Member since:
    Jul 2010

    Posted 04 Apr 2013 Link to this post

    Hii to Telerik Team. I am Facing a Problem.I have One System, In that my application is running on IIS.In IIs Under Default
    web site i have two Links Test and Test1, On both same application is running.
    Test Application is running fine but Test1 is not. I am getting error
    [HttpException (0x80004005): Cannot use a leading .. to exit above the top directory.]
       System.Web.Util.UrlPath.ReduceVirtualPath(String path) +823
       System.Web.Util.UrlPath.Reduce(String path) +104
       System.Web.HttpResponse.ApplyAppPathModifier(String virtualPath) +232
       Telerik.Web.UI.RadGrid.InitializeGridTableViewData(GridTableView tableView) +5091
       Telerik.Web.UI.RadGrid.InitializeGridTableViewsRecursive(GridTableView tableView) +33
       Telerik.Web.UI.RadGrid.DescribeProperties(IScriptDescriptor descriptor) +2135
       Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control) +171
       Telerik.Web.UI.RadCompositeDataBoundControl.GetScriptDescriptors() +9
       System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl) +146
       Telerik.Web.UI.RadCompositeDataBoundControl.RegisterScriptDescriptors() +82
       Telerik.Web.UI.RadCompositeDataBoundControl.RenderContents(HtmlTextWriter writer) +50
       Telerik.Web.UI.GridBaseDataList.Render(HtmlTextWriter writer) +112
       Telerik.Web.UI.RadGrid.Render(HtmlTextWriter writer) +162
       Telerik.Web.UI.RadAjaxPanel.RenderChildren(HtmlTextWriter writer) +201
       System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +13
       Telerik.Web.UI.RadAjaxPanel.RenderContents(HtmlTextWriter writer) +31
       System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +42
       Telerik.Web.UI.RadAjaxPanel.Render(HtmlTextWriter writer) +38
       Telerik.Web.UI.ControlRenderer.Render(HtmlTextWriter writer) +148
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
       System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer) +294
       System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer) +56
       Telerik.Web.UI.OurUpdatePanel.Render(HtmlTextWriter writer) +194
       Telerik.Web.UI.PreControlToAjaxify.Render(HtmlTextWriter writer) +193
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +42
       ASP.default_aspx.__RenderfrmFuse(HtmlTextWriter __w, Control parameterContainer) in g:\GIS\GTLERP2011\Default.aspx:95
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115
       System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +256
       System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +324
       System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +73
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
       System.Web.UI.Page.Render(HtmlTextWriter writer) +38
       GPS.GPSWeb._Default.Render(HtmlTextWriter writer) +67
       Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) +647
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115
       System.Web.UI.Page.Render(HtmlTextWriter writer) +38
       GPS.GPSWeb._Default.Render(HtmlTextWriter writer) +67
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4428


    Pls Help me as I am not getting that from where the error is coming.
    same application is running fine on Test on same system but not Test1.


    Solved



  2. Jack
    Jack avatar
    67 posts
    Member since:
    Jul 2010

    Posted 04 Apr 2013 Link to this post

    Ok I solved the Problem.Let me share so that it may help someone
    i was calling webservice like
    ../WebService/webservice1.asmx"

    I replace it by ~/WebService/webservice1.asmx"

    Thats Worked for me

    The page from where i am calling webservice was in Folder
     and webservice was also in a folder.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Gowtham
    Gowtham avatar
    7 posts
    Member since:
    Jun 2013

    Posted 05 Jan 2015 in reply to Jack Link to this post

    thanks working fine
Back to Top