Exception of type 'Microsoft.WindowsAzure.StorageClient.StorageClientException' was thrown

前端 未结 3 1033
迷失自我
迷失自我 2021-01-15 04:17

Exception of type \'Microsoft.WindowsAzure.StorageClient.StorageClientException\' was thrown.

Sometimes even if we have the fabric running and the role manager is up

相关标签:
3条回答
  • 2021-01-15 04:33

    I give Windows Azure tables camel-cased names all the time without issues.

    I wonder if by chance you already used this table name and recently deleted it? For a time after deletion (when the table is still being deleted asynchronously), you won't be able to recreate it. I believe 409 Conflict is the error code to expect in that case.

    0 讨论(0)
  • 2021-01-15 04:33

    Easy fix is to change "EmailAddress" to "Emailaddress". For some reasons it would not allow CamelCasing. So please make sure, you just have one capital letter in the name of the table that too at the beginning. Since the table names are case insensitive, you can also name it as 'emailaddress'

    0 讨论(0)
  • 2021-01-15 04:38

    I agree with Steve Marx, casing does not seem to affect this issue. In fact Microsoft's Azure diagnostics tables are created with unusual casing eg: WADPerformanceCounters. I get the problem even in the dev environment. So it is something else entirely - my opinion.

    Error fixed in my case: The problem was an error with the connection string as defined in (or lack thereof) in the webrole or workerrole project properties. Fix: Right-click on the webrole under "Roles" folder in your cloud application. Select "Properties" from the context menu. Select the "Settings" tab. Verify or Add a setting for you connection string that you will use to initialize table storage.

    Mine was a simple error - no setting for my connection string.

    0 讨论(0)
提交回复
热议问题