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: 'RayanWebsite.Default' is not allowed here because it does not extend class 'System.Web.UI.Page'.

Source Error:


Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="RayanWebsite.Default" %>
Line 2:  
Line 3:  <!DOCTYPE html>

Source File: /Default.aspx    Line: 1


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