Click here to Skip to main content
12,882,639 members (30,114 online)
Rate this:
Please Sign up or sign in to vote.
This error in my system please guide me what i do.

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" "">
Source File: /Default.aspx    Line: 1
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
Posted 27-Nov-12 18:09pm
pryashrma 28-Nov-12 0:17am
replace Inherits="NewTestProject._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)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170422.1 | Last Updated 28 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100