[Mono-aspnet-list] Problem with mod_mono/xsp/runtime on CentOS 5.4 / 5.5

Trust tu at tobiasulm.net
Wed May 26 03:29:15 EDT 2010


Hi *.

since mono 2.0 I've had the problem with mono. I always could make the work
around to switch back to mono 2.2 and than my web sites worked. Yesterday I
upgraded one Server to CentOs 5.5 since then i got the following error:

< 0 Parameter name: fileTime

Description: HTTP 500. Error processing request.

Stack Trace:

System.ArgumentOutOfRangeException: < 0
Parameter name: fileTime
  at System.DateTime.FromFileTime (Int64 fileTime) [0x00000] in <filename
unknown>:0 
  at System.IO.File.GetLastWriteTime (System.String path) [0x00000] in
<filename unknown>:0 
  at System.IO.File.GetLastWriteTimeUtc (System.String path) [0x00000] in
<filename unknown>:0 
  at System.Web.Handlers.ScriptResourceHandler.CreateResourceUrl
(System.Reflection.Assembly assembly, System.String resourceName, Boolean
notifyScriptLoaded) [0x00000] in <filename unknown>:0 
  at System.Web.Handlers.ScriptResourceHandler.InitEmbeddedResourcesUrls
(System.Reflection.Assembly assembly, System.Collections.Hashtable
hashtable) [0x00000] in <filename unknown>:0 
  at System.Web.Handlers.ScriptResourceHandler.GetResourceUrl
(System.Reflection.Assembly assembly, System.String resourceName, Boolean
notifyScriptLoaded) [0x00000] in <filename unknown>:0 
  at System.Web.UI.ScriptReference.GetUrl (System.Web.UI.ScriptManager
scriptManager, Boolean zip) [0x00000] in <filename unknown>:0 
  at System.Web.UI.ScriptManager.RegisterScriptReference
(System.Web.UI.Control control, System.Web.UI.ScriptReference script,
Boolean loadScriptsBeforeUI) [0x00000] in <filename unknown>:0 
  at System.Web.UI.ScriptManager.OnPreRenderComplete (System.Object sender,
System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Web.UI.Page.OnPreRenderComplete (System.EventArgs e) [0x00000]
in <filename unknown>:0 
  at System.Web.UI.Page.ProcessLoadComplete () [0x00000] in <filename
unknown>:0 
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename
unknown>:0 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000] in <filename unknown>:0 

Version information: Mono Runtime Version: 2.6.4 (tarball Mi 26. Mai
00:19:54 CEST 2010); ASP.NET Version: 2.0.50727.1433

or i get the old obvious error

Server Error in '/' Application
Value 8577939006221209600 is outside the valid range
[0,3155378975999999999]. Parameter name: ticks

Description: HTTP 500. Error processing request.

Stack Trace:

System.ArgumentOutOfRangeException: Value 8577939006221209600 is outside the
valid range [0,3155378975999999999].
Parameter name: ticks
  at System.DateTime..ctor (Int64 ticks) [0x00000] in <filename unknown>:0 
  at System.DateTime.FromFileTime (Int64 fileTime) [0x00000] in <filename
unknown>:0 
  at System.IO.File.GetLastWriteTime (System.String path) [0x00000] in
<filename unknown>:0 
  at System.IO.File.GetLastWriteTimeUtc (System.String path) [0x00000] in
<filename unknown>:0 
  at System.Web.Handlers.ScriptResourceHandler.CreateResourceUrl
(System.Reflection.Assembly assembly, System.String resourceName, Boolean
notifyScriptLoaded) [0x00000] in <filename unknown>:0 
  at System.Web.Handlers.ScriptResourceHandler.InitEmbeddedResourcesUrls
(System.Reflection.Assembly assembly, System.Collections.Hashtable
hashtable) [0x00000] in <filename unknown>:0 
  at System.Web.Handlers.ScriptResourceHandler.GetResourceUrl
(System.Reflection.Assembly assembly, System.String resourceName, Boolean
notifyScriptLoaded) [0x00000] in <filename unknown>:0 
  at System.Web.UI.ScriptReference.GetUrl (System.Web.UI.ScriptManager
scriptManager, Boolean zip) [0x00000] in <filename unknown>:0 
  at System.Web.UI.ScriptManager.RegisterScriptReference
(System.Web.UI.Control control, System.Web.UI.ScriptReference script,
Boolean loadScriptsBeforeUI) [0x00000] in <filename unknown>:0 
  at System.Web.UI.ScriptManager.OnPreRenderComplete (System.Object sender,
System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Web.UI.Page.OnPreRenderComplete (System.EventArgs e) [0x00000]
in <filename unknown>:0 
  at System.Web.UI.Page.ProcessLoadComplete () [0x00000] in <filename
unknown>:0 
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename
unknown>:0 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000] in <filename unknown>:0 

Version information: Mono Runtime Version: 2.6.4 (tarball Mi 26. Mai
00:19:54 CEST 2010); ASP.NET Version: 2.0.50727.1433

I tried then to remove the new mono version and tried to install all mono
version down to 2.2. Unsuccessful. Even 2.2 did not run any more. 

My machine:

lsb_release -a
LSB Version:   
:core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description:    CentOS release 5.5 (Final)
Release:        5.5
Codename:       Final

is a 64 bit CentOs installation. The funny thing is that the same web app on
a other machine with Fedora 12 64 bit (incl self compiled mono, same
version) runs. 

There are no more log messages. Can someone help me please? What is this for
an error?

best regards


Tobi
-- 
View this message in context: http://mono.1490590.n4.nabble.com/Problem-with-mod-mono-xsp-runtime-on-CentOS-5-4-5-5-tp2231149p2231149.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list