aspx compiler error

I am working on the scheduler tutorial ( the one that leads to the room scheduler). I got it to the point where it loads saved events and saves new events. But I get a pop-up error message on the save event as follows:


Description: An error occurred during the compilation of a resource required to service this request. Please review the
following specific error details and modify your source code appropriately.

Compiler Eror Message: CS0246: The type or namespace name 'scheduler' could not be found(are you missing a using
directive or an assembly reference?)
Source Error:


.
.
.
Line 158:
Line 159: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 160: public class views_calendar_save_aspx : System.Web.Mvc.ViewPage%lt;scheduler.ActionResponseModel%gt;,Sys…

The project compiles OK but this message appears during runtime. Any help would be appreciated.

Thank,
Merv

Hello,
Make sure you’ve passed right class name into ‘Inherits’ attribute, maybe you have typo somewhere in class name or namespace declaration?
Also, you may try to use dynamic type for this page:
<%@ Page Language=“C#” Inherits=“System.Web.Mvc.ViewPage”

Thank you Aliaksandr for your post. That solved the problem - I used tye clause and the problem want away.