DICOMcloud
DICOMcloud copied to clipboard
maximum request size exceeded for STOWRS
When using Stowrs I get a maximum request size exceeded error. I was able to fix it easily by modifying the web.config as below.
https://stackoverflow.com/questions/3853767/maximum-request-length-exceeded
I copy the relevant part of the answer for convenience, in most cases 4MB will be too small particularly for uncompressed data which is what I am testing with.
if you are using IIS for hosting your application, then the default upload file size is 4MB. To increase it, please use this below section in your web.config -
<system.webServer>
maxRequestLength is measured in kilobytes maxAllowedContentLength is measured in bytes which is why the values differ in this config example. (Both are equivalent to 1 GB.)
I think if you data is big. use DICOMcloud's default upload function is Not a good idea. You know the iis web site application has limit for one http post data size. And You know when post data is large , the Performance will be very low. I think the best way is custom the upload style. Such as:
- upload many dicom files to server disk use ftp.
- save the server disk dicom file to DICOMcloud direct use custom StorageHelper class function. Not use http post style to upload file to DICOMcloud.
Now i am research the function.
@shelbypereira the way you solved this is right and expected. This has nothing to do with DICOMcloud but rather a configuration of ASP.NET and IIS for any upload to the server.
Currently I have this set in DICOMcloud to be 10MB but I don't see a problem if this is higher by default as long as it is reasonable.
I've updated the code to allow up to 100MB by default bbcb4e0