![]() |
|
|
|||||||
![]() |
ASP Net - Parser Error Message: Could not load type '_Default'. |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
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. 3Dfelix |
|
|
|
|
#2 |
|
Posts: n/a
|
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. tdavisjr |
|
|
|
#3 |
|
Posts: n/a
|
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" <> escribió en el mensaje news: oups.com... > 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. > 3Dfelix |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Eclipse - Axis2 - Java Webservices Error | amanjsingh | Software | 1 | 10-09-2007 09:03 AM |
| Need help on Modelsim VHDL syntax? ASAP:) | kaji | General Help Related Topics | 0 | 03-14-2007 10:43 PM |
| Need help on a Modelsim VHDL Syntax? ASAP:) | kaji | Software | 0 | 03-14-2007 10:43 PM |
| Need Help on a Modelsim VHDL Syntax....ASAP:) | kaji | Hardware | 0 | 03-14-2007 10:41 PM |
| Parser Error Message: Could not load type 'Microsoft.SharePoint.ApplicationPages.Glob | rasmita | General Help Related Topics | 0 | 09-05-2006 05:49 AM |