Let's talk about the file size first, the file is more than 900MB, just upload a test file. The upload plug-in uses Baidu's webuploader, when the Baidu upload progress is full, and then, when you see the requested interface, it will report a 404 error.
Why is the 404 error?? Then, after debugging, I found that when uploading a 900m file, the progress bar was full, and there was no way to enter the interface.
Check the httpRuntime of web.config:
system.web:
This value is enough!!! What should I do???
Error message:
Most likely causes: Request filtering on the web server is configured to deny the request because the content length exceeds the configured value.
What to try: Confirm the configuration/system.webServer/security/requestFiltering/requestLimits@maxAllowedContentLength setting in the applicationhost.config or web.config file.
Links and more information This is a security feature. Please do not change this feature unless you are fully aware of the scope of the change. You can configure the IIS 7.0 server to reject requests whose content length is greater than the specified value. This error is returned if the length of the requested content is greater than the configured length. If you need to increase the content length, modify the configuration/system.webServer/security/requestFiltering/requestLimits@maxAllowedContentLength setting.
solution
It turns out that the upload file size of IIS7, even in classic mode, must be set in system.webServer, and it is OK to add it:
Finally, send a screenshot of uploading a large file!!!
|