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 文件
 

 

转自:http://blog.csdn.net/superes/archive/2006/10/11/1330437.aspx

相关文章:

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