1.WebConfig:
<system.web>
<authentication mode="None" />
<compilation debug="true" targetFramework="4.5.2" />
<httpRuntime targetFramework="4.5.2" appRequestQueueLimit="100" executionTimeout="80" maxRequestLength="1048576000" useFullyQualifiedRedirectUrl="false" />
<httpModules>
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
</httpModules>
</system.web>
<system.webServer>
<System.webServer> added with:
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="1048576000"/>
</requestFiltering>
</security>
2. The application pool:
Click on the ASP website, open the property limit, change the maximum requesting entity body limit, and then click Apply