Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl)

Why do I get this error?  I just converted my probject from asp 1.1 to 2.0 so I guess there is some cleanup?

Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).

aspx page:
------------

<%@ Reference Page="~/catering.aspx" %>
<%@ Register TagPrefix="HD" TagName="HEADER_JS" Src="header_javascript.ascx" %>
<%@ Register TagPrefix="HD" TagName="HEADER" Src="header.ascx" %>
<%@ Register TagPrefix="FT" TagName="FOOTER" Src="footer.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Inherits="elbalazo.catering_form" CodeFile="catering_form.aspx.vb" %>
<%@ Register TagPrefix="cc1" Namespace="CalendarControl" Assembly="Calendar" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
...

code-behind:
---------------

Imports System
Imports System.Configuration
Imports System.Data
Imports System.Text
Imports System.Data.SqlClient
Imports System.Web.Mail


Namespace elbalazo


Partial Class catering_form
    Inherits System.Web.UI.Page

    Dim DS As DataSet
...
LVL 1
dba123Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

aki4uCommented:
Hi,

try this:

stop the server and delete temporary ASP.NET files.
start the server
dba123Author Commented:
this isn't my server...it's an ISP that I pay for...
bsdotnetCommented:
a) remove the namespace "elbalazo" from Inherits
For e.g.
<%@ Page Language="vb" AutoEventWireup="false" Inherits="catering_form" CodeFile="catering_form.aspx.vb" %>

b) remove "Namespace elbalazo" in your code page (catering_form.aspx.vb)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SystemExpertCommented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.