[Mono-bugs] [Bug 457943] New: ScriptManager.GetCurrent : Cannot cast from source type to destination type

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 10 06:15:48 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=457943


           Summary: ScriptManager.GetCurrent : Cannot cast from source type
                    to destination type
           Product: Mono: Class Libraries
           Version: 2.0.x
          Platform: x86-64
        OS/Version: Windows XP
            Status: NEW
          Severity: Blocker
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: anton.andreev at fmi.uni-sofia.bg
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development


Description of Problem:
I was unable to load a page via XSP2 with ScriptManager and MS AJAX Tab control

Steps to reproduce the problem:
1. Set a Script Manager and a Tab Control on a single page and load it via
XSP2.
2. 


Actual Results:

Server Error in '/' Application

--------------------------------------------------------------------------------

Cannot cast from source type to destination type.
Description: HTTP 500. Error processing request.

Stack Trace: 

System.InvalidCastException: Cannot cast from source type to destination type. 
at System.Web.UI.ScriptManager.GetCurrent (System.Web.UI.Page page) [0x00000]  
at System.Web.UI.ScriptControl.get_ScriptManager () [0x00000]   at
System.Web.UI.ScriptControl.OnPreRender (System.EventArgs e) [0x00000]   at
AjaxControlToolkit.ScriptControlBase.OnPreRender (System.EventArgs e) [0x00000]
  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]   at
System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]   at
System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]   at
System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]   at
System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]   at
System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]   at
System.Web.UI.Page.ProcessLoadComplete () [0x00000]   at
System.Web.UI.Page.InternalProcessRequest () [0x00000]   at
System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]  

--------------------------------------------------------------------------------
Version information: Mono Version: 2.0.50727.42; ASP.NET Version: 2.0.50727.42 

Expected Results:
Load a page with MS AJAX tab control

How often does this happen? 
Always

Additional Information:


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list