<configuration>
<system.web>
<httpRuntime maxRequestLength="102400" /> <!-- 设置为所需的大小,例如 100MB 对应的大小是 102400KB -->
</system.web>
</configuration>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="10485760" /> <!-- 设置为所需的字节数,例如 10MB 对应的字节数为 10485760 -->
</requestFiltering>
</security>
</system.webServer>