J
Jim McGivney
In Web Developer Express I make a very simple aspx page. The page name is
Hoho.aspx. The page has a label, the label text is "Hello World".
To test the page on my computer, I press CTRL-F5 and the page loads and
displays the message.
I now use Copy Web Site from the Website menu to copy all files to my hosted
website (ASP.net 2.0). I navigate in IE6 to my new aspx page and I get the
message:
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 '_Hoho'.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Hoho.aspx.cs" Inherits="_Hoho" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: E:\web\winidcom000\htdocs\Hoho.aspx Line: 1
_________________________________________________________
The code of my CS page is:
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class _Hoho : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
What do I need to do to get this simple page to run ?
Thanks in advance for your help,
Jim
Hoho.aspx. The page has a label, the label text is "Hello World".
To test the page on my computer, I press CTRL-F5 and the page loads and
displays the message.
I now use Copy Web Site from the Website menu to copy all files to my hosted
website (ASP.net 2.0). I navigate in IE6 to my new aspx page and I get the
message:
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 '_Hoho'.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Hoho.aspx.cs" Inherits="_Hoho" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: E:\web\winidcom000\htdocs\Hoho.aspx Line: 1
_________________________________________________________
The code of my CS page is:
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class _Hoho : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
What do I need to do to get this simple page to run ?
Thanks in advance for your help,
Jim