在system.web节点下
<httpRuntime maxRequestLength="4096" executionTimeout="120"><httpRuntime>
maxRequestLength的值为可上传文件的默认大为4M,如需上传更大的文件,设置maxRequestLength的值即可。