+1-888-365-2779
Try Now
More in this section

Forums / 3.x Pre-release forums (retired) / Problem in runtime navigation when Sitefinity is the Default Web Site

Problem in runtime navigation when Sitefinity is the Default Web Site

2 posts, 0 answered
  1. Len Ford
    Len Ford avatar
    25 posts
    Registered:
    29 Apr 2004
    29 Nov 2006
    Link to this post
    I started building a new client's Site using Sitefinity on my development machine, installed in the default location, i.e. http://localhost/Telerik/Sitefinity3.0  etc. and the site ran correctly.

    However, I needed to demonstrate the site to the client so I installed Sitefinity 3.0 beta 2 as the Default Website on my Server. Sitefinity runs correctly in this environment and I can created the pages and hierarchy of the site. All my pages, apart form the initial page, use a RadMenu as a navigation control. When I try to navigate to a nested page from the menu at runtime I get the following error:

     

    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) +3536190
       System.Web.Util.UrlPath.Reduce(String path) +84
       System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) +355
       System.Web.HttpResponse.ApplyAppPathModifier(String virtualPath) +208
       System.Web.UI.WebControls.SiteMapPath.InitializeItem(SiteMapNodeItem item) +761
       System.Web.UI.WebControls.SiteMapPath.CreateItem(Int32 itemIndex, SiteMapNodeItemType itemType, SiteMapNode node) +111
       System.Web.UI.WebControls.SiteMapPath.CreateControlHierarchyRecursive(Int32& index, SiteMapNode node, Int32 parentLevels) +66
       System.Web.UI.WebControls.SiteMapPath.CreateControlHierarchy() +93
       System.Web.UI.WebControls.SiteMapPath.CreateChildControls() +29
       System.Web.UI.Control.EnsureChildControls() +87
       System.Web.UI.WebControls.CompositeControl.get_Controls() +12
       Telerik.Cms.Web.CmsHelper.FindContentPlaceHolders(Control control, List`1 list) +99
       Telerik.Cms.Web.CmsHelper.FindContentPlaceHolders(Control control, List`1 list) +160
       Telerik.Cms.Web.CmsHelper.FindContentPlaceHolders(Control control, List`1 list) +160
       Telerik.Cms.Web.InternalPage.CreateChildControls() +689
       System.Web.UI.Control.EnsureChildControls() +87
       System.Web.UI.Control.PreRenderRecursiveInternal() +41
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360

    There is also a SiteMapPath control showing a BreadCrumb trail on each page if thats relevant.

    Any thoughts on how to get this working properly?

    Len Ford.
  2. Bob
    Bob avatar
    330 posts
    Registered:
    24 Sep 2012
    29 Nov 2006
    Link to this post
    Hi Len,

    There is a problem with the SiteMapPath control, so please remove it from all pages and see if the problem disappears. Later we will provide a solution for this problem.

    All the best,
    Bob
    the telerik team
2 posts, 0 answered