473,396 Members | 2,068 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,396 software developers and data experts.

Error Rendering Control: unable to cast object of type "System.Web.UI.Page"

I have a series of custom controls developed under ASP.NET 1.1, and
I've successfully migrated to ASP.NET 2.0. I have also developed a
custom class dervied from System.Web.UI.Page, called qbo.Web.Page.
All of these controls compile and run correctly under ASP.NET 2.0.

However, several of these controls throw an error in the design mode
of VS.NET 2005. Specifically, controls that include a property
override of Page (to cast as a qbo.Web.Page, instead of a
System.Web.UI.Page) throw the following error:

Error Rendering Control
An unhandled exception has occurred.
Unable to cast object of type 'System.Web.UI.Page' to type
'qbo.Web.Page'.

In addition to the annoying display in VS.NET 2005'd design mode,
these controls are not detected and creates in the
{page}.aspx.designer.cs partial class.

Apr 9 '07 #1
1 2928
I suppose I failed to ask any questions in my post. Thus: any
suggestions for working around this issue?

Apr 12 '07 #2

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

Similar topics

1
by: Manny | last post by:
i'm using ver 1.1 of the framework developing a website, and seem to getting a random "System.NullReferenceException" error. The error occurs in different parts of the website in random fashion....
0
by: Sanjay Pais | last post by:
I have created a custom control that inherits from the textbox control and adds a property to it. When I drop it on a page it renders just fine. However, When I drop it into a web user...
0
by: woollymammoth | last post by:
I can't assign a MS SQL Server table record value to a simple VB variable, should be an easy thing. Sample SQL Server table has the data in the record as a char(30) string, the column for that record...
1
by: Jeff | last post by:
I need to place a "Previous Page" link on every page within my site and a simple javascript:history.back() will not work because I need it to capture the state of the page when I left it. For...
1
by: MeAgin | last post by:
Hi all, When I try to cast an object (ListBox control in an outlook mail form) retrieved from an outlook add-in it is giving the error, Unable to cast COM object of type 'System.__ComObject'...
3
by: Sugandh Jain | last post by:
Hi, I am using property like this.. private DateTime? _propName; public DateTime? PropName { get { return _propName; }
7
by: Anette | last post by:
Hi, I'm very new at PHP. I've tried for a long time now to get a page that has a form in a certain way: 1. When form is submitted the data in a table should be writted on the same page. 2....
2
by: shalong | last post by:
Hi all, VS 2008 is complaining that HttpWebRequest class is not in System.Net namespace I have referenced System.Net and have coded "using System.Net" I think its a setup problem rather than a...
3
by: Willy | last post by:
I have a website that uses querystrings on a certain page to show multiple contents. I have created mapped pages to hide the gory details of these querystrings. So instead of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.