dba123
asked on
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.asc x" %>
<%@ Register TagPrefix="HD" TagName="HEADER" Src="header.ascx" %>
<%@ Register TagPrefix="FT" TagName="FOOTER" Src="footer.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Inherits="elbalazo.caterin g_form" CodeFile="catering_form.as px.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
...
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.asc
<%@ Register TagPrefix="HD" TagName="HEADER" Src="header.ascx" %>
<%@ Register TagPrefix="FT" TagName="FOOTER" Src="footer.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Inherits="elbalazo.caterin
<%@ Register TagPrefix="cc1" Namespace="CalendarControl
<!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
this isn't my server...it's an ISP that I pay for...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
try this:
stop the server and delete temporary ASP.NET files.
start the server