473,385 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

ASP.NET 2 Odd Error Message

I am getting this in one of my aspx forms:

[7/25/2006 9:12 PM] Last Error=System.Web.HttpParseException: The base class
includes the field 'MCReviewControl', but its type
(Motorcycle_MCPremiumReviewControl) is not compatible with the type of
control (ASP.motorcycle_mcpremiumreviewcontrol_ascx). --->
System.Web.HttpParseException: The base class includes the field
'MCReviewControl', but its type (Motorcycle_MCPremiumReviewControl) is not
compatible with the type of control
(ASP.motorcycle_mcpremiumreviewcontrol_ascx).

My development environment does not suffer this problem, only the test
machine. Any ideas why this is happening?

Here is how I include the control into my aspx page (which has a master page):

<%@ Register TagName="MCReview" TagPrefix="MYTAG"
Src="Motorcycle/MCPremiumReviewControl.ascx" %>

I noticed that in my ASCX file, the 'deploy' project name is in the list of
"Inherited" classes. I am using the web deployment project type to create my
deployments for the web projects. Is that supposed to be in there:

inherits="Motorcycle_MCUnitControl, agents_deploy"

--
Jacob W Anderson
---
http://www.beyond-ordinary.com
http://www.accessquery.com
---
If you think it''s expensive to hire a professional to do the job, wait
until you hire an amateur.

Jul 26 '06 #1
1 2049
I converted the entire ASCX control source into a single class file and put
that into a library project. Now the control works just fine. Looks like
the subfolder was causing problems with the runtime bound control.

This web project is runtime editable. I did not try to compile the entire
project into a single DLL (need to keep it runtime editable).

--
Jacob W Anderson
---
http://www.beyond-ordinary.com
http://www.accessquery.com
---
If you think it''s expensive to hire a professional to do the job, wait
until you hire an amateur.

"javatopia" wrote:
I am getting this in one of my aspx forms:

[7/25/2006 9:12 PM] Last Error=System.Web.HttpParseException: The base class
includes the field 'MCReviewControl', but its type
(Motorcycle_MCPremiumReviewControl) is not compatible with the type of
control (ASP.motorcycle_mcpremiumreviewcontrol_ascx). --->
System.Web.HttpParseException: The base class includes the field
'MCReviewControl', but its type (Motorcycle_MCPremiumReviewControl) is not
compatible with the type of control
(ASP.motorcycle_mcpremiumreviewcontrol_ascx).

My development environment does not suffer this problem, only the test
machine. Any ideas why this is happening?

Here is how I include the control into my aspx page (which has a master page):

<%@ Register TagName="MCReview" TagPrefix="MYTAG"
Src="Motorcycle/MCPremiumReviewControl.ascx" %>

I noticed that in my ASCX file, the 'deploy' project name is in the list of
"Inherited" classes. I am using the web deployment project type to create my
deployments for the web projects. Is that supposed to be in there:

inherits="Motorcycle_MCUnitControl, agents_deploy"

--
Jacob W Anderson
---
http://www.beyond-ordinary.com
http://www.accessquery.com
---
If you think it''s expensive to hire a professional to do the job, wait
until you hire an amateur.
Jul 26 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: | last post by:
I am accessing the same error-containing ASP page on an ISP server using w2k IE6 but with different effect. On the first computer I get several line of HTML outputed by ASP, shown correctly by...
9
by: Mairhtin O'Feannag | last post by:
Hello, We have two machines we wish to use DPF. They are both RH ES 2.1, with DB2 8.2. I read the documentation CAREFULLY, and added the following line to my db2nodes.cfg file : 1 egret 0
6
by: Squirrel | last post by:
I have a command button on a subform to delete a record. The only statement in the subroutine is: DoCmd.RunCommand acCmdDeleteRecord The subform's recordsource is "select * from tblVisit order...
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
10
by: Shawn | last post by:
JIT Debugging failed with the following error: Access is denied. JIT Debugging was initiated by the following account 'PLISKEN\ASPNET' I get this messag in a dialog window when I try to open an...
16
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In:...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.