Master Page Error.
-
Hi Team, While I'm going to load the content page, at runtime it gives the below given InvalidCastException error message.So, plz. help anybody how to resolve this problem. Thanks in advance. Error Details: System.InvalidCastException was unhandled by user code Message="Unable to cast object of type 'ASP.default2_aspx' to type 'Ergode.Business.BasePage'." Source="App_Web_ddgqvo7u" StackTrace: at Item1.get_MyShoppingCart() in c:\Users\ergode\Documents\Visual Studio 2005\WebSites\ergodetest\Item1.master.cs:line 21 at Item1.Page_Load(Object sender, EventArgs e) in c:\Users\ergode\Documents\Visual Studio 2005\WebSites\ergodetest\Item1.master.cs:line 29 at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Thanks & Regards, Rama Krishna, Software Developer.
-
Hi Team, While I'm going to load the content page, at runtime it gives the below given InvalidCastException error message.So, plz. help anybody how to resolve this problem. Thanks in advance. Error Details: System.InvalidCastException was unhandled by user code Message="Unable to cast object of type 'ASP.default2_aspx' to type 'Ergode.Business.BasePage'." Source="App_Web_ddgqvo7u" StackTrace: at Item1.get_MyShoppingCart() in c:\Users\ergode\Documents\Visual Studio 2005\WebSites\ergodetest\Item1.master.cs:line 21 at Item1.Page_Load(Object sender, EventArgs e) in c:\Users\ergode\Documents\Visual Studio 2005\WebSites\ergodetest\Item1.master.cs:line 29 at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Thanks & Regards, Rama Krishna, Software Developer.
Please explain why it is that you believe this error is invalid, and what you've done to verify it. How about posting us some code ?
Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp