Copied to clipboard

Flag this post as spam?

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


  • Saif Obeidat 40 posts 163 karma points
    21 days ago
    Saif Obeidat
    0

    "Umbraco.Web.PublishedModels.Image" and cannot be used in this generic collection

    Hi guys,

    I face this error sometimes when I just open any page!

    The value "Umbraco.Web.PublishedModels.Image" is not of type "Umbraco.Web.PublishedModels.Image" and cannot be used in this generic collection.
    

    enter image description here

    I just rebuild the project and it gets solved...

    how to solve it ?

  • Alex Skrypnyk 5333 posts 19647 karma points MVP 3x admin c-trib
    20 days ago
    Alex Skrypnyk
    0

    Hi Saif

    Can you show all code of your view?

    What datatype is "innerImage"?

    Thanks,

    Alex

  • Shaishav Karnani from digitallymedia.com 277 posts 1264 karma points
    20 days ago
    Shaishav Karnani from digitallymedia.com
    0

    Hi Saif,

    Please can you add following in the web.config of views folder. Also namespace where models are being created. In my case, we have created it in below namespace.

    I think this should help you to fix issue.

    Regards,

    Shaishav

  • Arunabha Das 36 posts 149 karma points
    1 week ago
    Arunabha Das
    0

    Hi Shaishav,

    Can you please let us know, what we need to add and where exactly

  • Saif Obeidat 40 posts 163 karma points
    1 week ago
    Saif Obeidat
    0

    Hi Shaishav,

    can you provide more details ?

Please Sign in or register to post replies

Write your reply to:

Draft