Server Error in '/' 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: The base class includes the field 'Search1', but its type (AryaSmartLand.Controls.Search) is not compatible with the type of control (ASP.controls_search_ascx).

Source Error:


Line 2:  <%@ Register src="Controls/Search.ascx" tagname="Search" tagprefix="uc1" %>
Line 3:  <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
Line 4:      <uc1:Search ID="Search1" runat="server" />
Line 5:  </asp:Content>

Source File: /Search.aspx    Line: 4


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