Welcome to EMC Consulting Blogs Sign in | Join | Help

Shailen Sukul's Blog

Windows Storage Emulator Database Issue

Summary

When you attempt to launch the Windows Azure storage emulator, you are presented with the following error message: "Failed to initialize Windows Azure storage emulator. See output window for more information"

The error message in the output window provides more details:

Windows Azure Tools: Failed to initialize Windows Azure storage emulator. Unable to start Development Storage. Failed to start Development Storage: the SQL Server instance ‘localhost\SQLExpress’ could not be found. Please configure the SQL Server instance for Development Storage using the ‘DSInit’ utility in the Windows Azure SDK.

This is due to the fact that the Azure Storage Emulator was not able to connect to the database server and create the the required database. To resolve this:

  1. Open the Azure SDK command prompt Azure SDK command prompt
  2. Type the following in the command prompt: dsinit /sqlinstance:InstanceName /user:Domain\User /forceCreate

The command should execute successfully and the emulator will work. If it fails, double check the value for the SqlInstance parameter.

Success Keywords: Windows Azure Tools: Failed to initialize Windows Azure storage emulator. Unable to start Development Storage. Failed to start Development Storage: the SQL Server instance ‘localhost\SQLExpress’ could not be found. Please configure the SQL Server instance for Development Storage using the ‘DSInit’ utility in the Windows Azure SDK.
Published 30 September 2011 10:33 by shailen.sukul
Filed under:

Comments

No Comments
Anonymous comments are disabled

About shailen.sukul

Driven, passionate architect/developer driven by the need to engineer and develop solutions to address business needs. Brings a wealth of talent from most verticals to across the entire Microsoft development and infrastructure stack. Highly motivated and experienced not only in technology but client presentation and sales pitches. Ability to present in front of small and large audiences and present complex ideas in a "people friendly" way.
Powered by Community Server (Personal Edition), by Telligent Systems