[Mono-list] Mono 1.2.4 , Apache 2.2.2 Server error

NDATECH (WebRing) webring at ndatech.it
Mon Jul 16 14:39:08 EDT 2007


  Hi,

I definitely give up .....
After some tests I reverted to version 1.2.3.1 .... and that works fine.
With version 1.2.4 I noticed that:
.) I access a page http://10.0.0.1/my_page.aspx some files (*.dll and *.dll.mdb) were generated in 
/temp/apache-temp-aspnet-0/XXXXXX (where XXXXXX is a folder name automatically generated)
.) Browsing other pages e.g. http://10.0.0.1/other_page.aspx some other files were generated again.
.) Browsing the same pages in another way e.g. http://server-name/##### causes temporary files to be deleted and 
regenerated so when browsing the first way again http://10.0.0.1/##### the server error was generated.
I think this is a mono or mod_mono related issue: I read (http://www.go-mono.com/archive/1.2.4/#changes) that starting 
from rev 1.2.4 temporary files were automatically delete . Indeed setting 'export MONO_ASPNET_NODELETE=1' from bash 
shell seems to workaround the problem ...  but temporary folders fills with much more files ...

Waiting for a fix I keep on with previous version

Regards

  -----
http://www.ndatech.it


Webring NDATECH wrote:
> Hi all,
> 
> some days ago I updated my FC5 server and a new version of both Apache and Mono has been 
> installed (I usually use Yum).
> After that I'm experiencing many problems with my web site (mono based, which was running 
> fine with the previous stable version) .
> That is what happens:
> .) The first time I start or reload http everything works fine. Page are correctly displayed.
> .) On successive access to the visited page, after some time I got a compilation error.... 
> It seems that a temporary dll was not found.
> .) If I reload http everything come back working.
> 
> These are the details of the installed packages:
> 
> Mono JIT compiler version 1.2.4 (tarball)
>          TLS:           normal
>          GC:            Included Boehm (with typed GC)
>          SIGSEGV:       normal
>          Architecture:  x86
>          Disabled:      none
> 
> Apache
> Server version: Apache/2.2.2
> Server built:   Jun 26 2007 10:22:20
> 
> And this is the message I got browsing from the server:
> 
> Server Error in '/' Application
> Compilation Error
> 
> Description: Error compiling a resource required to service this request. Review your 
> source file and modify it to fix this error.
> 
> Error message:
> 
> (0,0) : error CS0006: cannot find metadata file 
> `/tmp/apache-temp-aspnet-0/9bc357d8/274a60b3.dll'
> 
> File name: /var/www/html/en/default.aspx
> 
> Source File:
> 
> Line 1: // ------------------------------------------------------------------------------
> Line 2: //  <autogenerated>
> Line 3: //      This code was generated by a tool.
> Line 4: //      Mono Runtime Version: 1.1.4322.2032
> Line 5: //
> Line 6: //      Changes to this file may cause incorrect behavior and will be lost if
> Line 7: //      the code is regenerated.
> Line 8: //  </autogenerated>
> Line 9: // ------------------------------------------------------------------------------
> Line 10:
> Line 11: namespace ASP {
> Line 12:     using System;
> 
> .....
> 
> What can I do ?!??
> 
> My site if completely  off now ... please help ...
> 
> Regards
> 
> 


More information about the Mono-list mailing list