Dear Petit, Yeah, I figured there was some reference to the source files. But I'm a web developer and not a C programmer. So even if I look through the source code, I wouldn't know what to do. I'm hoping someone here might be able to explain to me if this is infact a bug in Mono or not. I'm thinking it probably is seeing as how my web app works in Windows just fine.
Can anyone please take a look and let me know what the problem is. I'm desperately trying to get my app ported to Linux and Mono and this is stopping me. At least tell me if it is a bug and if it is fixable or not. Thanks. _____ From: Petit Eric [mailto:[EMAIL PROTECTED] To: Wael Zeenni [mailto:[EMAIL PROTECTED] Cc: [EMAIL PROTECTED], mono-devel-list@lists.ximian.com Sent: Tue, 26 Aug 2008 06:09:26 -0400 Subject: Re: [Mono-dev] Controls within a control in ASP.NET I'm not Mono or ASP expert and Mono team should better answer, but it seem you have line number who refer to mono source code "C:\cygwin\tmp\monobuild\build\........." Le 26 août 2008 11:45, Wael Zeenni <[EMAIL PROTECTED]> a écrit : > Petit, Marek, Thanks for the responses so far. > > I (finally) got XSP2 and Mono to run in debug mode and now there are line > numbers into the code files that show up on the error page. Below is what I > am getting: > > > Server Error in '/' Application > > ________________________________ > > 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) [0x00002] in > D:\Development\ClamTrack\Website\Default.aspx:45 > at ASP.default_aspx.__BuildControl_dlgError () [0x00048] in > D:\Development\ClamTrack\Website\Default.aspx:41 > at ASP.default_aspx.__BuildControl_form1 () [0x0002a] in > D:\Development\ClamTrack\Website\Default.aspx:37 > at ASP.default_aspx.__BuildControlTree (ASP.default_aspx __ctrl) [0x0003b] > in D:\Development\ClamTrack\Website\Default.aspx:2 > at ASP.default_aspx.FrameworkInitialize () [0x00012] in > C:\Users\wzeenni\AppData\Local\Temp\wzeenni-temp-aspnet-0\13ab1697\App_Web_4d5b6eaf_3.cs:1096 > at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) > [0x00049] in > C:\cygwin\tmp\monobuild\build\BUILD\mono-2.0\mcs\class\System.Web\System.Web.UI\Page.cs:1337 > at System.Web.HttpApplication+<Pipeline>c__Iterator5.MoveNext () [0x00c8b] > in > C:\cygwin\tmp\monobuild\build\BUILD\mono-2.0\mcs\class\System.Web\System.Web\HttpApplication.cs:1233 > at System.Web.HttpApplication.Tick () [0x00000] in > C:\cygwin\tmp\monobuild\build\BUILD\mono-2.0\mcs\class\System.Web\System.Web\HttpApplication.cs:880 > > ________________________________ > Version information: Mono Version: 2.0.50727.42; ASP.NET Version: > 2.0.50727.42 > > > > Does that mean anything to anyone? In the above error that is referring to > my Default.aspx page, line 37 and 41 are simply the Dialog control that I am > using. > > I have no clue how to read through the source code of mono for the other .cs > files. If anyone can help I would REALLY appreciate it. > > Thank you. > > Zee. > > ________________________________ > From: Marek Habersack [mailto:[EMAIL PROTECTED] > To: Wael Zeenni [mailto:[EMAIL PROTECTED] > Cc: mono-devel-list@lists.ximian.com, Petit Eric [mailto:[EMAIL PROTECTED] > Sent: Mon, 25 Aug 2008 04:20:06 -0400 > Subject: Re: [Mono-dev] Controls within a control in ASP.NET > > On Mon, 25 Aug 2008 02:17:32 -0400 > "Wael Zeenni" <[EMAIL PROTECTED]> wrote: > >> Dear Eric, >> >> Thanks for the response. >> >> I ran the ComponentArt DLL through the MoMA and everything turned out >> fine. There >> were no PInvokes and no missing Mono functionality. >> As to where the error is coming up, I know exactly where it's happening. I >> started >> a blank aspx page and placed 2 controls in it. One of them is a Dialog >> control and >> then, inside this dialog control, I placed a text box. When I ran this >> through >> IIS, it worked fine. However, when I ran it with Mono, I got the same >> error below. >> Realistically, I don't need to declare these controls using "new" at >> runtime as I >> am not creating them dynamically. They are already on the page. However, >> if this >> is a Mono workaround, I guess I'll have to try that. But where should I >> declare >> these controls? In the PageLoad()? And regarding your other solution about >> tracing, unfortunately, I'm not that experienced with doing this sort of >> stuff. I >> just thought that I couldn't be the only person here with this problem. >> I'm sure >> someone else must have had some project where a control is contained >> within >> another control :p Any ideas? I really need this to work or else it will >> effectively kill my web app's cross-platformness :( Zee _____ > It's most likely a bug in Mono. It's hard to fix it given the information in > your > previous mail, though. Could you, please, run the application with mono > --debug (and > make sure that <compilation debug="true"/> is present in your web.config), > then > post the backtrace together with the generated file. That will give more > information > and make it easier to see what's going on. > > regards, > > marek > > > > _______________________________________________ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > -- Cordially. 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.
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list