bugnet icon indicating copy to clipboard operation
bugnet copied to clipboard

can not upload attachment file with big size

Open kevinlihai opened this issue 9 years ago • 5 comments

Hi all, I am trying to upload a file with the size of over 4M bytes, but failed. However, it works if I upload some files with smaller size, e.g. files with size of 1M bytes. I config the attachment as the database storage.

Great thanks!!

qq 20160122144417

I got the error message as bellow:

Application Error - /BugNet/Issues/IssueDetail.aspx

An error has occured in processing your request.

Please try again.

Powered by BugNET 1.6.339.0

kevinlihai avatar Jan 22 '16 06:01 kevinlihai

See this issue https://github.com/dubeaud/bugnet/issues/119

dubeaud avatar Jan 29 '16 02:01 dubeaud

it may be a little bit different. I set the file limit as 100M, but the file to be uploaded is just 4M. However, I failed to upload it.

kevinlihai avatar Jan 29 '16 03:01 kevinlihai

In the release BugNET 1.6.339.0, it provide the "file size limit" option, do I still need to set the following: <system.web> <httpRuntime maxRequestLength="X" /> </system.web>

kevinlihai avatar Jan 29 '16 03:01 kevinlihai

Yes you do.

dubeaud avatar Jan 29 '16 13:01 dubeaud

Fixed! both of the file limit and the maxRequestLength should be configured.

kevinlihai avatar Jan 30 '16 08:01 kevinlihai