Results 1 to 2 of 2

Thread: Error on Line 1

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2002
    Posts
    59

    Question Error on Line 1

    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.

    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

  2. #2
    Hyperactive Member
    Join Date
    Dec 2001
    Location
    Dublin, Ireland
    Posts
    262
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width