Request Too Large

梦想与她 提交于 2019-12-12 10:45:06

问题


I am receiving the following error on my page, I updated the IIS setting for posting limit, but can't find how to increase the work buffer size, any help on this would be awesome

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

Official status error from firebug: 413 Request Entity Too Large

I am using IIS7.5 for setting up the page

The site is built via .NET MVC4

and I can not reduce the post size, in fact in some cases it only increase.


回答1:


Found the answer, you have to update the UploadReadAheadSize in IIS the article here showed me how to do it from 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



来源:https://stackoverflow.com/questions/16993575/request-too-large

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!