解决FileUpload控件上传文件大小限制 1、打开web.config文件2、在system.web节点下添加: <httpRuntime maxRequestLength="4096" /> 这样大小是4M,参数最大是2091151,2G左右大小 3、默认值为 4096 KB (4 MB)。