Hi!
I have created a project with the built-in EPiServer-project type in Visual Studio 2005 professional.
My issue is that when trying to debug the web site the web browser displays an exception of type "System.Configuration.ConfigurationErrorsException". The specific details of the exception
are show below. My IIS-metabase is working correctly.
---------------------------------------------------------
Undantagsinformation: System.Configuration.ConfigurationErrorsException: A site element with applicationId "/LM/W3SVC/3/Root" is required in the configuration file.
Källfel:
[Inga relevanta källrader]
Källfil: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\505ca084\e30ba8bd\App_global.asax.h-5od5ss.0.cs Rad: 0
Stackspårning:
[ConfigurationErrorsException: A site element with applicationId "/LM/W3SVC/3/Root" is required in the configuration file.]
EPiServer.Configuration.Settings.TryGetCurrentSettings(Dictionary`2 all, Settings& current) +230
EPiServer.Configuration.Settings.InitializeAllSettings(Configuration config) +501
EPiServer.Configuration.Settings.InitializeAllSettings() +29
EPiServer.Configuration.Settings.get_Instance() +40
EPiServer.Global.InitializeEventService() +32
EPiServer.Global..ctor() +419
ASP.global_asax..ctor() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\505ca084\e30ba8bd\App_global.asax.h-5od5ss.0.cs:0
[TargetInvocationException: Ett undantagsfel har inträffat i målet för en aktivering.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261
System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1036
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +114
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +184
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +106
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +340
Versionsinformation: Microsoft .NET Framework-version:2.0.50727.832; ASP.NET-version:2.0.50727.832
-------------------------------------------------------------
Anyone that have got an idea to a solution are welcome to reply.