Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bhavesh Jadav 35 posts 144 karma points
    Nov 25, 2016 @ 07:05
    Bhavesh Jadav
    0

    Installing 2nd umbraco in virtual folder/app of main umbraco

    Trying to install a 7.3 umbraco site as a virtual folder/app of another umbraco install. The error I'm receiving is the following. Does anyone have any ideas?

    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.Configuration.ConfigurationErrorsException: Invalid key value.

    [ConfigurationErrorsException: Invalid key value.] System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult) +278 System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject) +2039 System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) +2022 System.Configuration.BaseConfigurationRecord.GetSection(String configKey) +79 Umbraco.Core.Configuration.UmbracoConfig..ctor() +143 Umbraco.Core.Configuration.UmbracoConfig.<.cctor>b__0() +31 System.Lazy1.CreateValue() +709 System.Lazy1.LazyInitValue() +191 Umbraco.Web.WebBootManager.CreateServiceContext(DatabaseContext dbContext, IDatabaseFactory dbFactory) +146 Umbraco.Core.CoreBootManager.Initialize() +807 Umbraco.Web.WebBootManager.Initialize() +134 Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +246

    [HttpException (0x80004005): Invalid key value.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +544 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +186 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +402 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +343

    [HttpException (0x80004005): Invalid key value.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +579 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +112 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +712

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1069.1

  • Jonathan Richards 288 posts 1742 karma points MVP
    Nov 30, 2016 @ 18:00
    Jonathan Richards
    0

    Hi,

    To the best of my knowledge Umbraco doesn't work when you try to setup in a virtual directory - this is something many try, and then realize it doesn't work because too many packages (Those that use WebAPI) make presumptions that break it. Though in your case, you have it falling over before you get there.

    Sorry, to be of little help. Maybe think about using subdomains instead.

    Cheers

Please Sign in or register to post replies

Write your reply to:

Draft