Note that there are some explanatory texts on larger screens.

plurals
  1. POParser Error Message: 'FCR2.abs' is not allowed here because it does not extend class 'System.Web.UI.Page'
    primarykey
    data
    text
    <p>Does anyone have any idea how to solve this problem please?</p> <p>This is the Parser Error When I Run the Application:</p> <pre><code>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: 'FCR2.abs' is not allowed here because it does not extend class 'System.Web.UI.Page'. Source Error: Line 1: &lt;%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="404.aspx.cs" Inherits="FCR2.abs" %&gt; Line 2: &lt;asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server"&gt; Line 3: &lt;/asp:Content&gt; Source File: /404.aspx Line: 1 `enter code here` </code></pre> <p>This is my 404.aspx file:</p> <pre><code>&lt;%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="404.aspx.cs" Inherits="FCR2.abs" %&gt; &lt;asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server"&gt; &lt;/asp:Content&gt; &lt;asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"&gt; &lt;h2&gt;Page Not Found&lt;/h1&gt; &lt;p&gt;You have come here by mistake or the page you are trying to view is no longer availible.&lt;/p&gt; &lt;p&gt;Go back to the &lt;a href="Default.aspx"&gt;Home Page&lt;/a&gt;&lt;/p&gt; &lt;/asp:Content&gt; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; </code></pre> <p>This is the 404.aspx.cs code:</p> <pre><code>namespace FCR2 { public partial class WebForm1 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } } } </code></pre> <p>This is the 404.aspx.designer.cs code:</p> <pre><code>//------------------------------------------------------------------------------ // &lt;auto-generated&gt; // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // &lt;/auto-generated&gt; //------------------------------------------------------------------------------ namespace FCR2 { public partial class abs { } } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload