在Windows Server 2008 R2 Server中,上传视频遇到的问题(二)

上一篇  在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,就不会报错了。

posted @ 2017-07-28 22:15  一夜秋2014  Views(350)  Comments(0Edit  收藏  举报