<!--增加上传大小为8m--><!--在webconfig中的system.web增加如下代码--><httpRuntime maxRequestLength="8192" useFullyQualifiedRedirectUrl="true" executionTimeout="100"/> 也可以修改Machine.config的MaxRequestLength的值,那么所有的项目都将自动应用设置。 转载于:https://www.cnblogs.com/liufei88866/archive/2008/07/22/1248885.html