1. 程式人生 > >在Windows Server 2008 R2 Server中,上傳視頻遇到的問題(二)

在Windows Server 2008 R2 Server中,上傳視頻遇到的問題(二)

content 修改 strong 報錯 con 節點 fail get tle

上一篇 在Windows Server 2008 R2 Server中,上傳視頻遇到的問題(一)中遇到上傳40M視頻報404,然後修改配置文件節點:

<httpRuntime targetFramework="4.5.2" maxRequestLength="1073741824" executionTimeout="3600"/>

<security>
      <requestFiltering>
        <!--修改服務器允許最大長度-->
        <requestLimits maxAllowedContentLength="
1073741824"/> </requestFiltering> </security>

解決404錯誤。

今天,上傳1.2G視頻,報“Failed to load resource: net::ERR_CONNECTION_RESET”錯誤

原來是上傳設置的 1073741824大小為1G,所以把兩處1073741824 改為1610612736,可以支持1.5G,就不會報錯了。

在Windows Server 2008 R2 Server中,上傳視頻遇到的問題(二)