Re: Parser Error Message: Could not load type '_Default'.



Hi,

I have the 3 files:
default.aspx and default.aspx.cs is a test with "hello world"
the other file is
default2.aspx, with the same code embeded. This work correctly, the other
with code behind gives the error message:


Server Error in '/w1' 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: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>

Source File: /w1/Default.aspx Line: 1


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



"tdavisjr" <tdavisjr@xxxxxxxxx> escribió en el mensaje
news:1144076343.728472.160560@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Make sure you configure your application folder on the remote server as
a virtual directory (or application folder). Some hosters allow you to
do this.



.



Relevant Pages

  • Re: Parser error
    ... Anyway, yeah...they're all under Biopsy. ... Please review the following specific parse error ... Parser Error Message: ... >> details and modify your source file appropriately. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Parser error
    ... Please review the following specific parse error ... Parser Error Message: ... >> details and modify your source file appropriately. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Problem with global.asax
    ... An error occurred during the parsing of a resource required to ... details and modify your source file appropriately. ... Parser Error Message: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Microsoft Please Help??
    ... 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: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Parse error message - repeat under managed account
    ... Server Error in '/' Application. ... An error occurred during the parsing of a resource required to ... Parser Error Message: ...
    (microsoft.public.dotnet.framework.aspnet.security)