AjaxFileUpload - Files over 20mb
See original GitHub issueThe 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:
- Created 6 years ago
- Comments:10 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, that’s working - thanks.
I’ll double-check this resolves my issue on the other computer on Monday.
Thanks
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.