Copied to clipboard

Flag this post as spam?

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


  • Saidi Oussama 28 posts 211 karma points
    Jul 27, 2018 @ 08:44
    Saidi Oussama
    0

    Errors after upgrading

    Hi, I am upgrading from Umbraco 4.11.3.1 to 6.0.7. After updating dlls and merge files during site launches I have this error in umbraco. Core.

    enter image description here

    Error Message

    Server error in the '/' application.
    Method not found: 'Umbraco.Core.MacroErrorBehaviour umbraco.UmbracoSettings.get_MacroErrorBehaviour ()'.
    Description: An unhandled exception occurred while executing the current web request. Check the stack trace for more information on the error and its origin in the code.
    
    Exception Details: System.MissingMethodException: Method not found: 'Umbraco.Core.MacroErrorBehaviour umbraco.UmbracoSettings.get_MacroErrorBehaviour ()'.
    
    Source error:
    
    An unhandled exception occurred while executing the current web request. Information about the origin and location of the exception can be identified using the exception stack trace below.
    
    Trace of the pile:
    
    
    [MissingMethodException: Method not found: 'Umbraco.Core.MacroErrorBehaviour umbraco.UmbracoSettings.get_MacroErrorBehaviour ()'.]
       umbraco.macro.renderMacro (Hashtable pageElements, Int32 pageId) +0
       umbraco.presentation.templateControls.Macro.CreateChildControls () +1420
       System.Web.UI.Control.EnsureChildControls () +106
       umbraco.presentation.templateControls.Macro.OnInit (EventArgs e) +44
       System.Web.UI.Control.InitRecursive (Control namingContainer) +166
       System.Web.UI.Control.InitRecursive (Control namingContainer) +370
       System.Web.UI.Control.InitRecursive (Control namingContainer) +370
       System.Web.UI.Control.InitRecursive (Control namingContainer) +370
       System.Web.UI.Control.InitRecursive (Control namingContainer) +370
       System.Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1598
    
    Version Information: Microsoft .NET Framework Version: 4.0.30319; ASP.NET Version: 4.7.3056.0
    

    Thank you for help

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Jul 27, 2018 @ 08:51
    Jan Skovgaard
    0

    Hi Saidi and welcome to our :-)

    This forum is english only since we would otherwise have a weird mix of all kinds of language and then it restricts people from helping out too.

    So can you please edit your original post to be in english please? Then it will be a lot easier for people to help you out.

    Also you probably need to translate what the error message says.

    Thank you!

    /Jan

  • Saidi Oussama 28 posts 211 karma points
    Jul 27, 2018 @ 08:59
    Saidi Oussama
    1

    Hello Jan thank you for reply. post translated to english :)

  • Saidi Oussama 28 posts 211 karma points
    Jul 27, 2018 @ 09:17
    Saidi Oussama
    0

    And when trying to get to backOffice I get this :

    Erreur du serveur dans l'application '/'.
    Méthode introuvable : 'Void Umbraco.Core.ActionsResolver..ctor(System.Collections.Generic.IEnumerable`1<System.Type>)'.
    Description : Une exception non gérée s'est produite au moment de l'exécution de la requête Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code. 
    
    Détails de l'exception: System.MissingMethodException: Méthode introuvable : 'Void Umbraco.Core.ActionsResolver..ctor(System.Collections.Generic.IEnumerable`1<System.Type>)'.
    
    Erreur source: 
    
    Une exception non gérée s'est produite lors de l'exécution de la requête Web actuelle. Les informations relatives à l'origine et l'emplacement de l'exception peuvent être identifiées en utilisant la trace de la pile d'exception ci-dessous.
    
    Trace de la pile: 
    
    
    [MissingMethodException: Méthode introuvable : 'Void Umbraco.Core.ActionsResolver..ctor(System.Collections.Generic.IEnumerable`1<System.Type>)'.]
       umbraco.BusinessLogic.Actions.Action.ReRegisterActionsAndHandlers() +0
       umbraco.BusinessLogic.Actions.Action..cctor() +170
    
    [TypeInitializationException: Une exception a été levée par l'initialiseur de type pour 'umbraco.BusinessLogic.Actions.Action'.]
       umbraco.BusinessLogic.Actions.Action.GetJavaScriptFileReferences() +0
       umbraco.cms.presentation._umbraco.RenderActionJS() +49
       umbraco.cms.presentation._umbraco.Page_Load(Object sender, EventArgs e) +2142
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       System.Web.UI.Control.OnLoad(EventArgs e) +106
       umbraco.BasePages.BasePage.OnLoad(EventArgs e) +38
       System.Web.UI.Control.LoadRecursive() +68
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785
    
    Informations sur la version : Version Microsoft .NET Framework :4.0.30319; Version ASP.NET :4.7.3056.0
    
  • Saidi Oussama 28 posts 211 karma points
    Aug 03, 2018 @ 12:12
    Saidi Oussama
    101

    Resolved, it seems that when build new assembly not being copied and the old ones are used.

Please Sign in or register to post replies

Write your reply to:

Draft