Hello,
I have two masterpages in my current project. One is intended for the restricted pages (those located in the Restricted subfolder) and the other is intended for public pages (those not located in the Restricted folder).
Pasted below is the first line of my "restricted" master page:
<%@ Master Language="VB" CodeFile="broker.master.vb" Inherits="MasterPage" %>
Note that the masterpage for public pages is MasterPage.master while the masterpage for restricted pages is broker.master.
I receive the following error when attempting to compile the broker.master file:
error 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).
Can anyone explain what I need to do to correct this error?
Thanks,
Sid