troubleshooting Question

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)

Avatar of dba123
dba123 asked on
ASP.NET
5 Comments3 Solutions4979 ViewsLast Modified:
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
...
ASKER CERTIFIED SOLUTION
bsdotnet

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 3 Answers and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros