[Mono-list] First load error

Lorenzo Viola info at eulogika.net
Fri Sep 14 03:10:26 EDT 2007


(I continue replying, hoping that somehow this will help other with the 
same problems...)

I downloaded  from this : http://mono.ximian.com/daily/ the file :
http://mono.ximian.com/daily/monocharge-20070913.tar.gz


when I launch "recharge.sh" I get .

MONO_PATH=./2.0 mono ./1.0/gacutil.exe /i 2.0/System.Xml.dll /f /package 
2.0 /root /usr/local/lib
Corlib not in sync with this runtime: expected corlib version 56, found 58.
Download a newer corlib or a newer runtime at http://www.go-mono.com/daily.

BUT looks like my corlib is newer... I don't want to recompile all the 
mono install,
as I could break up the box .... I want to find a way to simply 
"refresh" the DLLs....

what comes next ?

best regards

>
> hello
>
> I need to apply the patch from here :
> http://bugzilla.ximian.com/show_bug.cgi?id=77278
>
> Created an attachment (id=16405) <http://bugzilla.ximian.com/showattachment.cgi?attach_id=16405>
> patch to System.Web/System.Web.UI that fixes the bug
>
> to my debian box...seems like I've to rebuild the whole dll  ?
>
> do I need to download the whole mono, and recompile it ?
>
> there is any way to place the patch in code and override ?
>
> best regards
>
>  <http://bugzilla.ximian.com/showattachment.cgi?attach_id=16405>
>
>
>> perhaps my previous post is connected to the following...
>>
>> http://bugzilla.ximian.com/show_bug.cgi?id=77278
>>
>>
>>   
>>> Hello, I'm struggling on this problem from 2 days, I need some help...
>>>
>>> I'm developing a website using vs2005,and then I deploy it to a debian 
>>> / apache2 / mod-mono box
>>>
>>> On the windows machine (vista + iis) I get no problem...when launching 
>>> the application
>>> from a browser on the linux machine, the first time a user browse the 
>>> home page gets the below message...
>>>
>>> refreshing the page, the problem gets away, without problem.
>>>
>>> My real problem is that I can't get a real debug...
>>>
>>> On mono, there is some variable still null at startup...
>>> but I can't find which it is...
>>>
>>>
>>> I've tried :
>>> Console.Error.WriteLine(ex);
>>>
>>> But I get no error inside the apache2 log...
>>>
>>> The only way I found, is to place inside global.asax the following :
>>>
>>>     void Application_Error(object sender, EventArgs e)
>>>     {
>>>         string EventLogFile = "/var/www/xxxxxxxxxx/xxxxxx.log";
>>>         StreamWriter sw = new StreamWriter(File.OpenWrite(EventLogFile));
>>>         sw.AutoFlush = true;
>>>                
>>>         string sError = Server.GetLastError().ToString();
>>>         string sTrace = Server.GetLastError().StackTrace.ToString();
>>>         sw.WriteLine("###################### ERROR ");
>>>         sw.WriteLine(sError);
>>>                
>>>         string sErrorInner, sTraceInner;
>>>         if (Server.GetLastError().InnerException != null)
>>>         {
>>>             sErrorInner = Server.GetLastError().InnerException.ToString();
>>>             sTraceInner = 
>>> Server.GetLastError().InnerException.StackTrace.ToString();
>>>             sw.WriteLine("###################### ERROR INNER ");
>>>             sw.WriteLine(sErrorInner);             
>>>         }      
>>>         sw.Close();
>>>     }
>>>
>>>
>>> but I get the same message below...
>>>
>>> I read about the tracing system, but it looks an overhead to me...
>>>
>>> There is any other way than installing a whole linux system with some 
>>> IDE like monodevelop ?
>>> it takes a lot of time...
>>>
>>>
>>> Best Regards
>>>
>>>
>>>
>>> ps...the only strange thing I do is loading at preinit a different 
>>> masterpage...
>>>
>>>
>>>     protected override void OnPreInit(EventArgs e)
>>>     {
>>>         try
>>>         {
>>>             GetCookie();
>>>
>>>             string sMPFile = "~/templates/t" + Session["soc"] + 
>>> "_home.master";
>>>             if (Session["op"].ToString() == "page")
>>>                 sMPFile = "~/templates/t" + Session["soc"] + 
>>> "_page.master";
>>>
>>>             base.MasterPageFile = sMPFile;
>>>             base.OnPreInit(e);
>>>         }
>>>         catch (Exception ex)
>>>         {
>>>             Console.Error.WriteLine(ex);
>>>             throw;
>>>         }
>>>     }
>>>
>>>
>>>
>>> (this is error I get...)
>>>
>>>
>>>   Server Error in '/' Application
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>>     /Object reference not set to an instance of an object/
>>>
>>> *Description: *Error processing request.
>>>
>>> *Error Message: *HTTP 500. System.NullReferenceException: Object 
>>> reference not set to an instance of an object
>>>
>>> *Stack Trace: *
>>>
>>> System.NullReferenceException: Object reference not set to an instance of an object
>>>   at ASP.templates_tcub_home_master.__Render_form1 (System.Web.UI.HtmlTextWriter __output, System.Web.UI.Control parameterContainer) [0x00000] 
>>>   at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_HtmlTextWriter_Control (System.Web.UI.HtmlTextWriter,System.Web.UI.Control)
>>>   at System.Web.UI.Control.RenderChildren (System.Web.UI.HtmlTextWriter writer) [0x00000] 
>>>   at System.Web.UI.HtmlControls.HtmlForm.RenderChildren (System.Web.UI.HtmlTextWriter w) [0x00000] 
>>>   at System.Web.UI.HtmlControls.HtmlContainerControl.Render (System.Web.UI.HtmlTextWriter writer) [0x00000] 
>>>   at System.Web.UI.HtmlControls.HtmlForm.Render (System.Web.UI.HtmlTextWriter w) [0x00000] 
>>>   at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter writer) [0x00000] 
>>>   at System.Web.UI.HtmlControls.HtmlForm.RenderControl (System.Web.UI.HtmlTextWriter w) [0x00000] 
>>>   at System.Web.UI.Control.RenderChildren (System.Web.UI.HtmlTextWriter writer) [0x00000] 
>>>   at System.Web.UI.Control.Render (System.Web.UI.HtmlTextWriter writer) [0x00000] 
>>>   at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter writer) [0x00000] 
>>>   at System.Web.UI.Control.RenderChildren (System.Web.UI.HtmlTextWriter writer) [0x00000] 
>>>   at System.Web.UI.Control.Render (System.Web.UI.HtmlTextWriter writer) [0x00000] 
>>>   at System.Web.UI.Page.Render (System.Web.UI.HtmlTextWriter writer) [0x00000] 
>>>   at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter writer) [0x00000] 
>>>   at System.Web.UI.Page.InternalProcessRequest () [0x00000] 
>>>   at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] 
>>>
>>> ------------------------------------------------------------------------
>>> 09/14/2007 06:10:35 
>>>     
>>
>>
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>   
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070914/18a3ca75/attachment-0001.html 


More information about the Mono-list mailing list