Telerik ASP.NET AJAX Latest Version
.NET 2.0
I have a RadGrid with an EditForm. The edit form contains several RadComboBoxes.
I have Ajaxed the grid with the RadAjax Manager.
When I open my edit form, I get:
Sys.ScriptLoadFailedException: The script '..ScriptResource.axd?..' could not be loaded.
Code: 0
( the .. is extra pathing)
If I remove the Ajaxmanager, the problem goes away.
Regards,
Nick H
13 Answers, 1 is accepted


Could you please test the application by wrapping the RadGrid in regular asp UpdatePanel and let us know if the problem still persists.
Thank you.
Regards,
Maria Ilieva
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.

Strangely, I have a second page that has a similar setup, but not nearly as many controls in the edit form. Ajaxing it via the RadAjaxmanager works fine. It does have a radnumercintput box on it. I also dropped a radcombobox on it just to help test. Worked fine.
These are grids that I converted from the ASP controls to ASP AJAX. I did it by replacing the rad: with telerik; for all the controls and removing the binaries. Is it possible there's some extra definitions in the HTML that would cause this?
Score! I kept comparing the two. When I put a required field validator on the edit form, bam, stops working and gives me the same error. I bet this is related to the support ticket I have open about validator controls client side not working properly on a RadWindow.
So to sum up:
VS 2008, Latest ASP.NET AJAX controls, .NET 2.0. RadGrid with a template edit form. Put an input field and a required field validator on it. Add an ajaxmanager to ajax the grid. Get the above error about the scriptresource.axd.
Regards,
Nick
Will it be convenient for you to open a regular support ticket and send us small runnable project which replicates this error? We will test it locally and advise you further.
Thank you.
Sincerely yours,
Maria Ilieva
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.


I am having this same problem. My Radcombos are inside the radgrid, which is inside the RadAjax. No error in IE 6. But error in IE 7 and Firefox....
Error: Sys.ScriptLoadFailedException: The script '/ScriptResource.axd?d=d2I[longer string here]' could not be loaded.
A strange thing is happening too, it is working on my Local environment for IE7 and Firefox. But for production server it is working only on IE 6.. and giving error for IE 7 and Firefox.
Any help?
Thanks
--Mohsin

Hello guys,
Generally, there can be different reasons the ASP.NET AJAX ScriptResource.axd load to fail and they are discussed in the following public ASP.NET forum threads:
http://forums.asp.net/p/1129144/1786288.aspx#1786288
http://forums.asp.net/p/1135963/1814191.aspx
Additionally, you can perform web resources troubleshooting following the guidelines from this article in the documentation. This can shed some additional light on the subject and how to eliminate the exception you encountered.
I hope these directions are helpful.
Best regards,
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.

The second article is simply a cache clearing solution but that also doesn't work for me.
The third article deals with determining if the resources are being delivered to the browser or not or if they are throwing a 404 error. In my case there is no 404 error.
In my case the module works fine on a fresh install of DNN. But when I add to the module to my production DNN site (which has been using a previous version of RadControls for many years) I am now getting this error. I suspect it may be the result of some kind of conflict but I'm not sure. Other new RadControls have worked without issue so I'm not sure what is going on. To make it even more strange, in an older version of IE the control in question works no problem on my production server but in the latest version of IE, firefox, and Safari it does not work. Very strange.
I'll start a trouble ticket and upload my code since I really need to get this fixed.

We are getting same kind of issue while the asynchronous call. (Browser - IE 8). Please guide us to solve this issue.
Message: Sys.InvalidOperationException: Type Telerik.Web.UI.Orientation has already been registered.
Line: 2417
Char: 41
Code: 0
URI: http://ourcompanyname.com/ScriptResource.axd?d=vctBMVB2D8Ndj-2aEUAVT5-gGTsWxxfu5qIQ2q09APbeLgOv70W6_VPa7wCAc04pdGCcU0L_CGF8vLZ5TalNXZlbGzvLbwoel_h65q0q0Xc1&t=633444773056929171
Message: Sys.ScriptLoadFailedException: The script '/ScriptResource.axd?d=pfoVwVAlFrc5JVD5_YrXno6Gyw9KSLHbLrX13og_-wFaK0b_VmJjs_3PJPcsvr0t0&t=633923314116157041' failed to load. Check for:
Inaccessible path.
Script errors. (IE) Enable 'Display a notification about every script error' under advanced settings.
Missing call to Sys.Application.notifyScriptLoaded().
Line: 3311
Char: 13
Code: 0
URI: http://ourcompanyname.com/ScriptResource.axd?d=vctBMVB2D8Ndj-2aEUAVT5-gGTsWxxfu5qIQ2q09APbeLgOv70W6_VPa7wCAc04pdGCcU0L_CGF8vLZ5TalNXZlbGzvLbwoel_h65q0q0Xc1&t=633444773056929171
In addition to the directions provided so far in this forum thread, I suggest you examine the resources here - this should help you eliminate the exception you encountered.
Best regards,
Sebastian
the Telerik team

<add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
in the httpHandlers
example:
<httpHandlers>
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
<add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
</httpHandlers>
and the problem with ScriptModule, you should add too in the webconfig this lines:
<!--line for aceptted Response.Redirect with Ajax Framework 2.0-->
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
</httpModules>
<!--End line for aceptted Response.Redirect with Ajax Framework 2.0-->
I Hope I have helped,
Regards Im ISC. Francisco QuiƱones - Web Developer Microsoft Certificated.