[Mono-list] Xsp error

Gonzalo Paniagua Javier gonzalo.reply.to.the.list.iam.subscribed@ximian.com
Tue, 24 Aug 2004 14:46:40 -0400


On Tue, 2004-08-24 at 11:38, Reeve, Matthew wrote:
> If this is shown to be a bug, I will happily raise a report in bugzilla, but
> I think it is more likely that I have a problem with configuration. I am
> installing mono on a SPARC running solaris 8. The version being installed is
> the full set downloaded as mono reached version 1. I have got round a number
> of problems so far, including the lack of aintl, the lack of /dev/random and
> various other niggles. I have a working "Hello World" running from the
> command line. XSP is compiled and installed, and starts up without any
> visible problems. On startup, the following is seen in the console :-
> 
> 
> bash-2.03# mono /usr/bin/xsp.exe --root
> /export/home/cdimages/mono_1/xsp-1.0/test/
> Adding applications '/:.'...
> Registering application:
>     Host:          any
>     Port:          any
>     Virtual path:  /
>     Physical path: /export/home/cdimages/mono_1/xsp-1.0/test
> Listening on port: 8080
> Listening on address: 0.0.0.0
> Root directory: /export/home/cdimages/mono_1/xsp-1.0/test
> Hit Return to stop the server.
> 
> On the first request of a web page, the following error is received at the
> browser, with no change made to the console window :-
> 
> Server error in '/' application
> 
> Description: Error processing request. 
> 
> Error Message: HTTP 500. 
> 
> Stack Trace: 
>  System.TypeInitializationException: An exception was thrown by the type
> initializer for System.Web.Caching.Cache ---> System.OverflowException:
> Resulting timespan is too big.
>  in <0x00470> System.TimeSpan:From (double,long)
>  in <0x00038> System.TimeSpan:FromDays (double)
>  in <0x0009c> System.Web.Caching.Cache:.cctor ()
>  --- End of inner exception stack trace ---
> 
>  in (unmanaged) System.Web.Caching.Cache:.ctor ()
>  in <0x00034> System.Web.HttpRuntime:Init ()

That looks like a bug in the runtime on Solaris. It looks the same as
other problem that happened under MacOS.

-Gonzalo