我已经在Windows Server 2008操作系统上的IIS 7.5上部署了我的应用程序,我想知道什么是最大文件上传限制以及如何增加此限制?进出口工作在asp.net MVC2Windows Server 2008 IIS 7.5最大文件接受限制
6
A
回答
8
此设置配置上传文件大小限制:
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="10485760"/>
</requestFiltering>
</security>
</system.webServer>
默认大小为30MB〜。
4
与设置你的web.config以下其中xxx为最大上传大小以KB为单位:
<configuration>
<system.web>
<httpRuntime maxRequestLength="xxx" />
</system.web>
</configuration>
默认值是4096(= 4 MB)。 MSDN documentation
1
阅读this博客文章,你会发现什么是最大长度,以及如何提高其极限
相关问题
- 1. Windows Server 2008的IIS 7.5的文件夹或文件不能与+
- 2. 在Windows Server 2008上安装IIS 7.5
- 3. Windows Server 2008许可限制
- 4. IIS 7.5 ApplicationPoolIdentity权限
- 5. 在IIS 7.5中按类型限制文件大小上传
- 6. Server 2008 IIS 7.5 SSL会话问题
- 7. 经典asp IIS 7.5中无法访问的包含文件Windows Web Server 2008 R2
- 8. 的Windows Server 2008 R2的IIS 7.5不服务.ashx的文件中正确
- 9. Windows Server 2008 R2 IIS Appcrash - System.StackOverflowException
- 10. 500.0 0x800700c1在IIS 7.5在Windows 2008 Server x64的
- 11. Windows Server 2008 R2 + IIS 7.5 + ASP.NET 4.0 = HTTP错误500.0
- 12. 使用Windows Server 2008和IIS 7.5的Access 2000的Internet同步
- 13. Windows Server 2008 R2 + IIS 7.5 - 无法找到资源
- 14. 如何在IIS 7.5,Windows Server 2008 R2(64位)中安装PHP
- 15. 将MVC 2部署到IIS 7.5 Windows Server 2008集成模式
- 16. Windows Server 2008中的IIS 7.5上的Log4Net问题
- 17. 将IIS 6复制到IIS 7.5中
- 18. Windows Server 2008 R2文件权限
- 19. 如何在Windows Server 2008上将SQL Server 2008与IIS 7连接
- 20. Windows Server 2008问题
- 21. IIS 7.5 401仅限于Windows服务
- 22. 限制SQL Server 2008中值的可接受范围
- 23. IIS 7.5 500大文件上传错误
- 24. Windows Server 2008 R2:上传限制
- 25. SQL Server 2008 R2 Express 10GB文件大小限制
- 26. 的SQL Server 2008 Express Edition的文件大小限制的问题
- 27. IIS 7.5中的虚拟目录是否存在文件夹大小限制?
- 28. IIS 7.5 - Windows Server 2008 - 文件上传405错误。代码在Windows 2003服务器中工作
- 29. SQL Server Express 2008 10GB大小限制
- 30. Sql Server 2008地理LineString大小限制
感谢亚历克斯,但你所提供的链接是我自己的博客:) – 2011-02-02 19:22:05