question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AjaxFileUpload - Files over 20mb

See original GitHub issue

The AJAX Control Toolkit \ 17.1.1

The installation method

  • Installer
  • [X ] NuGet package
  • A custom build from the source code

Minimal steps to reproduce the bug

<ajaxToolkit:AjaxFileUpload ID=“AjaxFileUpload” runat=“server” onuploadcomplete=“AjaxFileUpload_UploadComplete” ThrobberID =“myThrobber” MaximumNumberOfFiles=“1” AllowedFileTypes=“wma,mp3,m4a,wav” ClearFileListAfterUpload=“true” OnClientUploadStart=“UploadStart” OnClientUploadComplete=“UploadComplete” />

Actual result

In 17.1.1…

<script type="text/javascript">
//<![CDATA[
Sys.Application.add_init(function() {
    $create(Sys.Extended.UI.AjaxFileUpload.Control, {"allowedFileTypes":"wma,mp3,m4a,wav","clearFileListAfterUpload":true,"clientStateField":$get("cphPageContent_ModalStudentAudio_AjaxFileUpload_ClientState"),"contextKey":"{DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}","enabled":true,"maximumNumberOfFiles":1,"postBackUrl":"/test/student_audio?id=9290","serverPollingSupport":true,"uploadHandlerPath":"/AjaxFileUploadHandler.axd"}, {"uploadComplete":UploadComplete,"uploadError":UploadError,"uploadStart":UploadStart}, null, $get("cphPageContent_ModalStudentAudio_AjaxFileUpload"));
});
//]]>
</script>
  • This works with files < 20mb, and fails when over. *

Expected result

In 16.1.1…

<script type="text/javascript">
//<![CDATA[
Sys.Application.add_init(function() {
    $create(Sys.Extended.UI.AjaxFileUpload.Control, {"allowedFileTypes":"wma,mp3,m4a,wav","clearFileListAfterUpload":true,"clientStateField":$get("cphPageContent_ModalStudentAudio_AjaxFileUpload_ClientState"),"contextKey":"{DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}","maximumNumberOfFiles":1,"postBackUrl":"/test/student_audio?id=9287","serverPollingSupport":true}, {"uploadComplete":UploadComplete,"uploadStart":UploadStart}, null, $get("cphPageContent_ModalStudentAudio_AjaxFileUpload"));
});
//]]>
</script>

Browser(s) used

Chrome/Edge

A site deployment method

  • [X ] VS development web-server,
  • [X ] IIS

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
JayH77commented, Oct 6, 2017

Yes, that’s working - thanks.

I’ll double-check this resolves my issue on the other computer on Monday.

Thanks

0reactions
MikhailTymchukDXcommented, Oct 6, 2017

Glad to hear it! I consider the problem solved, so I’m closing this issue. If it’s not, feel free to comment so I can reopen it and we can continue our research.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AJAX File Upload Error 500 with 20MB size file - Stack Overflow
I am trying to upload a file using AJAX Post, but I am getting 500 error when trying to upload a 10Mb file,...
Read more >
More... ajaxToolkit:AjaxFileUpload Issues - MSDN - Microsoft
My current project's file upload stopped uploading files over 20mb (I'm sure I had this problem before but managed to fix it -...
Read more >
Mini AJAX File Upload Form - Tutorialzine
In this tutorial we are going to create an AJAX file upload form, that will let visitors upload files from their browsers with...
Read more >
AJAX File Upload - CodeRanch
Hi All, I have a requirement to upload the files to the server.This needs to be achieved using JSP and Servlet technologies.
Read more >
Using JavaScript FileReader to Upload Large Files in Chunks ...
WP Migrate DB Pro is used on a ton of servers, so I needed to create an upload tool that can handle large...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found