Could not load type



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


.



Relevant Pages

  • Re: Could not load type
    ... Jim just recomplie it ... > In Web Developer Express I make a very simple aspx page. ... > details and modify your source file appropriately. ... > Parser Error Message: ...
    (microsoft.public.dotnet.framework.aspnet)
  • classfile has wrong name WRT package?
    ... Volume in drive C has no label. ... HelloWorldApp (wrong name: thufir/bonjour/Hel ... package thufir.bonjour; ... The HelloWorldApp.java source file says that it's in package ...
    (comp.lang.java.help)
  • Re: CVS versioning
    ... > CVS assign to every source file a version. ... We don't use CVS but I imagine something similar to this ... changes prior to the change used to generate the build #. ... In that case, I could create a label, giving it the ...
    (comp.programming)
  • Generate files: web.config + others
    ... I develop a very simple web site in ASP.net 2.0 using Web Developer Express. ... The page has a button and label, pressing the button changes the text of the ... I can run the website by pressing CTRL-F5. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: label problem
    ... My label will always be 10 characters (product ... so I can convert the labels to the same format as my source file ... >> Is there a better way to do this conversion? ...
    (microsoft.public.excel.worksheet.functions)