This is a migrated thread and some comments may be shown as answers.

ScriptResource.axd not found

13 Answers 896 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Nick
Top achievements
Rank 2
Nick asked on 07 Nov 2008, 06:20 PM
VS 2008
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

Sort by
0
Nick
Top achievements
Rank 2
answered on 07 Nov 2008, 06:23 PM
Oops - apparently there was a release Nov 5.   Testing it now.
0
Nick
Top achievements
Rank 2
answered on 07 Nov 2008, 07:33 PM
It's still a problem with the Nov 5 release.
0
Maria Ilieva
Telerik team
answered on 10 Nov 2008, 03:09 PM
Hi Nicholas Hustak,

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.
0
Nick
Top achievements
Rank 2
answered on 17 Nov 2008, 12:23 AM
Exact same error. 

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
0
Maria Ilieva
Telerik team
answered on 17 Nov 2008, 03:25 PM
Hi 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.
0
Aaron
Top achievements
Rank 1
answered on 04 Mar 2009, 03:53 PM
What is the status of this issue? I am having the same problem using a RegularExpressionValidator on the RadGrid.  I have tried other ways to handle the validation and either they don't work or they are not accpetable to the end user.
0
mohsin
Top achievements
Rank 1
answered on 10 May 2009, 09:00 AM
Hi,

 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





0
Ryno
Top achievements
Rank 1
answered on 10 May 2009, 06:03 PM
I've got the same error as Mohsin...any status update on this one?
0
Sebastian
Telerik team
answered on 11 May 2009, 10:53 AM

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,

Sebastian
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.
0
Ryno
Top achievements
Rank 1
answered on 06 Jun 2009, 01:47 PM
The first article deals with partial rendering.  The controls in my case are used in a DotNetNuke 4.8.1 module and I have tried setting the module to "partial rendering" and not and the problem persists in either case so I think the first article doesn't apply to my situation.

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.
0
Sundar
Top achievements
Rank 1
answered on 22 Sep 2010, 02:32 AM
Hi,

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

0
Sebastian
Telerik team
answered on 27 Sep 2010, 09:25 AM
Hello BenoitM,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
JDJGG
Top achievements
Rank 2
answered on 29 Oct 2010, 05:31 PM
hey you add in the webconfig this line to Framework 2.0
<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.
Tags
Ajax
Asked by
Nick
Top achievements
Rank 2
Answers by
Nick
Top achievements
Rank 2
Maria Ilieva
Telerik team
Aaron
Top achievements
Rank 1
mohsin
Top achievements
Rank 1
Ryno
Top achievements
Rank 1
Sebastian
Telerik team
Sundar
Top achievements
Rank 1
JDJGG
Top achievements
Rank 2
Share this question
or