asp.net默认最大上传文件大小为4096
如果是单个项目

修改web.config文件可以改变这个默认值

<configuration>
              <system.web>
                 <httpRuntime maxRequestLength="10000" />
              </system.web>
            <configuration>


多个项目通常修改  c:\winnt\microsoft.net\dotnetframework\1.xxx.xx\config 目录下的 machine.config 文件

相关文章:

  • 2021-07-23
  • 2021-10-20
  • 2021-10-25
  • 2021-10-26
  • 2022-12-23
  • 2021-03-31
  • 2021-12-05
猜你喜欢
  • 2021-10-29
  • 2021-10-25
  • 2021-11-17
  • 2021-12-29
  • 2021-10-08
  • 2022-01-28
相关资源
相似解决方案