Azure storage emulator - cannot create database

I just had a problem that has taken ages to solve so blogging on the off chance it helps someone in need (or possibly future me).

When this happens you need to check that you don't have a dodgy instance lying around on your localdb. All of the stuff I read online pointed at the storage emulator using (localdb)\v11.0 but I couldn't see anything in there when I checked. I decided to do a bit more digging:


Running sqllocaldb i lists the instances on my localdb... I connected to MSSQLLocalDB with Visual Studio's Sql Server Object Explorer (Sql Server Management Studio would work just as well)


And deleted the AzureStorageEmulatorDb* entries. The next time I started to storage emulator it all worked fine!


Comments

Popular posts from this blog

Trimming strings in action parameters in ASP.Net Web API

Full text search in Entity Framework 6 using command interception

Composing Expressions in C#