CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 8/3/2007 2:38:27 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 28 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
kent27
Asp.Net User
'Unable to cast object of type' error8/3/2007 2:38:27 AM

0/0

hello everybody! im new in asp.net and i get this error 'unable to cast object of type 'asp.blahblah.aspx' to type 'blah.web.basepage'. we are developing just a part of a new system and our team is not the one who designed and made the master page and everytime we incorporate the master page in our web pages we always get this error.. i already set the batch="false" in the debug of web.config..hope you can help me with this one. thanks!

 

 

johram
Asp.Net User
Re: 'Unable to cast object of type' error8/3/2007 8:40:47 AM

0/0

To be able to correctly reference your master page from code, you need to add a MasterType to your aspx code, like this:

<%@ MasterType VirtualPath="~/MasterPage.master" %>


If this post was useful to you, please mark it as answer. Thank you!
kent27
Asp.Net User
Re: 'Unable to cast object of type' error9/1/2007 1:30:31 AM

0/0

 

Thanks!
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Core Internet Application Development with ASP.NET 2.0 Authors: Randy Connolly, Pages: 1049, Published: 2007
Pro Visual C++ 2005 for C# Developers: Featuring C++/CLI Authors: Dean C. Wills, Pages: 379, Published: 2006
Essential ActionScript 3.0 Authors: Colin Moock, Pages: 911, Published: 2007
Creating Components: Object Oriented, Concurrent, and Distributed Computing in Java Authors: Charles W. Kann, Pages: 430, Published: 2004
C in a Nutshell: A Desktop Quick Reference Authors: Peter Prinz, Tony Crawford, Pages: 600, Published: 2005
Professional C# 2008 Authors: Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, Pages: 1782, Published: 2008
Professional C# Authors: Simon Robinson, Christian Nagel, Karli Watson, Jay Glynn, Morgan Skinner, Bill Evjen, Pages: 1224, Published: 2004

Web:
Unable to cast object of type 'X' to type 'X' - MSDN Forums button to open de Edit Columns Dialog I get the mentioned error. Something like this:. "Unable to cast object of type 'WindowsApplication3. ...
Error message " Unable to cast object of type 'System.Data.Linq ... I'm attempting to return an integer based on a matching customer name { // get invoice number InvoiceHeader tOInvHeader = new InvoiceHeader();...
Error:Unable to cast object of type 'ASP ... I've this error: Unable to cast object of type 'ASP. desktopmodules_store_account_ascx' to type 'DotNetNuke.Modules.Store.WebControls .Store' ...
"Unable to cast object of type" error - .NET "Unable to cast object of type" error. Get answers to your questions in our .NET forum.
Error Message: System.InvalidCastException: Unable to cast object ... Re: Reply: Error Message: System.InvalidCastException: Unable to cast object of type 'System.Configuration.DefaultSection' to type 'SubSonic ...
Unable to cast object of type 'ASP.masterpage_master' to type 'ASP ... Detailed exception error:. System.InvalidCastException was unhandled by user code Message="Unable to cast object of type 'ASP.info_parameters_aspx' to type ...
Installation - Error Creating Control - Unable to cast object of ... Installation - Error Creating Control - Unable to cast object of type System.Web .UI.UserControl. Last post 04-16-2008 9:51 AM by PDyer. ...
Wizard Error - Unable to cast object of type 'System.DBNull' to ... Wizard Error - Unable to cast object of type 'System.DBNull' to type 'System. String'. Thread Starter: R Raghu Started: 28 Jul 2008 12:03 AM UTC Replies: 4 ...
Unable to cast object of type 'Jayrock.Json.JsonObject' to type ... the following error always gets displayed: "Unable to cast object of type ' Jayrock.Json.JsonObject' to type Person". this is my code: ...
opentick :: View topic - Unable to cast COM object of type ... it gives me the following error: Unable to cast COM object of type 'COTFeedLib. COTClientClass' to interface type 'COTFeedLib.IOTClient'. ...

Videos:
www.moldytoaster.com shed method of encasing the lower man with the front of the garment to the front of the wearer, was curiously reversed, and the capture of the left s...
www.moldytoaster.com I--POST CORDA LAPIDES After having sketched its moral face, it will not prove unprofitable to point out, in a few words, its material configuration....




Search This Site:










error bc30002: type 'x' is not defined

who have a code to count how many user online??

how to remove /dotnetnuke from the address site

webconfig

getting rid of the header in datagrids

vs 2008 - debugging not enabled

cdo.message / put of disk space

global resources - creating your own uiculture.

multiview -- load first view automatically

check online if a credit card is valid - webservices

date and time function - global setting

dotnetnuke file / directory security

number of ads: 50?

assembly compile/debug error

content placeholder position

error message shows "server application unavailable"

add to cart problem

install act

can windows and basic authentication co-exist?

timespan question

parser error message: unknown server tag 'club:rolloverbutton' and the active schema does not support the element 'rolloverbutton'.

exposing pdf's using asp.net

calculate ratio

xml,csv and dynamic controls

(3.1.1) search for custom module

gallery module error

object and component

putting a constant window (text) on screen at all times

msdn style document/article/content management

download info for using asp.net 2.0 authentication with a classic asp site

 
All Times Are GMT