SIGN UP MEMBER LOGIN:    
ARTICLE

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

Posted by Dhananjay Kumar Articles | Cloud Computing February 09, 2011
Resolving Failed to initialize Windows Azure storage emulator Error.
Reader Level:

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

erver'>
Login to add your contents and source code to this article
share this article :
post comment
 

c:\Program Files\Windows Azure SDK\v1.5\bin\devstore>dsinit /sqlinstance:. /forcecreate

Posted by Dave Diehl Sep 20, 2011

Thank you ... Please tune in for next task also ... I will try to post one task daily... Thanks keep reading Happy Coding

Posted by Dhananjay Kumar Feb 09, 2011

Very simple and helpful article, keep going it.

Posted by Sapna Feb 09, 2011

Good example nice and easy to understand. When is task 2 comming out?

Posted by Raj Kumar Feb 09, 2011

One of the best technology that i ever came with VS, i love it :). Also, refer my article: http://www.c-sharpcorner.com/UploadFile/suthish_nair/4760/?ArticleID=912c2e6b-1421-4311-bcf4-c5ff1111c908

Posted by Suthish Nair Feb 09, 2011
Team Foundation Server Hosting
Become a Sponsor
PREMIUM SPONSORS
  • ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
    Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
Nevron Gauge for SharePoint
Become a Sponsor