在使用Asp.Net自带的服务器端控件Fileupload上传文件时,可能会出现不能上传压缩文件的问题,此时可以通过下面的方法解决:
在<system.web>中添加:
<httpRuntime maxRequestLength=
"2048000"
executionTimeout=
"60"
/>