且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用字节数组传输大文件的问题

更新时间:2023-11-15 20:37:10

您好,如果使用IIS,则可能需要设置httpRuntime请求长度:

Hi, if using IIS, you may need to set the httpRuntime request length:

  <system.web>     <compilation debug="true" strict="false"                  explicit="true" targetFramework="4.0"/>    <httpRuntime maxRequestLength="100000"/>  </system.web> 


我们遇到了类似的问题.在IIS上设置maxRequestLength也解决了我们的问题.

We had a similar problem.  Setting the maxRequestLength on IIS also solved our problem.