Failed to map the path '/'.

Member since: 2009
 

I've got the following problem with EPiServer. I am developing with visual studio in Admin mode, but still I get this error message does any one know the reason?

 

Here is the stack trace if it gives any clues?

/Niklas

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 '/'.
 

[InvalidOperationException: Failed to map the path '/'.]

   System.Web.Configuration.ProcessHostMapPath.MapPathCaching(String siteID, VirtualPath path) +719

   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) +75

   System.Web.Configuration.WebConfigurationHost.GetStreamName(String configPath) +8838550

   System.Configuration.Internal.DelegatingConfigHost.GetStreamName(String configPath) +13

   System.Configuration.BaseConfigurationRecord.InitConfigFromFile() +154

 

[ConfigurationErrorsException: An error occurred loading a configuration file: Failed to map the path '/'.]

   System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal) +651044

   System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors) +31

   System.Configuration.Configuration..ctor(String locationSubPath, Type typeConfigHost, Object[] hostInitConfigurationParams) +356

   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) +775

   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

   EPiServer.Configuration.EPiServerSection.GetConfigurationFromFile() +28

   EPiServer.Configuration.EPiServerSection.get_CurrentConfiguration() +38

   EPiServer.Configuration.Settings.InitializeAllSettings() +22

   EPiServer.Configuration.Settings.MapHostToSettings(String hostName, Boolean fallback) +52

   EPiServer.Configuration.Settings.MapUrlToSettings(Uri url) +264

   EPiServer.Configuration.Settings.get_Instance() +160

   EPiServer.Web.InitializationModule.<StaticInitialization>b__0() +22

   EPiServer.Web.InitializeEngine.Initialize() +345

   EPiServer.Web.InitializationModule.StaticInitialization() +1485

   EPiServer.Web.InitializationModule.Application_BeginRequest(Object sender, EventArgs e) +414

   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68

   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

 

Hello!

 

#29985 May 26, 2009 10:30
  • Member since: 2001
     
    Not sure, but I'd say something in your web.config file is broken.
    #30039 May 27, 2009 20:26
  • Member since: 2009
     

    Thanks for the answer!

     I installed EPiServer again and now everything works perfectly.

     Best regards

    /Niklas

    #30103 Jun 02, 2009 10:52