Darren Lewis bio photo

Darren Lewis

Professional Nerd

Twitter GitHub StackOverflow
Published: September 26, 2011

If you’ve come across the error in Visual Studio telling you it failed to initialise the development store you almost certainly don’t have SQLEXPRESS installed or it’s just stopped. If it’s the latter feel free to leave now and fire it up!

Still here? OK so you want development storage against the full SQL Server instead of SQLEXPRESS. For this you’ll need to run the SDK utility dsinit located under Program Files\Windows Azure SDK\v1.5\bin\devstore.

You don’t need to manually edit configuration any longer as per SDK 1.0. Double clicking the exe will display a GUI and attempt to initialise the development store which will of course fail. In order to fix this open a prompt from the devstore folder (Shift-Right Click the devstore folder for the Open Command Window Here option) and run the command

dsinit /sqlinstance:.

If all is well you’ll see the dsinit GUI showing a successful init. You can now return to Visual Studio, start debugging and enjoying the world of Azure.