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

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello, I'm starting with Visual Web Developper and ASP.NET 2.0.

In order to test my remote server, I created an "hello word" aplication,
that is working on local server. I have copied all document to remote server
using FTP.

The error that I have is the following:

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



Could someone helping me with this error? Manythanks.



.