1、打開某一發布網站的配置編輯器
2、設置上傳時間限制
3、設置上傳文件大小限制
另一種方法:
直接在網站根目錄建一個web.config文件
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="102400000" />
</requestFiltering>
</security>
</system.webServer>
<system.web>
<httpRuntime executionTimeout="1800" />
</system.web>
</configuration>