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

Microsoft JScript runtime error: Sys.ScriptLoadFailedException:

1 Answer 198 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bharathwajan Venkatanarayanan
Top achievements
Rank 1
Bharathwajan Venkatanarayanan asked on 12 Oct 2009, 10:18 AM
Hi ,

I tired using HTTP Compression in our application to improve the performance.
is HTTP compression acceptable for telerik sites?
when i used it i got the follwoing error from Telerik.Web.UI.dll

the first error is
Microsoft JScript runtime error: ASP.NET Ajax client-side framework failed to load.

then i have copied the following in web.config as suggested in telerik

<configuration>
...
<location path="Telerik.Web.UI.WebResource.axd">
   
<system.web>
     
<authorization>
       
<allow users="*"/>
     
</authorization>
   
</system.web>
 
</location>
...
</configuration>

then i got the second error when i change the page size of radgrid

Microsoft JScript runtime error: Sys.ScriptLoadFailedException: The script '/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_cphBravoMain_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b' could not be loaded.

please help me to resolve this error.
Thanks in advance.

Regards,
Bharathwajan

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 14 Oct 2009, 08:36 AM
Hi Bharathwajan Venkatanarayanan,

Problem:

RadControls do not work if a Compression Module is used in the project/web site.

Cause:

Double compression of web resources: web resources requested by the RadControl are compressed twice - once by the Script/RadScript/RadStyleSheet- Manager and once by the Compression Module.

Suggested solution:

Skip compression for the requested resource in the Compression Module. If the OutputCompression property of Rad -Script/StyleSheet- Manager is set to Disabled, you can let the Compression Module to compress Telerik.Web.UI.WebResource.axd.

Control Requested Resources
ScriptManager

WebResource.axd

ScriptResource.axd

RadScriptManager

Telerik.Web.UI.WebResource.axd

RadStyleSheetManager

Telerik.Web.UI.WebResource.axd



All the best,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Bharathwajan Venkatanarayanan
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or