Unable to open Admin Portal. In logs: "The model item passed into the dictionary is of type 'AccessPortal.Web.Models.LoginViewModel', but this dictionary requires a model item of type 'AccessPortal.Web.Models.AdminViewModel'."

Symptoms 
  • Admin Portal is unreachable
And
  • logs show: [*]  ERROR  ASP.pages_errors_error_aspx  EXECUTING USER: Domain\User -  Unhandled exception in the Access Portal: System.InvalidOperationException:   The model item passed into the dictionary is of type 'AccessPortal.Web.Models.LoginViewModel', but this dictionary requires a model item of type 'AccessPortal.Web.Models.AdminViewModel'.  

Cause

  • Bug solved in Admin Portal version 3.4.8.7.

Solution