I've been attempting to create a table through my machine's Azure storage emulator. I can recreate the problem with a very simple program that uses only WindowsAzure.Storage nuget version 6.2.0 :
using Microsoft.WindowsAzure.Storage;
namespace StorageEmulatorTest
{
internal class Program
{
private static void Main(string[] args)
{
var cloudStorageAccount = CloudStorageAccount.Parse("UseDevelopmentStorage=true");
var cloudTableClient = cloudStorageAccount.CreateCloudTableClient();
cloudTableClient.GetTableReference("JohnnyTest").CreateIfNotExists();
}
}
}
After 25 seconds, this will throw an exception of type Microsoft.WindowsAzure.Storage.StorageException
with only this message:
The remote server returned an error: (500) Internal Server Error.
I have attempted:
- Ensuring my WindowsAzure.Storage nuget package is the latest version (6.2.0).
- Re-installing the Azure SDK for VS2015 2.8.1 (and ensuring that it's the latest version)
- Stopping, clearing, initing the Azure Storage Emulator through the Azure Storage Emulator command line tool (seemed to work fine, no errors)
- Reading the web response's stream through the exception's ".InnerException.Response.GetResponseStream()". This fails with an exception that states "Stream was not readable".
- Restarting my machine (desperation kicked in)
My bag of tricks is running low. Has anybody encountered this issue?
UseDevelopmentStorage=true;DevelopmentStorageProxyUri=http://127.0.0.1;
please. – Nightjar