Windows Azure for Developers Task 1: Resolving Failed to initialize Windows Azure storage emulator Error

No.of Views830
Bookmarked0 times
Downloads 
Votes0
By  Dhananjay Kumar   On  12 Feb 2011 21:02:04
Tag : Windows Azure , Exception Handling
In this article, i will explain Resolving Failed to initialize Windows Azure storage emulator Error in Windows Azure.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.
emailbookmarkadd commentsprint

Images in this article missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at info@codegain.com

 

Introduction

In this article, i will explain Resolving Failed to initialize Windows Azure storage emulator Error in Windows Azure.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. 

Image Loading
Image Loading

I just put a label on aspx file and when tried running the project I got the below error

Image Loading

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.

Image Loading

So to resolve this,  Open command prompt in Administrator mode

Image Loading

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

Image Loading

Now type the command
C:\Program Files\Windows azure SDK\v1.3\bin\devstore   DSINIT  /SQLINSTANCE:SQLTest   /Forcecreate
Only couple of point to notice in executing above command is
SQLTEST: It is name of the SQL Server instance. Make sure you are giving name of SQL Server instance name here rather than your PC name.
If you are not providing valid   SQL Server instance name then you may get below exception.

 

Image Loading

On successfully execution of command , you will get below  Dialog box for the success message. 

Image Loading

That's all in this part, i will discuess more in second part of this article. stay tuned.thank you.

 
Sign Up to vote for this article
 
About Author
 
Dhananjay Kumar
Occupation-Software Engineer
Company-Infosys Technolgies,Pune
Member Type-Gold
Location-India
Joined date-20 Jul 2009
Home Page-http://dhananjaykumar.net/
Blog Page-http://dhananjaykumar.net/
Dhananjay Kumar is Microsoft MVP on connected system. He blogs at http://dhananjaykumar.net/ . You can follow him http://twitter.com/debugmode_/ and reach him at dhananjay.25july@gmail.com
 
 
Other popularSectionarticles
Comments
There is no comments for this articles.
Leave a Reply
Title:
Display Name:
Email:
(not display in page for the security purphase)
Website:
Message:
Please refresh your screen using Ctrl+F5
If you can't read this number refresh your screen
Please input the anti-spam code that you can read in the image.
^ Scroll to Top