I get the below error when I open that particular aspx page.
Server Error in '/' Application.
Parser Error
Description:| Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Incident.aspx.cs" Inherits="METLIFE.CSPM.CCTReporting.UI.Incident" %>Line 2: Line 3: |
Source File: /Incident.aspx Line: 1
Version Information:
Microsoft .NET Framework Version:2.0.50727.3649; ASP.NET Version:2.0.50727.3634 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: 'METLIFE.CSPM.CCTReporting.UI.Incident' is not allowed here because it does not extend class 'System.Web.UI.Page'.
Source Error:

Iftikar HussainRank #423 · 5.9K reputationPosted Aug 4, 2013, 11:03 PM EDT
Iftikar
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 2, 2013, 4:53 AM EDT
Can you please share your aspx and code behind code?
in code behind it should be
Regards,
Iftikar
Akhil MittalRank #133 · 16.9K reputationPosted Aug 2, 2013, 7:15 AM EDT
Vignesh KumarRank #1,579 · 1K reputationPosted Aug 4, 2013, 9:57 PM EDT
Here is the attachment where I am facing problem.
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 4, 2013, 10:06 PM EDT
Regards,
Iftikar
Vignesh KumarRank #1,579 · 1K reputationPosted Aug 4, 2013, 10:19 PM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 4, 2013, 10:24 PM EDT
and also please check the ControlToValidate property of RequiredFieldValidator weather you have assigned correct control id or not
Regards,
Iftikar
Vignesh KumarRank #1,579 · 1K reputationPosted Aug 4, 2013, 11:00 PM EDT
I have made all the changes you mentioned and now I get this error.