Check the Inherits property in your page directive. It may have several attributes, but I suspect that it will contain at least the following:
<%@ Page Language="C#" Inherits="Page Name" %>
Change the Inherits value to the fully qualified name of the class specified in the page code behind the file, for example: MyProject.MyFaultyPage . If you do not have the code behind the file for this page, you can inherit System.Web.UI.Page .
lsuarez
source share