episerver / Quicksilver

EPiServer Commerce MVC Reference Architecture for Commerce 13 (.NET Framework 4.x)
Apache License 2.0
78 stars 97 forks source link

Getting Type mismatch exception #26

Closed mobad6 closed 6 years ago

mobad6 commented 6 years ago

getting error: An exception of type 'EPiServer.Core.TypeMismatchException' occurred in EPiServer.dll but was not handled in user code

Additional information: Content with id '5' is of type 'EPiServer.Core.PageData' which does not inherit required type 'EPiServer.Reference.Commerce.Site.Features.Start.Pages.StartPage'

in LoginController.cs file , line #66: StartPage startPage = _contentLoader.Get(ContentReference.StartPage);

quanmaiepi commented 6 years ago

Sorry for a very late reply, but it seems to me that that the data was not properly imported. In this case I'd suggest to recreate the databases (rerun setupdatabases.cmd), and let the migration step does it job.