Copied to clipboard

Flag this post as spam?

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


  • Timothy Baxter 1 post 71 karma points
    Jul 23, 2024 @ 15:04
    Timothy Baxter
    0

    ModelBindingException Error

    Hi there! I am new to Umbraco and I am getting an error I can't seem to fix. Basically I have my site set up, and I have a separate tree with Resources in it, which is supposed to display information relevant to the users current topic they are looking at. I get the following error when I try to preview the page or follow a link to it.

    ModelBindingException: Cannot bind source content type Umbraco.Cms.Web.Common.PublishedModels.Mdmwresources to model type USNSiteBuilder.Core.Models.SiteBuilderBaseViewModel. The source is a ModelsBuilder type, but the view model is not.

    If I move the Resources to make them a child of the Homepage it resolves the issue, and it all works fine, but I need them to be stored outside the site as they may have to be reused in new site at some stage.

    I am using Umbraco v13.3.0 and uSkinned v6.1.2.

  • 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