Skip to content

Commit d06cb6b

Browse files
github-actions[bot]KB Bot
andauthored
Added new kb article large-radgrid-export-system-operation-canceled-exception (#700)
Co-authored-by: KB Bot <[email protected]>
1 parent e969cea commit d06cb6b

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
title: Large RadGrid Export Causes Application Crash
3+
description: Resolving System.OperationCanceledException during large RadGrid exports in Telerik UI for ASP.NET AJAX.
4+
type: troubleshooting
5+
page_title: Application Crash During Large RadGrid Export
6+
meta_title: Application Crash During Large RadGrid Export
7+
slug: large-radgrid-export-system-operation-canceled-exception
8+
tags: radgrid, asp.net ajax, export, large-data, timeout, system.operationcanceledexception
9+
res_type: kb
10+
ticketid: 1691526
11+
---
12+
13+
## Environment
14+
15+
<table>
16+
<tbody>
17+
<tr>
18+
<td>Product</td>
19+
<td>RadGrid for ASP.NET AJAX</td>
20+
</tr>
21+
<tr>
22+
<td>Version</td>
23+
<td>2025.1.416</td>
24+
</tr>
25+
</tbody>
26+
</table>
27+
28+
## Description
29+
30+
I encounter a `System.OperationCanceledException` when attempting to export large datasets from the [RadGrid](https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/overview) in Telerik UI for ASP.NET AJAX. This issue occurs after upgrading to version 2025.1.416 or later, and the same export works without issues in version 2024.3.805.
31+
32+
## Cause
33+
34+
Starting with version 2025.1.416, a default timeout of 10 seconds is enforced during document import and export operations in the Document Processing Library (DPL). This timeout is intended to ensure consistent performance and mitigate security risks but may cause exceptions during large exports.
35+
36+
## Solution
37+
38+
To resolve the issue, modify the timeout setting for the DPL export functionality in the `web.config` file.
39+
40+
1. Open your `web.config` file.
41+
2. Locate the `<appSettings>` section.
42+
3. Add or update the following setting to increase the timeout:
43+
44+
```
45+
<appSettings>
46+
<add key="Telerik.DplFormatProviderTimeout" value="90"/>
47+
</appSettings>
48+
```
49+
50+
4. Set the timeout value based on your export needs (e.g., 30, 60, 90 seconds, or more).
51+
5. Save the file and test the export operation.
52+
53+
## See Also
54+
55+
- [RadGrid Documentation](https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/overview)
56+
- [Release Notes for Telerik UI for ASP.NET AJAX 2025 Q1](https://www.telerik.com/support/whats-new/aspnet-ajax/release-history/telerik-ui-for-asp-net-ajax-2025-1-211-(2025-q1))
57+
- [Security Best Practices for Telerik UI for ASP.NET AJAX](https://www.telerik.com/products/aspnet-ajax/documentation/security/security#general-security-best-practices)

0 commit comments

Comments
 (0)