Page Load and Timeout Errors with Telerik Controls

2 Answers 34 Views
Ajax General Discussions Grid
Sanju
Top achievements
Rank 1
Iron
Sanju asked on 09 Mar 2025, 10:06 AM

I'm experiencing an issue where the page becomes unresponsive for a long time whenever any Telerik control (such as refresh or loader) is triggered. The page keeps loading indefinitely, causing significant delays, and eventually, the page becomes unresponsive.

Additionally, the following error appears in the browser console:

Uncaught Sys.WebForms.PageRequestManagerTimeoutException: Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.
at Error.create (https://test.plc.com/GS/Telerik.Web.UI.WebResource.axd?...:6:2736)
at Sys.WebForms.PageRequestManager._createPageRequestManagerTimeoutError (https://wpinhouse.knpc.com/GPCS/Telerik.Web.UI.WebResource.axd?...:15:11219)
at Sys.WebForms.PageRequestManager._onFormSubmitCompleted (https://wpinhouse.knpc.com/GPCS/Telerik.Web.UI.WebResource.axd?...:15:11219)

The issue arises when interacting with Telerik controls that trigger a page request, causing the page to hang and ultimately become unresponsive.

 

issue started from Feb 17 2025

 

 

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 11 Mar 2025, 01:24 PM

Hi Sanju,

To address the "Sys.WebForms.PageRequestManagerTimeoutException" error and the unresponsive page issues with Telerik controls, you can follow these steps:

  1. Increase Timeout Settings: Adjust the timeout settings in your web.config file to handle longer requests. You can modify the executionTimeout and maxRequestLength properties. Here's an example:

    <system.web>
      <httpRuntime maxRequestLength="20480" executionTimeout="600" />
    </system.web>
    
  2. Disable AJAX Temporarily: Temporarily disable AJAX to check if it is the cause of the issue. This can be done by setting the EnableAJAX property to false in your RadAjaxManager. Doing this may reveal more descriptive errors that are currently hidden by AJAX:

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableAJAX="false">
      <!-- Your Ajax settings -->
    </telerik:RadAjaxManager>
    

    More details can be found here:

  3. Check for JavaScript Errors: Open the browser's developer tools and check for any JavaScript errors that might affect the page's execution. Address any errors found, as they can stop scripts from running properly.

  4. Enable the Telerik CDN this way the Telerik.Web.UI.WebResource.axd resource files will be heavily reduced and the resources will be loaded through the CDN server.

    <telerik:RadScriptManager 
    	ID="RadScriptManager1" 
    	runat="server">
    	<CdnSettings TelerikCdn="Enabled" />
    </telerik:RadScriptManager>
    
    <telerik:RadStyleSheetManager runat="server" ID="RadStyleSheetManager1">
        <CdnSettings TelerikCdn="Enabled" />
    </telerik:RadStyleSheetManager>

  5. Replace RadScriptManager with asp:ScriptManager and test again.

  6. Review Recent Changes: Since the issue started on February 17, 2025, review any changes made to the application around that time. This can include code changes, server updates, or configuration adjustments.

  7. Inspect ASPX Page and Code-Behind: Examine the ASPX page and its code-behind for any inefficient code or processes that could contribute to delays. Consider simplifying or optimizing complex logic.

  8. Consider Upgrading: If you're using an older version of Telerik controls, upgrading to a newer version might resolve the issue as newer versions often include performance improvements and bug fixes.

If these steps do not resolve the issue, please provide additional context or changes made around the time the issue started. This can help in diagnosing the problem further.

 

    Regards,
    Rumen
    Progress Telerik

    Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

    0
    Sanju
    Top achievements
    Rank 1
    Iron
    answered on 12 Mar 2025, 12:18 PM

    I have already increased the timeout.

    Enabling the CDN is not an option since the server does not have internet access.

    I mentioned the date because I noticed a Telerik hotfix was released on the same day.

    Could you please guide me on upgrading the license? Do we need to renew the DevCraft Complete license, or is there an alternative approach?

    I will implement the other suggested changes and provide an update on the progress.

    Rumen
    Telerik team
    commented on 12 Mar 2025, 12:31 PM

    Since enabling the CDN via an external server is not an option in your environment, you can enable it as a local storage CDN. Please refer to this guide for implementation details:
    Custom CDN Provider for Telerik ASP.NET AJAX

    Additionally, could you confirm which Telerik ASP.NET AJAX version you are currently using in your application? Our records indicate that:

    • There are no downloads associated with this account.
    • You are not listed as a licensed developer under the current license.

    If you need assistance with assigning developers and managing licenses, please check this guide:
    How to Assign Developers and Managers to Purchased Licenses

    Regarding your DevCraft Complete license:
    • If it has expired, you may not have access to download the latest version 2025 Q1 (2025.1.218).
    • You can either test with the latest trial version or renew your license to gain access to updates and support.

    Let us know how you’d like to proceed!


    Tags
    Ajax General Discussions Grid
    Asked by
    Sanju
    Top achievements
    Rank 1
    Iron
    Answers by
    Rumen
    Telerik team
    Sanju
    Top achievements
    Rank 1
    Iron
    Share this question
    or