我该如何解决"超过最大请求长度"例外? [英] How do I resolve the "maximum request length exceeded" exception?
本文介绍了我该如何解决"超过最大请求长度"例外?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请任何一个可以帮助我,当我上传图片我有这个错误
please any one help me when I upload image i had this error
最大请求长度
推荐答案
以下内容添加到你的web.config文件:
Add the following to your web.config file:
<configuration>
<system.web>
<httpRuntime maxRequestLength ="2097151"/>
</system.web>
</configuration>
这将其设置为2GB。不能肯定最大是什么。
This sets it to 2GB. Not certain what the max is.
这篇关于我该如何解决&QUOT;超过最大请求长度&QUOT;例外?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文