[Mono-dev] Controls within a control in ASP.NET

Petit Eric surfzoid at gmail.com
Sun Aug 24 15:33:02 EDT 2008

Are you sur ComponentArt DLL doesn't use or wrap native Windows API or
registre ?
Perhap's a bug in the dll or in Mono?
Perhap's you need somewhere to declare an object with "new" ?
Try to add "try .. catch" block with console.writeline(ex.message +
environment.newline + ex.stackstraces) like this you will see the line
number of the code where the problem is, if it is in your code of
If you have compiled Mono from SVN or dailly tarball you shoul see
also the line number in the Mono source code (helpfull)

Le 24 août 2008 21:03, Wael Zeenni <bigzee at zeenni.net> a écrit :
> Hey all,
> I'm currently using ASP.NET controls from ComponentArt for my ASP.NET
> applications since the ComponentArt DLL is fully compatible with Mono
> (except for one function).
> Now, everything works fine in my apps using the ComponentArt controls (such
> as treeviews, buttons, etc.) but now the problem is this:
> One of  the ComponentArt controls is a Dialog Box control that encapsulates
> other controls within it (like buttons, tables, text boxes, etc.) The minute
> I add a dialog control to my page and then put some other controls inside
> it, I start getting the following error:
> --------------
> Object reference not set to an instance of an object
> Description: HTTP 500. Error processing request.
> Stack Trace:
> System.NullReferenceException: Object reference not set to an instance of an
> object
>   at ASP.default_aspx.__BuildControl__bctrl_4
> (ComponentArt.Web.UI.DialogContent __ctrl) [0x00000]
>   at ASP.default_aspx.__BuildControl_dlgError () [0x00000]
>   at ASP.default_aspx.__BuildControl_form1 () [0x00000]
>   at ASP.default_aspx.__BuildControlTree (ASP.default_aspx __ctrl) [0x00000]
>   at ASP.default_aspx.FrameworkInitialize () [0x00000]
>   at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
> [0x00000]
>   at System.Web.HttpApplication+<Pipeline>c__Iterator5.MoveNext () [0x00000]
>   at System.Web.HttpApplication.Tick () [0x00000]
> Version information: Mono Version: 2.0.50727.42; ASP.NET Version:
> 2.0.50727.42
> --------------
> Now, it obviously works with Windows just fine, but when I tested it in XSP2
> (Mono v2.0 Preview) or on my Linux box (OpenSUSE with Mono 1.9.1) I get the
> errors above. I'm not sure where to go from here.
> Any ideas? Or are there any workarounds? Any help would be great!
> Thanks all.
> Zee.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



Small Eric Quotations of the days:
If one day one reproaches you that your work is not a work of
professional, say you that:
Amateurs built the arch of Noah, and professionals the Titanic.

Few people are done for independence, it is the privilege of the powerful ones.

No key was wounded during the drafting of this message.

More information about the Mono-devel-list mailing list