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:
And enter the following text:
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:
Good luck, happy coding.
Pingback: Microsoft’s Cloud Services – Pretty Impressive | TASC Solutions Blog
Great… Thanks…
Thanks this worked for me, I was trying with machine name, it was not working but dot worked for me.
Thanks
Hi,
If it doesn’t work, try this command with the default instance sqlserver name:
dsinit.exe /sqlinstance:. /forcecreate
bye
Hey thanks a LOT. this worked for me like a magic
Thanks for the hint
i need connect with the sql in remote server server, this command return error…
DSInit.exe /sqlinstance:\\admin-pc\. /forcecreate /user:sa