Search This Blog

Monday, October 15, 2007

Could not load type '_Default'

Server Error in '/DataListPage' 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 '_Default'.

Source Error:

Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" % >
Line 2:
Line 3: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
">

I'm able to run my application in Visual Studio, when try to open the application directly from IE, i get this error. After check for a while, i found that it's the problem for the ASP.NET Version that selected. After i change to ASP.NET 2.0.50727, problem solved.

3 comments:

Anonymous said...

This was PERFECT.

The exact right answer. Thank you.

Jim

Anonymous said...

Hello,

Please help me. I am getting this error at online server. Please let me know what would be the reason for this.

***************************************

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 'SplendidCRM.OutingEvents.Default'.

Source Error:


: /**********************************************************************************************************************


Source File: /OutingEvents/default.aspx Line: 1


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

***************************************

Thanks
---
http://360by2.blogspot.com/2009/01/tips-to-get-started-with-ms-internet.html

In blues said...

Try this http://support.microsoft.com/kb/320268
wish can help.

Inblues
www.encelabs.com/about.htm