Hi,
We start working on Kentico 9 MVC (9.0.0 and 9.0.20). We are getting the same error in both hot-fixes while reading the data from Custom table. Its fine reading the data from custom table into MVC solution but problem is unable to cast with below code snippet.
Reference URL for Retrieving custom table data: https://docs.kentico.com/display/K9/Retrieving+content+on+MVC+sites
Error:Unable to cast object of type 'CMS.CustomTables.CustomTableItem' to type 'CMS.CustomTables.Types.ThingsItem'
But as per my observation its working fine with DancingGoat MVC project which is shared by Kentico and DacningGoat MVC project used Kentico 9.0.14 hotfix and Kentico.Web.Mvc 1.0.0 Nuget Package.
Is it a DLL issue or BUG in KENTICO 9 MVC Release?
Please someone help me to resolve this issue ASAP.
Thanks