我正在使用存儲帳戶和帳戶密鑰/ 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