CodeCloudy

Azure | .Net | JQuery | Javascript | Umbraco

Umbraco Life Savers

Error:

The model item passed into the dictionary is of type ‘Umbraco.Web.Models.PartialViewMacroModel’, but this dictionary requires a model item of type ‘CWSStart.Web.Models.LoginViewModel’.

Solution:

http://stackoverflow.com/questions/28708282/this-dictionary-requires-a-model-item-of-type-umbraco-web-models-partialviewmac

The issue was that another member of my team had created a Banner.cshtml file in /Views/MacroPartials and this Partial View was being loaded instead of my one.

My case:

i had a view with the same name on the AuthSurface folder and in the views folder.

 

Advertisements
Leave a comment »