228
Views
7
Comments
[Multiple File Upload] Error uploading large file size (> 600MB) using MultipleFileUpload component
multiple-file-upload
Web icon
Forge asset by Multi Uploaders
Application Type
Traditional Web

Error uploading large file size (> 600MB) using MultipleFileUpload component


we get the following errors when trying to upload large files (> 600 MB). Note that we already increased maxRequestLength in IIS configuration, but it allowed up to 600 MB.  


How can we resolve this error ?





Error Logs show 2 errors:


this one 





and this one 



2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Not sure if the Forge component used the upload widget, but that one is limited to files of 250Mb.

https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Interfaces/Designing_Screens/Upload

UserImage.jpg
Maitha Khanji

no it is using javascript for the upload functionality 

2023-12-07 07-51-40
Remco Dekkinga
 
MVP

It could be that you are killing the server with such a big upload. The error is about a missing network connection too and the second about cleared cache. This could be caused by overloading the server in a way that it doesn’t respond on anything anymore.

This is just a first guess, because I can’t see more details on your server.

Is the server still accessible while uploading? And what does the resource consumption look like? CPU, memory, IO, disk and network?

UserImage.jpg
Maitha Khanji

Hi Remco,

Server resources are ok, i monitored while uploading the file. It seems that the timeout is set in the javascript script which might override the IIS configuration. Any idea how to set it in the js script in the MultipleFileUpload component ? 

2021-11-18 18-03-41
AJ.

Hello @Maitha Khanji,

Could you please confirm the version of IIS you are using? You mentioned that you have increased the 'MaxRequestLength' value in the IIS configuration and that is good for IIS versions < 7.0.

So if your IIS version is 7 and higher you may need to additionally add the following configuration per Remco's suggestion in this post:

 <system.webServer>
   <security>
      <requestFiltering>
         <requestLimits maxAllowedContentLength="1073741824" />
      </requestFiltering>
   </security>
 </system.webServer>
UserImage.jpg
Maitha Khanji

hi AJ,

thanks for your reply. our IIS is version 10, i added this part (also it was configured in IIS itself) but still issue is not resolved. 

UserImage.jpg
Maitha Khanji

I have been able to upload files up to 1 GB by configuring two more parameters  as per the following links

https://docs.microsoft.com/en-us/iis/configuration/system.webserver/serverruntime

https://stackoverflow.com/questions/63833894/iis-uploadreadaheadsize-value-meaning

https://forums.iis.net/t/1217850.aspx


However for files larger than 1 GB i am getting the error "System.OutOfMemoryException". I applied the steps in the link https://www.outsystems.com/forums/discussion/62141/error-publishing-system-outofmemoryexception/ but still is not resolved. If we can solve this one then our issue would be 100% resolved. 


I am searching Google for a solution. 


regards, 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.