Copied to clipboard

Flag this post as spam?

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

  • Evangelos Lolos 7 posts 98 karma points
    Feb 13, 2016 @ 17:58
    Evangelos Lolos

    Models Builder error when Upgrading to 7.4.0

    When trying to upgrade to 7.4.0 from 7.4.0-beta2, I'm getting the following error:

    Method not found: 'Boolean Umbraco.ModelsBuilder.Configuration.Config.get_EnableLiveModels()'.

    I've tried this several times, also tried changing the configuration values for ModelsBuilder.

    Any suggestions? The recently integrated Models Builder package seems to lack documentation for the time being.

  • Sebastiaan Janssen 4968 posts 14970 karma points MVP admin hq
    Feb 14, 2016 @ 11:41
    Sebastiaan Janssen

    2 things:

    • If you still have Umbraco.ModelsBuilder.AspNet then make sure to remove it
    • Your web.config should contain the following 2 keys:

      <add key="Umbraco.ModelsBuilder.Enable" value="true" />

      <add key="Umbraco.ModelsBuilder.ModelsMode" value="PureLive" />

  • Evangelos Lolos 7 posts 98 karma points
    Feb 14, 2016 @ 18:00
    Evangelos Lolos

    Thank you Sebastiaan,

    It was removing the reference to Umbraco.ModelsBuilder.AspNet that resolved the error. Any ideas why it wasn't removed by the installer?

    Also, where can I find the documentation about the ModelsBuilder configuration? The github wiki for the project isn't yet updated for v3 and the configuration keys seem to have changed.

  • Sebastiaan Janssen 4968 posts 14970 karma points MVP admin hq
    Feb 14, 2016 @ 18:07
    Sebastiaan Janssen

    It just wasn't worth the time to remove something in an automated fashion that was only present in a beta version. :) Docs coming over the next few weeks!

    There's only two config options that I know of, as mentioned above, and the possible values are:

    Umbraco.ModelsBuilder.Enable : either true or false
    Umbraco.ModelsBuilder.ModelsMode : either PureLive or Dll

  • Claushingebjerg 911 posts 2481 karma points
    Feb 15, 2016 @ 21:29

    What does the model Builder actually do on a normal site? Anything?

    Im asking because it was enabled by default when i upgraded a 7.3.4 site today, making the site extremely slow due to a warning being written to the log hundreds of times pr. second:

    "Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory - No models"
Please Sign in or register to post replies

Write your reply to: