[Mono-aspnet-list] AjaxControlToolkit: Probelm with ScriptLibrary

Trust tu at tobiasulm.net
Thu May 27 14:23:53 EDT 2010


Hi *,

after some investigation I found out following weird:

If I use <asp:ScriptManager /> I get following error:

Value 3257489901760000000 is outside the valid range
[0,3155378975999999999]. Parameter name: ticks

Description: HTTP 500. Error processing request.

Stack Trace:

System.ArgumentOutOfRangeException: Value 3257489901760000000 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
17:58:56 CEST 2010); ASP.NET Version: 2.0.50727.1433


If I use <ajaxToolkit:ToolkitScriptManager  /> the website gets rendered,
but the result is like described in my earlier post.

If I set <ajaxToolkit:ToolkitScriptManager CombineScripts="false" />  (which
was described in some other forums as solution to the JavaScript Error) I
got the same Error like using the <asp:ScriptManager />

I try to compile the AjaxControlToolkit by myself with mono and try to
investigate into the Attribute CombineScripts. 

Any hints about that weird problem?

Thanx in advance

Tobi 

-- 
View this message in context: http://mono.1490590.n4.nabble.com/AjaxControlToolkit-Probelm-with-ScriptLibrary-tp2232805p2233581.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list