Azure Blob资源可能已被删除

时间:2018-12-14 14:16:00

标签: azure azure-web-sites azure-storage

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

上传5、10、20 MB的小文件就可以了。

但是像50 MB这样的大文件,我遇到了错误

  

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

我需要在web.config中添加任何内容吗?

我有

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

1 个答案:

答案 0 :(得分:0)

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

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

有关更多详细信息,您可以参考此https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/blob/master/examples/compute-engine/src/main/java/com/google/cloud/sql/mysql/example/ListTables.java。 此处更多信息: