Page Type with class name not found

Srishti Saxena asked on January 9, 2021 18:35

Hi Team, I am new to Kentico and going through the Kentico 12 MVC Training Course using the MedioClinic poc.On running the MVC project for live site I am getting the below error. Could someone please help me with this.

Server Error in '/Kentico12_MedioClinic' Application. Page type with 'MedioClinic.HomeSection' class name not found. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: CMS.DocumentEngine.DocumentTypeNotExistsException: Page type with 'MedioClinic.HomeSection' class name not found. Source Error: Line 38: { Line 39: var query = DocumentHelper.GetDocuments

Recent Answers


Juraj Ondrus answered on January 11, 2021 06:36

Have you created the page type? What is the code name of your page type and have you copied the generated classes from the admin app over to the MVC app?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.