Copied to clipboard

Flag this post as spam?

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

  • Simon Czerwinski 10 posts 101 karma points
    1 week ago
    Simon Czerwinski

    Problem upgrading from 7.6.14 to 7.7.0 with UCodeFirst. Could not load type 'umbraco.BusinessLogic.UserType'


    I have a problem upgrading Umbraco CMS from 7.6.14 to 7.7.0.

    The issue says "Could not load type 'umbraco.BusinessLogic.UserType' from assembly 'businesslogic".

    Was checking if there was a solution to this thread:

    But no success there. I have tryed everything soon.. Deleting App_Data, Cache and all the files that usually gets problem like this.

    I'm using UCodeFirst for modelling the API since version 7.5.3.

    Does someone have the same problem with the businesslogic? How can the dll still be focusing on something that is gone, regarding ?

    Best regards, Simon

  • Marc Goodson 1482 posts 9934 karma points MVP 5x c-trib
    1 week ago
    Marc Goodson

    Hi Simon

    Do you need an upgraded version of uCodeFirst that will work with 7.7.0?

    I'm guessing it has reference to the UserType, to enable people to build Umbraco sites using 'code first' approach, and this was removed in 7.7.0 and above, and as you've found listed as a breaking change.

    so I figure there might be an upgraded version of uCodeFirst that is aware of this?



  • Simon Czerwinski 10 posts 101 karma points
    6 days ago
    Simon Czerwinski

    Hi Marc,

    Thank you for the respons!

    Yes exacly! You are right, I might need to upgrade the uCodeFirst package! I thought that the package didn't connect to Umbracos DLL files so deep, but it does do that unfortunately.

    The library I have in my project don't have any documentation at all either.. So it was hard to identify the owner of the package. But I think I'll give BlueLeets package a try that you linked and see if I can figure it out!

    I might need to change the code a bit for my modeling.

    Thank you again for the respons, I will tell you if I get it working!

    Best regards, Simon

Please Sign in or register to post replies

Write your reply to: