.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
abhays
Clintonzz
arronlee
cathyhill345
mattyclown

Home >> Articles >> Azure >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Windows Azure Tools: Failed to initialize Windows Azure storage emulator error and Solutions

Posted By:Dhananjay Kumar       Posted Date: February 10, 2011    Points: 75    Category: Azure    URL: http://www.dhananjaykumar.net  

In this article we will resolve the error Windows Azure Tools: Failed to initialize Windows Azure storage emulator error and Solutions
 

I thought to start learning Windows Azure. I installed Azure SDK and created a project by choosing Windows Azure project template from cloud tab and creating a Web Role.

WinAzure1.gif

WinAzure2.gif

I just put a label on aspx file and when I tried to run the project I got the following error.

WinAzure3.gif

When I switched to Output Window, I got the Error message

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.

WinAzure4.gif

So to resolve this, Open command prompt in Administrator mode

WinAzure5.gif

Change Directory to C:\ProgramFiles\WindowsAzureSDK\v1.3\Bin\DevStore

WinAzure6.gif

Now type the command

C:\Program Files\Windows azure SDK\v1.3\bin\devstore DSINIT /SQLINSTANCE:SQLTest /Forcecreate

There are only a couple of points to notice in executing the preceding command:

SQLTEST: Is the name of the SQL Server instance. Make sure you are giving the name of a SQL Server instance name here rather than your PC name.

If you are not providing a valid SQL Server instance name then you may get the following exception.

WinAzure7.gif

On successful execution of the command, you will get a Dialog box such as shown below for the success message.

WinAzure8.gif

 Subscribe to Articles

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend