Hi there, I am stuck at Page 210 step 6 when the exercise ask us to inherit basepage for all our pages in our site. Initially I changed Login.aspx page to inherit BasePage, it worked fine, I can see that exception when there is no title on the Login.aspx page. I then changed Default.aspx and Frontend.master to inherit BasePage. After I have done it, I can't view all my pages at the browser. I have even entered the title of the pages but i still get the following error. I have tried to undo the BasePage steps but I still get the following error.
I keep getting the following error, please help.
Server Error in '/' Application.
Compilation Error
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 Error Message: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).
Source Error:
Line 1:
Line 2: Partial Class MasterPages_Frontend
Line 3: Inherits System.Web.UI.Page
Line 4: End Class
Source File: C:\BegASPNET\Site\MasterPages\Frontend.master.
vb Line: 2