我正在使用存储帐户和帐户密钥/ creds我知道工作:我有一个blob容器使用完全相同的连接字符串,它工作正常。Azure表存储 - 501未实现CreateIfNotExistsAsync
我有效地这样做:
CloudStorageAccount.Parse(_connectionString).CreateCloudTableClient().GetTableReference("MyTableHere").CreateIfNotExistsAsync().Wait()
(我不是一个异步的情况,因此等待无关与此异常)
它抛出一个总例外,单内的例外是:
Unexpected response code, Expected:OK or NotFound, Received:NotImplemented
在异常深:
The requested operation is not implemented on the specified resource. RequestId:30593945-0002-0019-0dde-3e30370003322 Time:2016-11-16T07:58:01.2396651Z
- 在此匿名请求ID。
想不到还有什么可以尝试!在这里找不到关于任何附加要求的文档中的任何提及。
您可以检查存储帐户的类型吗?它不应该是'BlobStorage'类型,也不应该是'ZRS'或'Premium LRS'类型的冗余类型。 –
ZRS存储帐户对我来说工作得很好 - http://i.imgur.com/PM1eezx.png – evilSnobu
不好,我的坏,它是一个LRS,ZRS不起作用:'{“远程名称不能解决方案:'zrs123.table.core.windows.net'“} - 与门户一样,Service Management API也仅返回新创建帐户的blob端点,因为不支持表,队列和文件ZRS帐户_(来自https://blogs.msdn.microsoft.com/windowsazurestorage/2014/08/01/introducing-zone-redundant-storage/) – evilSnobu