Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
This error in my system please guide me what i do.

XML
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: Could not load type 'NewTestProject._Default'.

Source Error:


Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="NewTestProject._Default" %>
Line 2:
Line 3:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Source File: /Default.aspx    Line: 1

Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
Posted
Comments
pryashrma 28-Nov-12 0:17am    
replace Inherits="NewTestProject._Default"
with
Inherits="_Default"
Yasir Farooq 28-Nov-12 0:29am    
Same error i try it before. project name is NewTestProject and page Default.aspx
Same Error in all other pages too.
pryashrma 28-Nov-12 0:36am    
inherits="classname in codebehind"
Yasir Farooq 28-Nov-12 0:39am    
namespace NewTestProject
{
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
}
}

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900