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

User [email protected] added comment
https://bugzilla.novell.com/show_bug.cgi?id=457943#c9


Gonzalo Paniagua Javier <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #9 from Gonzalo Paniagua Javier <[email protected]>  2009-01-12 
22:19:05 MST ---
The problem here is that the AjaxControltoolkit.dll in Bin references
System.Web.Extensions 1.0.61025.0 while the web.config file makes use of the
3.5.0.0 version.

I added this code to Default.aspx:
==================
void Page_PreRender ()
        {
                base.PreRender ();
                AppDomain domain = AppDomain.CurrentDomain;
                Response.Write ("<!--\r\n");
                foreach (System.Reflection.Assembly assembly in
domain.GetAssemblies ()) {
                        Response.Write (assembly.GetName ());
                }
                Response.Write ("\r\n--!>");
        }
=================

and looks like MS does NOT load the 1.0.61025 version while the mono runtime
loads BOTH versions and later gets confused and causes the invalid cast
exception.

I would say that:
a) this is a runtime problem
b) the fix is not likely to get in 2.2.x
c) the easy workaround is to get the AjaxControlToolkit compiled against the
3.5.0.0 version if possible.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to