在 IIS7/Win7 Pro 上增加最大上传文件大小 [英] Increasing Max Upload File Size on IIS7/Win7 Pro

查看:23
本文介绍了在 IIS7/Win7 Pro 上增加最大上传文件大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为客户端设置服务器(我通常不会这样做),但在上传较大的文件 (11MB) 时遇到了问题.服务器运行的是 Windows 7 Professional,并添加了 IIS.

I'm setting up a server for a client (something I don't typically do), and I'm running into issues with uploading larger files (11MB). The server is running Windows 7 Professional with IIS added.

在 web.config 我试过设置

In web.config I've tried setting

<system.web>
    <httpRuntime maxRequestLength="65536" /> <!-- 64MB -->
</system.web>

...这不起作用.

我已经设置了

<system.webSecurity>
    <security>
        <requestFiltering>
            <requestLimits maxAllowedContentLength="68157440" />
        </requestFiltering>
    </security>
</system.webSecurity>

...这也不起作用.

我在这里错过了什么?正如我所说,我通常不设置服务器,所以我可能会遗漏一些明显的东西......没有任何建议会被嘲笑!

What am I missing here? As I've said, I don't typically set up servers, so I may be missing something obvious... no suggestion will be scoffed at!

提前致谢.

推荐答案

事实证明这是前端使用的组件的问题.

It turns out this was a problem with a component used on the front end.

值得注意(对于将来遇到此问题的任何人),要完成这项工作,需要 Jacob 和 Dan 的建议.

It's worth noting (for anyone stumbling across this in the future), that the suggestions from both Jacob and Dan were required to make this work.

无论如何,感谢您的帮助!非常感谢!

Thanks for your help anyway guys! Much appreciated!

这篇关于在 IIS7/Win7 Pro 上增加最大上传文件大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆