【问题标题】:Uploading large files using Classic ASP and IIS7.5使用 Classic ASP 和 IIS7.5 上传大文件
【发布时间】:2014-04-04 15:01:45
【问题描述】:

我有一个上传脚本(基于 Jacob "Beezle" Gilley 发布的 upload.asp 文件)。这在经典 ASP 应用程序中非常适合我,只要我将 Server.ScriptTimeout 设置为合适的值并且在 IIS7.5 中配置了“最大允许内容长度”设置。

从我的浏览器(Firefox、Chrome 甚至 IE)我可以愉快地上传 35Mb 的 jpg 图像...

但是,我的客户使用 IE9 并在上传大(12Mb 图像)时出错 - 较小的图像是可以的。她看到的错误是基本的“Internet Explorer 无法显示网页”——它不是 404 甚至 500 错误。

很遗憾,她的 IT 部门不允许使用任何其他浏览器。所以,我用 IE9 设置了虚拟 Windows 7 PC,但无法重现问题。

有人对此有任何想法吗?

谢谢

【问题讨论】:

标签: internet-explorer asp-classic iis-7.5


【解决方案1】:

在 IIS 7.5 下的网站:

- Under ASP:
    -- under limits change max req entity and buffering limit to [big number]
- under Management (at bottom) go into "Configuration Editor".
    -- In the dropdown go to System.web --> http runtime and change maxRequestLength to [big number]

【讨论】:

    【解决方案2】:

    我在How do I enable upload of large files in classic ASP on IIS 7?How do I enable upload of large files in classic ASP on IIS 7?

    应包含在 IIS 7+ 上为经典 asp 进行大型上传所需的所有信息。

    【讨论】:

    • 抱歉根据问题标题发布了我的答案,然后阅读完整的问题。
    • @JezB 您是否尝试过我关于 Internet Explorer 默认启用的 Show Friendly Error Messages 的其他建议?
    • 感谢 Lankymart - 没有错误 - IE 报告通信丢失。我们刚刚发现是公司网络导致了问题。我还在等着听他们到底改变了什么,但我会在我知道的时候把它贴在这里......
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-05-23
    • 1970-01-01
    • 1970-01-01
    • 2021-01-27
    • 1970-01-01
    相关资源
    最近更新 更多