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 79 posts 296 karma points
    Sep 02, 2019 @ 16:53
    Saif Obeidat

    "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 6112 posts 23616 karma points MVP 7x admin c-trib
    Sep 02, 2019 @ 20:19
    Alex Skrypnyk

    Hi Saif

    Can you show all code of your view?

    What datatype is "innerImage"?



  • Shaishav Karnani from 353 posts 1637 karma points
    Sep 03, 2019 @ 05:08
    Shaishav Karnani from

    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.



  • Arunabha Das 38 posts 151 karma points
    Sep 10, 2019 @ 07:49
    Arunabha Das

    Hi Shaishav,

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

  • Saif Obeidat 79 posts 296 karma points
    Sep 12, 2019 @ 08:39
    Saif Obeidat

    Hi Shaishav,

    can you provide more details ?

  • Saif Obeidat 79 posts 296 karma points
    Sep 24, 2019 @ 06:57
    Saif Obeidat

    It seems that this issue was happening because there were two running projects connected to the same database. I think It's something related to the "Caching Process".

Please Sign in or register to post replies

Write your reply to: