【发布时间】:2018-11-21 10:43:45
【问题描述】:
在我的 c# .NET 代码中使用 Azure 存储模拟器时,我无法创建容器。
我正在使用:
var container = serviceClient.GetContainerReference("media");
container.CreateIfNotExists();`
它返回错误错误:
System.AggregateException:发生一个或多个错误。 ---> Microsoft.WindowsAzure.Storage.StorageException:远程服务器返回错误:(403)禁止。 ---> System.Net.WebException:远程服务器返回错误:(403)禁止。 在 System.Net.HttpWebRequest.GetResponse()
【问题讨论】:
-
你的连接字符串是什么?
-
看看this是否有帮助。
-
是的,这行得通!我只使用了帐户名和键值。谢谢:D
标签: azure azure-storage azure-blob-storage azure-storage-emulator