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

Forums / Set-up & Installation / Failed to map the path '/'

Failed to map the path '/'

2 posts, 0 answered
  1. Gabe Sumner
    Gabe Sumner avatar
    440 posts
    Registered:
    09 Sep 2007
    30 Sep 2008
    Link to this post

    I was using the "View in Browser" feature of Visual Studio to view my newly created Sitefinity web site.  When doing this, I was getting the following error:
     

    Server Error in '/DesigningExample' Application.

    Failed to map the 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.InvalidOperationException: Failed to map the path '/'.

    Source Error:

    [No relevant source lines]

    Source File: c:\Users\Gabe\AppData\Local\Temp\Temporary ASP.NET Files\designingexample\68da85a9\f07fdf89\App_Web_ejo40ey5.2.cs    Line: 0

    Stack Trace:

    [InvalidOperationException: Failed to map the path '/'.]
       System.Web.Configuration.ProcessHostConfigUtils.MapPathActual(String siteName, VirtualPath path) +261
       System.Web.Configuration.ProcessHostMapPath.MapPathCaching(String siteID, VirtualPath path) +580
       System.Web.Configuration.ProcessHostMapPath.GetPathConfigFilenameWorker(String siteID, VirtualPath path, String& directory, String& baseName) +19
       System.Web.Configuration.ProcessHostMapPath.System.Web.Configuration.IConfigMapPath.GetPathConfigFilename(String siteID, String path, String& directory, String& baseName) +37
       System.Web.Configuration.HostingPreferredMapPath.GetPathConfigFilename(String siteID, String path, String& directory, String& baseName) +77
       System.Web.Configuration.WebConfigurationHost.GetStreamName(String configPath) +166
       System.Configuration.Internal.DelegatingConfigHost.GetStreamName(String configPath) +10
       System.Configuration.BaseConfigurationRecord.InitConfigFromFile() +249
    
    [ConfigurationErrorsException: An error occurred loading a configuration file: Failed to map the path '/'.]
       System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal) +245611
       System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors) +40
       System.Configuration.Configuration..ctor(String locationSubPath, Type typeConfigHost, Object[] hostInitConfigurationParams) +412
       System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInternalConfigConfigurationFactory.Create(Type typeConfigHost, Object[] hostInitConfigurationParams) +29
       System.Web.Configuration.WebConfigurationHost.OpenConfiguration(WebLevel webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site, String locationSubPath, String server, String userName, String password, IntPtr tokenHandle) +961
       System.Web.Configuration.WebConfigurationManager.OpenWebConfigurationImpl(WebLevel webLevel, ConfigurationFileMap fileMap, String path, String site, String locationSubPath, String server, String userName, String password, IntPtr userToken) +84
       System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(String path) +36
       Telerik.Cms.Web.DatabasePane.DoWork() +19
       Telerik.Cms.Web.StartupWizard.wizard_NextButtonClick(Object sender, CmsWizardNavigationEventArgs e) +109
       Telerik.Cms.Web.UI.CmsWizard.OnNextButtonClick(CmsWizardNavigationEventArgs e) +75
       Telerik.Cms.Web.UI.CmsWizard.OnBubbleEvent(Object source, EventArgs e) +363
       System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
       System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +115
       System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +132
       System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +177
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7248
       System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
       System.Web.UI.Page.ProcessRequest() +86
       System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
       System.Web.UI.Page.ProcessRequest(HttpContext context) +49
       ASP.sitefinity_cmsstartup_aspx.ProcessRequest(HttpContext context) in c:\Users\Gabe\AppData\Local\Temp\Temporary ASP.NET Files\designingexample\68da85a9\f07fdf89\App_Web_ejo40ey5.2.cs:0
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434

    It looks like this error was being thrown because I am using Vista and not running Visual Studio as Administrator.  When loading Visual Studio you can right-click the icon and click "Run as Administrator" to fix this issue.

    Gabe Sumner

  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    01 Oct 2008
    Link to this post
    Hi Gabe Sumner,

    Big Thanks from the Team for sharing this problem with us and the community :)
    We will refer to this solution if/when we receive such a complaint.

    All the best,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered