Cannot start the Azure Storage Emulator. Please run as Administrator
I believed it will get setup automatically, but it didn't. So here is how I solved it:
- Make sure Azure Storage Emulator is installed
- Add AzureStorageEmulator.exe to PATH
- Run the following commands:
If you get message like this:
Cannot create database 'AzureStorageEmulatorDb59' : The database 'AzureStorageEmulatorDb59' does not exist. Supply a valid database name. To see available databases, use sys.databases
Using Microsoft SQL Server Management Studio (SSMS) connect to your localdb instance and create AzureStorageEmulatorDb59 database.
Once that's done run these command again:
You might not need to run the first one.