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

Cannot Set Property 'scriptsFailed' of undefined

2 Answers 489 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Kevin asked on 16 Dec 2013, 04:50 PM
Hi Everyone,

I am having an error (Cannot Set Property 'scriptsFailed' of undefined) which has to do with the webresource.axd when I access my application from outside our domain. I have no errors when running the app inside out domain.

I have attached an image of the error I am getting.

I am assuming that access to the webresource.axd is somehow not setup to allow external requests or something but all of my searching on Google has not turned up anything helpful.

Here is my RadScriptManager declaration:

<telerik:RadScriptManager runat="server" ID="MainRadScriptManager">
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
    <CacheSettings Enabled="true" />
    <CdnSettings TelerikCdn="Enabled" />

Here is my system.webserver section of my web config:

    <modules runAllManagedModulesForAllRequests="true">
        <remove name="UrlRoutingModule" />
        <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
        <remove name="RadUploadModule" />
        <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode" />
        <remove name="RadCompression" />
        <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode" />
        <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <validation validateIntegratedModeConfiguration="false" />
        <remove name="ChartImage_axd" />
        <remove name="ScriptHandlerFactory" />
        <remove name="ScriptHandlerFactoryAppServices" />
        <remove name="ScriptResource" />
        <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
        <remove name="Telerik_Web_UI_DialogHandler_aspx" />
        <remove name="Telerik_Web_UI_WebResource_axd" />           
        <remove name="Telerik_RadUploadProgressHandler_ashx" />
        <remove name="WebServiceHandlerFactory-Integrated" />
        <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
        <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
        <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
        <add name="Telerik.Web.UI.WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
        <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
        <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
        <add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

If anyone can offer any help or suggestions, I would really appreciate it as I feel like I am dealing with a black box here.

Thank you.

2 Answers, 1 is accepted

Sort by
Top achievements
Rank 1
answered on 16 Dec 2013, 11:58 PM
I am also getting the errors in my Chrome developer window (attached as an image).
Telerik team
answered on 18 Dec 2013, 08:02 AM
Hi Kevin,

Your second screenshot shows that the Telerik.Web.UI.WebResource is throwing a 500 error, which is the source of the subsequent errors, as this resource contains all of the MS Ajax Framework scripts, which in turn are used by our Controls. The following help article explains some of the common issues that might cause this problem:

If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
General Discussions
Asked by
Top achievements
Rank 1
Answers by
Top achievements
Rank 1
Telerik team
Share this question