Initialize the Storage Emulator by Using the DSInit Command-Line Tool
Updated: June 7, 2012
You use the DSInit Command-Line Tool to initialize the storage emulator to point to a different database instance than the default. If you wish to use the default LocalDB database instance, it's not necessary to run DSInit.
This tool is installed by default to the C:\Program Files\Windows Azure Emulator\emulator\devstore directory, and runs automatically the first time you start the emulator.
|You must have administrative privileges to run the DSInit Command-Line Tool.|
Click Start, point to All Programs, and then click Windows Azure SDK.
Right-click Windows Azure SDK Command Prompt, and then click Run as administrator.
In the Windows Azure SDK Command Prompt window, type the following command:
Where <SQLServerInstance> is the name of the SQL Server instance.
You can also use the following command, which uses the default instance:
Or, you can use the following command, which reinitializes the database:
Important Running this command causes all of the existing data in the local Blob and Queue service to be lost.
|You can use the DSInit Command-Line Tool at any time to configure the Windows Azure storage emulator to point to a different instance.|