Server Error in '/AFCTours' Application.

Parser Error

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

Parser Error Message: 'AfcTours.home' is not allowed here because it does not extend class 'System.Web.UI.Page'.

Source Error:


Line 1:  <%@ Register TagPrefix="Common" Namespace="Common" Assembly="AFCTours" %>
Line 2:  
Line 3:  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="home.aspx.cs" Inherits="AfcTours.home" %>
Line 4:  
Line 5:  <%@ Register TagPrefix="uc" TagName="searchnew" Src="~/Controls/searchnew.ascx" %>

Source File: /afctours/home.aspx    Line: 3


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0