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.
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.
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.
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.
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.
Hi Jason,
Are you running the project locally? via Visual Studio?
Thanks,
Alex
I am running locally with Visual Studio, and I'm using the PureLive model builder.
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.
Finally figured it out, in case anyone else has this same issue. For some reason my Master template had the following:
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.is working on a reply...
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.