The project needs to upload some files about 50 MB to the server. Our upload is designed as follows:
Enable
Use the upload control provided by Asp.net, which automatically changes the format in the form. Then change the corresponding webconfig settings, maxrequestlength
And the maximum timeout value. Set the maximum connection timeout value in IIS. However, this problem occurs. When uploading a small file, it is usually no more than 8 MB and can be uploaded successfully.
When a large file is uploaded for a long time, when the progress bar approaches completion, the page cannot be found or the DNS resolution is incorrect... Dizzy .... In my future breakpoint tracking, I found
Request
It is not sent to the page_load event. In my opinion, the page_load event is not found in the page generation event, and the request is rejected in the previous events.
But I can't find any reason. Which event is rejected? Or is IIS not transferred to Asp.net when the request arrives at iis?
Please enlighten me!