Copied to clipboard

Flag this post as spam?

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


  • Oliver Marshall 3 posts 73 karma points
    Jan 05, 2017 @ 16:43
    Oliver Marshall
    0

    Values cannot be returned until Resolution is frozen

    Hi,

    I've been trying to upgrade a site with version 4.5.2 to the latest version with the upgrade path:

    4.5.2 > 4.6.1 > 4.7.1 > 4.8.1 > 4.9.0 > 4.11.1 > 6.0.0 > 6.2.6 > 7.0.0 > 7.5.6

    But I've gotten stuck upgrading from 4.9.0 to 4.11.1.

    To upgrade I did the following:

    1. Download the 4.11.1 version from here (http://code.leekelleher.com/umbraco/archive/).
    2. Copy across the following folders:
      • bin
      • install
      • config
      • umbraco
      • umbracoclient
      • Appplugins
      • Views
    3. Delete the files:
      • /bin/umbraco.linq.core.dll
      • /bin/AppBrowsers.dll
      • /bin/Appglobal.asax.dll
      • /Config/formHandlers.config

    After the login page loaded just fine, but after I logged into the admin panel I get the error from the title with the following stack trace:

    [InvalidOperationException: Values cannot be returned until Resolution is frozen]
       Umbraco.Core.ObjectResolution.ManyObjectsResolverBase`2.get_Values() +843
       umbraco.BusinessLogic.Actions.Action.GetJavaScriptFileReferences() +29
       umbraco.cms.presentation._umbraco.RenderActionJS() +83
       umbraco.cms.presentation._umbraco.Page_Load(Object sender, EventArgs e) +1706
       umbraco.BasePages.BasePage.OnLoad(EventArgs e) +19
       System.Web.UI.Control.LoadRecursive() +71
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178
    

    I've seen from other answers to delete and then re-add the global.asax file but I can't find one in the project.

    I'm not the developer for this project and haven't worked with Umbraco before but I would appreciate any help.

    Many Thanks,

    Oliver

  • Nicholas Westby 2054 posts 7104 karma points c-trib
    Jan 05, 2017 @ 17:15
    Nicholas Westby
    0

    FYI, you should not need to perform a bunch of intermediate upgrades. You should be able to go directly from 4.5.2 to 7.5.6.

  • Oliver Marshall 3 posts 73 karma points
    Jan 06, 2017 @ 09:23
    Oliver Marshall
    0

    When I tried a direct upgrade I got a different error message, so I did some research and was following this blog post (http://www.blix.co/blog/2014/6/5/follow-the-path-upgrading-umbraco-from-v4-to-v7.aspx) of a very similar upgrade to mine.

    The error I got when upgrading directly to 7.5.6 is:

    Could not load type 'umbraco.presentation.umbracobase.requestModule'.

    With the following stack trace:

    [HttpException (0x80004005): Could not load type 'umbraco.presentation.umbracobase.requestModule'.]
       System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +12535893
       System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +76
    
    [ConfigurationErrorsException: Could not load type 'umbraco.presentation.umbracobase.requestModule'.]
       System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +12449516
       System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement) +69
       System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) +62
       System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) +299
       System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) +1262
       System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +133
       System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +353
       System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
       System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475
    
    [HttpException (0x80004005): Could not load type 'umbraco.presentation.umbracobase.requestModule'.]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12642964
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12482369
    
  • Nicholas Westby 2054 posts 7104 karma points c-trib
    Jan 06, 2017 @ 16:20
    Nicholas Westby
    0

    Take a look at this: https://our.umbraco.org/forum/using/ui-questions/40055-Media-Preview-basefolderbrowserservicegetchildren-basefolderbrowserservicegetchildren#comment-162944

    It looks like umbraco.presentation.umbracobase.requestModule is a part of an old version of Umbraco. You may need to remove it from your web.config (with such a major Umbraco upgrade, you can expect a ton of changes to the web.config).

  • Oliver Marshall 3 posts 73 karma points
    Jan 06, 2017 @ 18:53
    Oliver Marshall
    0

    Hmm, I replaced those lines with the ones suggested and got a new different error.

    I think you're right I would just have to go through the web.config for things that need updating.

    I've talked to my boss however and he thinks he can make it work with a much lower version as it only needs to work for a short while another site is built.

    Many thanks for all your help though.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies