Copied to clipboard

Flag this post as spam?

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


  • Marco 6 posts 106 karma points
    Jun 21, 2017 @ 22:42
    Marco
    0

    Umbraco.ModelsBuilder.dll error on server

    I have a problem when the site is online. When i try to go to Umbraco backoffice i get an error that says "Could not load file or assembly "Umbraco.ModelsBuilder" or one of its dependencies. The system cannot find the file specified" but the dll exist in the bin folder. When i test the project in local it works perfectly. I publish my site with Visual Studio 2015. Could anyone give me some advices? Sorry for my bad english. Thanks

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Jun 26, 2017 @ 23:02
    Alex Skrypnyk
    0

    Hi Marco

    What version of Umbraco are you using?

    Do you have ModelsBuilder settings in your web.confog?

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

    Thanks,

    Alex

  • Matthew Kirschner 323 posts 611 karma points
    Nov 16, 2017 @ 15:14
    Matthew Kirschner
    0

    I'm having this issue on Umbraco 7.7.6. Works on localhost, but the server throws the error in OP's comment: Could not load file or assembly 'Umbraco.ModelsBuilder' or one of its dependencies

    The DLL is present in /bin and I have ModelsBuilder enabled in LiveAppData mode.

    This only happens for an asset in a reserved path outside of the Umbraco context, which doesn't use ModelsBuilder or any Umbraco at all, it's a simple HTML file.

    The error is thrown on this line of the web.config:

    <add assembly="Umbraco.ModelsBuilder" />
    

    Compared to the other assembly references the above is missing a version, culture, and token.

Please Sign in or register to post replies

Write your reply to:

Draft