PDA

Click to See Complete Forum and Search --> : Error on Line 1


FuzzBox
Sep 30th, 2002, 07:33 AM
I have a simple Frameset page. The Main Frame Default page is called Welcome.aspx. Which should display if configured correctly. However, I get this error message:
Parser Error Message: Could not load type 'CornWoodCC.Welcome'.

It works fine on my PC though. :confused:

Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="Welcome.aspx.vb" Inherits="CornWoodCC.Welcome"%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>

I have checked my Forms line, which reads:
<form id="Welcome" method="post" runat="server"> Since the form id equates to the "Welcome" page this must be correct. Do you agree?

I can't see what else the problem could be, any ideas?

Thanks for your time :)

Musician
Oct 2nd, 2002, 05:38 PM
It can't find the class for the webpage. Have you copied the bin folder onto the new machine? This contains your compiled code in a dll that should be where the Welcome class is compiled.