IIS7.0默认限制上传文件大小为30000000字节(约28.6M)。打开C:\Windows\System32\inetsrv\config\schema\IIS_schema.xml,找到如下内容:
<element name="requestLimits">
<attribute name="maxAllowedContentLength" type="uint" defaultValue="30000000" />
<attribute name="maxUrl" type="uint" defaultValue="4096" />
修改IIS7.0默认限制上传文件大小
最新推荐文章于 2025-05-24 16:46:27 发布
IIS7.0默认将文件上传大小限制为约28.6M(30000000字节)。要修改此设置,请编辑C:WindowsSystem32inetsrvconfigschemaIIS_schema.xml文件中的requestLimits部分。
230

被折叠的 条评论
为什么被折叠?



