The first time I run my program, since the linked table has been deleted, I get this error:
An exception like "Microsoft.WindowsAzure.Storage.StorageException" occurred in Microsoft.WindowsAzure.Storage.dll, but was not processed in the user code.
Additional Information: The remote server returned an error: (409) Conflict.
However, if I refresh a broken page, the table will successfully create.
Here is the code just in case:
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(
Microsoft.WindowsAzure.CloudConfigurationManager.
GetSetting("StorageConnectionString"));
CloudTableClient tableClient = storageAccount.CreateCloudTableClient();
CloudTable table = tableClient.GetTableReference("tableTesting");
table.CreateIfNotExists();
I really don’t understand how and why I get a conflict error if there is nothing there.
These errors appear elsewhere in my code when I work with blob containers, but I cannot reproduce them as easily.