Copied to clipboard

Flag this post as spam?

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


  • Jason Halliday 4 posts 94 karma points
    Mar 18, 2020 @ 16:48
    Jason Halliday
    0

    Need help, can't load any doctypes except my Homepage.

    I'm using Umbraco 8.5.3 and ran into the below issue yesterday. I've seen it before, but usually it goes away by refreshing the page or re-saving the doctype.

    Cannot bind source content type Umbraco.Web.PublishedModels.ServicesAndSolutions to model type Umbraco.Web.PublishedModels.Home. Both view and content models are PureLive, with same version. The application is in an unstable state and should be restarted.

    I have a pretty basic install, nothing fancy. My home page loads fine, but any other doctype returns this error. I've tried reloading the modelsbuilder, editing the web config, clearing the models and cache folders in my project and rebuilding etc. I'm working Visual Studio on my local machine.

    Any help would be much appreciated.

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Mar 18, 2020 @ 22:11
    Alex Skrypnyk
    0

    Hi Jason,

    Are you running the project locally? via Visual Studio?

    Thanks,

    Alex

  • Jason Halliday 4 posts 94 karma points
    Mar 18, 2020 @ 22:28
    Jason Halliday
    0

    I am running locally with Visual Studio, and I'm using the PureLive model builder.

  • Jason Halliday 4 posts 94 karma points
    Mar 19, 2020 @ 19:49
    Jason Halliday
    0

    Tried a clean install with a new database, recreated my doctypes and templates, and still get the same exact issue. Home doctype/template loads fine, but as soon as I create a second doctype/template the page returns the original error. Out of ideas.

  • Jason Halliday 4 posts 94 karma points
    Mar 19, 2020 @ 22:42
    Jason Halliday
    100

    Finally figured it out, in case anyone else has this same issue. For some reason my Master template had the following:

    @inherits Umbraco.Web.Mvc.UmbracoViewPage<Home>
    

    Not sure why this was the case but inheriting from the Home doctype was obviously conflicting with the doctypes of my child pages. Removing the <Home> from the end fixed the issue.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies