【问题标题】:Azure blob resource may have been removedAzure blob 资源可能已被删除
【发布时间】:2019-05-15 19:46:59
【问题描述】:

在使用 Kendo 文件上传的 .core Web 应用程序中,我尝试将 50 MB .mp4 文件上传到 Azure Blob 存储。

上传大小为 5、10、20 MB 的小文件即可。

无论文件大小如何,例如 50 MB,我都会出错

您要查找的资源已被删除、更改名称或暂时不可用

我需要在 web.config 中添加什么吗?

我有

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

【问题讨论】:

    标签: azure azure-web-app-service azure-storage


    【解决方案1】:

    您应该可以从 web.config 更改此设置:

    <system.webServer>
        <security>
            <requestFiltering>
                <requestLimits maxAllowedContentLength="524288000"/>
            </requestFiltering>
        </security>
    </system.webServer>
    

    更多详情可以参考article。 更多信息在这里:

    【讨论】:

    • 感谢您的回复。我能够成功上传一个 50 MB 的文件。但是当我尝试上传 250 MB 的文件时,我收到“指定的 CGI 应用程序遇到错误,服务器终止了进程。”有什么想法为什么会发生这种情况?
    • 您是否在 azure 门户上的 application setting 中设置了 始终开启?请参考这个issue
    猜你喜欢
    • 2018-07-15
    • 1970-01-01
    • 2013-10-16
    • 1970-01-01
    • 2013-12-28
    • 1970-01-01
    • 2018-02-03
    • 2020-12-23
    • 1970-01-01
    相关资源
    最近更新 更多