Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Error loading page from a Web server


Message #1 by "Sergiy" <sergiy@x...> on Tue, 16 Jul 2002 17:22:59 +1200
Hi,

Can anyone help me with this problem?
I made several aspx pages and tested them ata IIS server on my computer.
All pages worked well at the local host, but after uploading to the Web
server I have got such message:
'Could not load type 'tower2.WebForm2'
The aspx file is: 'Search.aspx'

The very first line caused an error:
Line 1:  <%@ Page Language="vb" Debug = "true" Codebehind="Search.vb"
Inherits="tower2.WebForm2" %>
Line 2:  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 //EN">
Line 3:  <HTML>


The class name in the file 'Search.vb'  named   'WebForm2', so it seems that
the browser cannot find the class 'WebForm2'? The beginning of the file
Search.vb:

Imports System.Data.OleDb

Public Class WebForm2
    Inherits System.Web.UI.Page
.

What should be done to make it work properly?

Thanks,

Sergiy



  Return to Index