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

Telerik.Web.UI.WebResource.axd issue?

3 Answers 1687 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 08 Jan 2021, 05:19 PM

I had a working app service that I published to azure.  I have been publishing it for years.  Recently it stopped working. 

When I hit F12 I see the following errors:

Telerik.Web.UI.WebResource.axd:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)

Uncaught ReferenceError: Sys is not defined   at login.aspx:232

After researching it I believe it has to do with Telerik.Web.UI.WebResource.axd

It's a large web form application so I created a new (telerik based) smaller app and tried to publish to azure but received the same error. 

I have listed my web config, any thought on what could be the issue?  Your help is greatly appreciated. 

<?xml version="1.0"?>
<configuration>
  <appSettings>
    <add key="Telerik.Skin" value="Bootstrap"/>
    <add key="Telerik.ScriptManager.TelerikCdn" value="Disabled"/>
    <add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled"/>
    <add key="Telerik.Web.UI.RenderMode" value="lightweight"/>
  </appSettings>
  <system.web>
    <compilation debug="true" targetFramework="4.5.2"/>
    <httpRuntime targetFramework="4.5.2"/>
    <pages>
      <controls>
        <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
      </controls>
    </pages>
    <httpHandlers>
      <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false"/>
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/>
      <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/>
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
    </httpHandlers>
  </system.web>
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
    <handlers>
      <remove name="ChartImage_axd"/>
      <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode"/>
      <remove name="Telerik_Web_UI_SpellCheckHandler_axd"/>
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode"/>
      <remove name="Telerik_Web_UI_DialogHandler_aspx"/>
      <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode"/>
      <remove name="Telerik_RadUploadProgressHandler_ashx"/>
      <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode"/>
      <remove name="Telerik_Web_UI_WebResource_axd"/>
      <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode"/>
    </handlers>
  </system.webServer>
</configuration>

3 Answers, 1 is accepted

Sort by
0
John
Top achievements
Rank 1
answered on 08 Jan 2021, 05:25 PM

I see this in MS edge as well...

GET http://apogeedemo.azurewebsites.net/ScriptResource.axd?d=mbGZm65DzNC0tMTq0ElbcVepkfemNhCH3Hy81GMFjqlMjg1KTw4RTaNSXbpBSgiTU0jvb5Bpr4hhxzOxk4o6EbMEPiSzssOWzj0FLop2NhFmlvdJAVONf8aIQ8YeAF_oadWFPq7sPGgrOTehmYGkJw2&t=5a539fa8 500 (Internal Server Error)

0
John
Top achievements
Rank 1
answered on 08 Jan 2021, 10:12 PM

I now was able to get debug code..... assistance needed thanks!

 

<div class="aspNetHidden">
<input type="hidden" name="RadScriptManager1_TSM" id="RadScriptManager1_TSM" value="" />
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUM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c5SFqXNal4FUCcdyqbVLPGboRxmBFe2+wqov6NNguxoQD6C8jErcRJtiJtX8RMA6wZ/Ak9bdB7iSoFCFltR2Jdqt+tg8rqCccPqcsHKUFXqTM6vi1lFO+Kw3i4q4bovm1Jry/YqzGc4xfsoriBXtxDnlu6+cwKPzDS/kie/YdLcOovKCkJQAJeEKKpPQLNBq/s+GWqqcMfZ7A6WA4/mG0EumbUEgSNGuk7j267c4zPNWGHyKD2CZfVg9c0pD23anWjS89mh2B" />
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
    theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>


<script src="/WebResource.axd?d=pynGkmcFUV13He1Qd6_TZDdQ5ktZQNrbT6Ew8v6g-uSwfZbFZb-lkoP4sfX15vs-LwDLMm5JEGK7f_JY8YoSfQ2&amp;t=637321775980000000" type="text/javascript"></script>


<script src="/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&amp;compress=1&amp;_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3abc17b1ef-7a1b-49cb-a795-5f1c64597a53%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2016.2.607.45%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3afb63f838-b932-4810-8e72-f1ca43eff960%3a16e4e7cd%3af7645509%3a24ee1bba%3a33715776%3a6d43f6d9%3ac128760b%3a19620875%3ab2e06756%3a92fe8ea0%3afa31b949%3a4877f69a%3a874f8ea2%3af46195d3%3a490a9d4e%3abd8f85e4" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
//]]>
<

0
Attila Antal
Telerik team
answered on 13 Jan 2021, 09:14 AM

Hi John,

That large error message from the browser's console indicates that there is an exception thrown on the server and is absorbed by the AJAX framework.

Try disabling the AJAX temporarily and test the application again. That will display the exact error and might give you a better understanding of the cause. See Get more descriptive errors by disabling AJAX

If this does not help in resolving the issue, we can also take a look, but for that, we would require the source code (the ASPX and ASPX.cs). You can share the code or just describe to us the steps that will help us replicate the problem.

Regards,
Attila Antal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
John
Top achievements
Rank 1
Answers by
John
Top achievements
Rank 1
Attila Antal
Telerik team
Share this question
or