Error loading page from a Web server.
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?