今天发现uploadify  上传超过100Kb就报错,报错http 404错误


发现上传低于100Kb可以。

解决方案:web目录,请求筛选,uploadify 上传文件出现HTTP 404错误


然后“编辑功能设置”

uploadify 上传文件出现HTTP 404错误

修改最大内容长度。这里面单位均为B。


以下对应修改:

   <httpRuntime requestValidationMode="2.0"/>-->
    <httpRuntime maxRequestLength="204800" executionTimeout="720" requestValidationMode="2.0" />
   <identity impersonate="true" />


<security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="204800" maxQueryString="2097151" />
      </requestFiltering>
    </security>
    <staticContent>
      <mimeMap fileExtension=".grf" mimeType="xml/grf" />
    </staticContent>
        <defaultDocument>
            <files>
                <add value="login.aspx" />
            </files>
        </defaultDocument>
  </system.webServer>


解决问题。(此过程没有重启iis)






相关文章: