用上传控件上传文件时,当执行SaveAs()时出错,异常为cannot access a closed file;

当传小文件没有异常,当超过80k时就出上述异常,后来发现要将Web.config里增加

<!--设置上传附近的大小-->
    <httpRuntime maxRequestLength="8192" requestLengthDiskThreshold="8192"></httpRuntime>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-11
  • 2021-12-23
  • 2021-05-17
  • 2021-12-08
  • 2022-02-03
相关资源
相似解决方案