我把
<httpRuntime executionTimeout="90" maxRequestLength="10240000" />加到webconfig里面了,怎么还是不行啊???提示.

解决方案 »

  1.   

    应该是没问题的
    我做过200m都行
    http://blog.joycode.com/saucer/archive/2004/03/16/16225.aspx
      

  2.   

    我看了你的bolg了,看不太懂,请问还需要在别的地方设置什么啊???比如说IIS了,我不太懂这些~~麻烦了`~~
      

  3.   

    那不是我的 blog :)
    很早就有这个问题存在了如果
    <httpRuntime executionTimeout="90" maxRequestLength="10240000" />
    这句位置正确的话
    应该是可以直接支持大文件的
    <system.web>  
      <httpRuntime   maxRequestLength="你要的数字"  executionTimeout="300"/>   
      </system.web>
      

  4.   

    <httpRuntime executionTimeout="90" maxRequestLength="10240000" />
    这样设置也不能解决根本问题,我以前也试过,可以采用加入FTP上传方式,网上有介绍的。
      

  5.   

    TO:calmzeal(demon) 我就是加在
    <system.web>  
    </system.web>
    之间的,这点肯定没有问题,谢谢~~~还有别的办法吗?TO:gaise(一只小猪)如果不用FTP的话,还有没有别的办法??TO:lxs5i5j() 我想这不光是服务器的事吧?自己在程序里也应该设置一下的,你还有别的办法吗?
      

  6.   

    设置下
    httpRuntime executionTimeout="90" maxRequestLength="10240000" />
    <system.web>  
      <httpRuntime   maxRequestLength=""  executionTimeout="300"/>   
      </system.web>
      

  7.   

    httpRuntime executionTimeout="90" maxRequestLength="10240000" />
    <system.web>  
      <httpRuntime   maxRequestLength=""  executionTimeout="300"/>   
      </system.web>
    还有你是不是用server2003的系统!要改一下IIS的设置!
      

  8.   

    可能是IIS没有设置。一般情况下,在Win2k3中用ASP上传文件是不会直接成功的,因为系统中作了一项限制,可能通过手工修改一下其设置,方法如下: 在服务里关闭iis admin service服务 
    找到windows/system32/inesrv/下的 metabase.xml, 
    打开,找到ASPMaxRequestEntityAllowed 把他修改为需要的值,默认为204800,即200K 
    然后重启iis admin service服务附:iis开启与关闭输入“net stop iisadmin”命令,点确定终止IIS服务
    输入“net start w3svc”命令,确定 重新启动IIS服务
      

  9.   

    <configuration>
    <system.web><httpRuntime maxRequestLength="文件大小" executionTimeout="有效时间"/>
    </system.web>
    </configuration>
      

  10.   

    我用的是XP的系统,请问在哪儿设置啊???我在windows/system32/inesrv/下找了,没有metabase.xml这个文件,只有metabase.bin和metabase.dll两个文件.怎么办呢??麻烦各位了`~~谢谢~~~