<system.web>
<httpRuntime executionTimeout="110" maxRequestLength="11000" requestLengthDiskThreshold="80" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="5000" enableKernelOutputCache="true" enableVersionHeader="true" requireRootedSaveAsPath="true" enable="true" shutdownTimeout="90" delayNotificationTimeout="5" waitChangeNotification="0" maxWaitChangeNotification="0" enableHeaderChecking="true" sendCacheControlHeader="true" apartmentThreading="false" />
</system.web>
maxRequestLength 默认是4096K,修改此属性就可以修改上传文件的大小限制。executionTimeout 为超时时间。如果上传文件较大,应该修改此值以防超时。