修改IIS的 applicationhost.config 1.文件位置: %windir%/system32/inetsrv/config/applicationhost.config 2.找到<requestFiltering>节点,该节点下默认没有 <requestLimits maxAllowedContentLength="上传大小的值(单位:byte)" /> 元素。 3.为这个节点添加如下元素:<requestLimits maxAllowedContentLength="