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

解决方案 »

  1.   

    在web.config里面加上楼上给你那一段,maxRequestLength="你希望的最大限制",如4M就是4096
      

  2.   

    THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
      

  3.   

    好象不行。我加如了WEBCONFIG文件。
    它说“运行时错误”
      

  4.   

    你可以去看看。。
    http://adva.hotgz.com/
      

  5.   

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

  6.   

    也可以改写MACHINE.CONFIG文件的
        <httpRuntime executionTimeout="90" maxRequestLength="4096" 
    useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" 
    appRequestQueueLimit="100" />ASP。NET缺省的就是4M(4096)限制,你只需将 MACHINE.CONFIG里的4096改成你希望的最大限制即可!
      

  7.   

    在web.config里加上:
    <httpRuntime maxRequestLength="4096" useFullyQualifiedRedirectUrl="true" executionTimeout="45" />
      

  8.   

    在 machine.config里修改maxRequestLength的值是对整个服务器适用.而在具体的项目中,在web.config里加入是针对该项目的最大限制值.
    另外,上面的各位兄弟讲的都对,试试看.