Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Master Page Error.

Master Page Error.

Scheduled Pinned Locked Moved ASP.NET
helpcsharpvisual-studiodesignbusiness
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    ram_panda09
    wrote on last edited by
    #1

    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.

    C 1 Reply Last reply
    0
    • R ram_panda09

      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.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups