Hi All,
App specs and environment:
ASP.NET 4.0, using AjaxControl Toolkit v4.1.51116.0
IIS 6.0 running on Windows Server 2003 SP 2 (not R2)
Quad core VM with 4GB RAM.
Plenty of HD space.
I've been having a weird couple of errors the past few days with a page with the AJAX Reorderlist.
Last week, our clients began experiencing the following issue when navigating to one of the pages in the web app:
The requested script resource 'Common.Common.js' requires version 'AjaxControlToolkit, v4.1.5116.0' etc etc to run. Which is weird since the versions match anyway.
After some googling I found that the issue can be fixed by using the ToolkitScriptManager instead of the ScriptManager, which is located in the Master Page.
Fine, changed it. Then I got a javascript error stating that 'Sys.UI." is null or not an object, and then I can't re-order the items in the reorderlist.
After some more googling, I found that the error can be solved by turning off "combinescripts" for the ToolkitManager. Did that, then I was back where I was in the first place (the "common.common.js" error) from the regular script manager.
Now, I noticed, after some tinkering, the re-orderlist works fine and I can re-order. But then tomorrow (with no changes made to the code), the "sys.ui" error will be back again.
I've been stuck on this problem for 3 days, I've added the AjaxControltoolkit reference to my web.config. made sure all the httphandlers and mappings are present, etc, but still this happens.
Anyone have an idea of what is wrong? This error only popped up recently, and we did not change anything to the page in question for at least 2 months before this error started appearing.
Much appreciated.