相关博客
https://www.cnblogs.com/littlewrong/p/10897998.html
https://www.cnblogs.com/fumj/archive/2012/08/05/2623515.html
问题发现:项目中使用网页进行程序发布,在上传文件时报错。在查找很多资料时,系统版本和自身情况存在不匹配,故做记录。
系统环境:Windows Server 2016
步骤:
-
控制面板->管理工具

-
打开IIS管理器

-
选择配置编辑器

-
选择System.webServer/security/requestFiltering, 修改maxAllowedContentLength上限值

但是在修改完之后报了:

-
再进入System.web/httpRuntime,修改执行时间和最大请求长度,进行上传测试成功。

本文介绍了在Windows Server 2016环境下使用IIS进行文件上传时遇到的问题及解决方案,详细步骤包括调整maxAllowedContentLength上限值和修改System.web/httpRuntime设置。
3714

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



