jQuery的表单文件上传文件大小为大于4MB腋臭申请 [英] jQuery Form file upload Files with size greater thatn 4MB filed

查看:189
本文介绍了jQuery的表单文件上传文件大小为大于4MB腋臭申请的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用jQuery形式上传。我无法上传文件,大小比4MB更调试我的请求提琴手和跟它
ReadResponse()失败:服务器未返回该请求的响应

I am using jQuery Form upload. I am unable to upload file with the size more than 4MB I debug my request in Fiddler and it is saying ReadResponse() failed: The server did not return a response for this request.

如果我上传小文件,所有的工作很好,我没有得到任何错误。

If i am uploading small file all working well and I do not get any error.

您可以在这里看到我的code:<一href=\"http://stackoverflow.com/questions/6640230/jquery-form-file-upload-check-file-on-server-and-generate-errors-to-pass-to-the-c\">jQuery在服务器上表文件上传检查文件并生成错误传递到客户端

You can see my code here: jQuery Form file upload check file on server and generate errors to pass to the client

任何想法如何解决呢?任何思考为什么它是发生?

Any ideas how to fix that? Any thoughts why it is happens?

此外,我想我会加上一些客户code这将检查文件大小的服务器之前提交。

Also I think i would add some code on client which would check the file size before submit on server.

推荐答案

您可能需要增加的的maxRequestLength 在web.config中设置。

You may need to increase the maxRequestLength setting in web.config.

在这里更多有用的信息:

More useful info here:

http://weblogs.asp.net/jgalloway/archive/2008/01/08/large-file-uploads-in-asp-net.aspx

这篇关于jQuery的表单文件上传文件大小为大于4MB腋臭申请的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆