Windows Azure SDK: connecting to non SQLExpress Instance

When you want to build an Azure application, but you don’t have SQL Express installed the build action in Visual Studio will fail.

You will receive the following message in your output window:

Windows Azure Tools: Failed to initialize the Development Storage service. 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.

To fix this you open the Windows Azure SDK Command Prompt:

Windows Azure SDK Command Prompt

And enter the following text:

dsinit /sqlinstance:.

dsinit /sqlinstance:.

This will cause Azure to use the default instance (with no name). You can switch this to whatever you like, just replace the . (dot) by the appropriate MS SQL instance.

The result will look like this:

Development Storage Initialization

Good luck, happy coding.

8 thoughts on “Windows Azure SDK: connecting to non SQLExpress Instance

  1. Pingback: Microsoft’s Cloud Services – Pretty Impressive | TASC Solutions Blog

  2. Thanks this worked for me, I was trying with machine name, it was not working but dot worked for me.

  3. Hi,

    If it doesn’t work, try this command with the default instance sqlserver name:

    dsinit.exe /sqlinstance:. /forcecreate

    bye :)

  4. i need connect with the sql in remote server server, this command return error…
    DSInit.exe /sqlinstance:\\admin-pc\. /forcecreate /user:sa

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>