Copied to clipboard

Flag this post as spam?

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


  • BEWD 64 posts 216 karma points
    Aug 26, 2016 @ 07:50
    BEWD
    0

    Error causing the application to restart after a doc type change

    Hi All

    I am working on a site in Umbraco 7.4.3 but on a regular basis after returning to the site after making a change to a doc type I get the following error

    Cannot bind source content type Umbraco.Web.PublishedContentModels.HomePage to model content type Umbraco.Web.PublishedContentModels.HomePage. Types come from two PureLive assemblies with different versions, this usually indicates that the application is in an unstable state. The application is restarting now, reload the page and it should work.

    If I refresh the page then the site returns back to normal and can run fine until another change it made to a doc type.

    Does anyone have any idea what is causing this?

    Thanks

    Ben

  • Marc Goodson 940 posts 6255 karma points MVP 4x c-trib
    Aug 27, 2016 @ 08:54
    Marc Goodson
    101

    Hi BEWD

    Yes this is an issue with the Models builder and Pure Live Models in 7.4.x

    http://issues.umbraco.org/issue/U4-8043

    essentially it seemed the document type change correctly triggers the pure live models to generate, but not the views that use them, so you get two versions of the same model existing at the same time.

    Recycling the app pool causes the views to recompile, bring the site up.

    there was a part fix in 7.4.2 that didn't fully fix it, and spawned this follown on issue:

    http://issues.umbraco.org/issue/U4-8210

    which is reportedly fixed in v7.5

    regards

    marc

  • BEWD 64 posts 216 karma points
    Aug 27, 2016 @ 09:26
    BEWD
    0

    Excellent cheers Marc, its good news to know that it was not something that I had done wrong in my build.

    I will look at doing my first Umbraco upgrade from 7.4.3 to 7.5.2 to see if that helps.

    Any tips?

  • Marc Goodson 940 posts 6255 karma points MVP 4x c-trib
    Aug 27, 2016 @ 11:43
    Marc Goodson
    0

    Hi BEWD

    The upgrading info is generally pretty much all here:

    https://our.umbraco.org/documentation/getting-started/setup/upgrading/general

    main thing back up your db and files!!

    and if your site is live, do the upgrade on a copy of the site first, to make sure everything works!!

    regards

    Marc

  • Blake Clerke 96 posts 305 karma points
    Jun 13, 2019 @ 14:18
    Blake Clerke
    0

    It looks like this error is back in v8. I am getting the same error every time I make a doctype change as well (just has my doctype alias in it).

  • Graeme Benzie 2 posts 72 karma points
    Jul 10, 2019 @ 15:34
    Graeme Benzie
    0

    I'm seeing this in V8 also

  • BEWD 64 posts 216 karma points
    Jul 10, 2019 @ 15:49
    BEWD
    1

    Hi Blake & Graeme

    I can as well confirm that I am again receiving this error in 8.0.2

    Ben

  • Blake Clerke 96 posts 305 karma points
    Jul 19, 2019 @ 14:24
    Blake Clerke
    0

    I've upgraded to 8.1 and no longer have this issue.

Please Sign in or register to post replies

Write your reply to:

Draft