加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net-mvc-4 – 请求太大

发布时间:2020-12-16 03:48:52 所属栏目:asp.Net 来源:网络整理
导读:我在我的页面上收到以下错误,我更新了IIS设置的发布限制,但是找不到如何增加工作缓冲区大小,对此的任何帮助都会很棒 Request Too LargeThe "POST" request is too large for the internal work buffer: The internal work buffer size is 512 bytes. The "PO
我在我的页面上收到以下错误,我更新了IIS设置的发布限制,但是找不到如何增加工作缓冲区大小,对此的任何帮助都会很棒

Request Too Large
The "POST" request is too large for the internal work buffer:

    The internal work buffer size is 512 bytes.
    The "POST" request size is 2313 bytes. 

Return to last page

来自firebug的官方状态错误:413请求实体太大
我正在使用IIS7.5来设置页面

该站点是通过.NET MVC4构建的

而且我无法减少帖子的大小,事实上在某些情况下它只会增加.

解决方法

找到答案,你必须更新IIS中的UploadReadAheadSize这篇文章告诉我如何从IIS中做到这一点.

http://tips4sysadmins.blogspot.com/2012/12/iis-75-uploadreadaheadsize.html

How to set the uploadReadAheadSize in IIS 7.5

  • Launch “Internet Information Services (IIS) Manager”
    • Expand the Server field
    • Expand Sites
    • Select the site you want to make the modification for.
    • In the Features section,double click “Configuration Editor”
    • Under “Section” select: system.webServer>serverRuntime
    • Modify the “uploadReadAheadSize” section
    • Click Apply

Note that the value is in BYTES

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读