Download a ajaxupload.js plugin on the internet, for no refresh upload pictures to make, and then follow the example of the demo to run a bit, upload ah what are OK, but just upload the example image has a relatively large, 4m,5m look, and then upload will report the above error.
Simply look at my description, it is obvious that the reason for the larger picture, may soon think of the configuration of the Web. config problem, but when I was the authority of the time, there is no such a light, because there are hints wrong, there is a visit to Baidu, the results found what is "cross-domain tuning function" problem, so far, The question I explored is in the wrong direction.
Although there is no obvious point in the question is the size of the upload image is related, but this problem is not set the size of the upload file, and the default upload file size of ASP. 2M
Let me tell you the solution first by adding the following paragraph to the <system.web> of Web. config
10240 usefullyqualifiedredirecturl=" true " executiontimeout=" 12000 minfreethreads=" 8 minlocalrequestfreethreads=" 4 " Apprequestqueuelimit= " 100 " enableversionheader=< Span style= "color: #800000;" > " true " />
Description
ASP. NET uses the Ajaxupload.js plug-in to upload a large file failure resolution method