Floating FB popout byF5debug

Windows Azure – Windows Azure Storage Emulator: Unable to Start Development Storage Error – Fix

 

Introduction:

In this article we are going to see a real time error fix on initializing Windows Azure Storage Emulator: Unable to Start Development Storage Error.

Overview:

This error is specific to starting Windows Azure Storage Emulator on packaging the Azure application to deploy it to the cloud. Today when i opened my new environment (Windows Server 2008 R2) and started my first application in that environment it stopped me while building with an error as “Windows Azure Storage Emulator: Unable to Start Development Storage

[more]

After checking some resources then finally got a solution on how to fix this issue. Let us see the step by step process on how to produce this issue and fix the same in Windows Server 2008 R2 Environment(though the fix is same across the environments as well)

Steps:

Open Visual Studio 2010 Ultimate and Navigate to File –> New Project we can see the new template window as shown in the screen below. Select the Cloud tab (left side menu) and click on Windows Azure Project (If by any chance if you see Enable Windows Azure then you need to download the Azure SDK and install the same) and give a project name as shown in the screen below

clip_image002

Clicking on the OK button will populate a window to select the role as shown in the screen below

clip_image004

In our sample we will select the normal web role(ASP.Net Web Role) and click on OK button as shown in the screen below

clip_image006

Now a new application will be opened and do some changes as per our requirement as shown in the screen below.

clip_image008

Once we made the changes hit F5 to build and execute our application to see the end result locally before deploying to the cloud. We can see an error now as “Windows Azure Storage Emulator: Unable to Start Development Storage” as shown in the screen below

clip_image010

As the error itself mentioned to use the DsInit utility from the Azure SDK, navigate to the path as shown in the screen below and we can see the Utility as highlighted in the screen below.

clip_image012

Just double click on the utility will open a wizard to prepare for the solution, but we can see an error in that process itself indicating that the database will not be created since Server was not found as shown in the screen below

clip_image014

The idea behind this error is, the DsInit utility needs some input parameters to process the request. So to check the possible input parameters navigate to the path in Command Prompt and give DsInit / . “/” will provides the list of parameters required and it acts like a help form for the utility as shown in the screen below.

clip_image016

As we can clearly see from the help option, the utility requires a parameter of the local instance (SQL Server instance) as shown in the screen above. So now navigate to the path and give the utility with the parameter as shown below

DSInit /sqlinstance:.

Since here i am going to point to the local server i have mentioned as . for remote servers we need to give the fully qualified name of the server instance.

clip_image018

Once we give the correct server name and click on enter will again open the Utility wizard, but this time it will process the utility perfectly since the required paramters are given as shown in the screen below and we can see the result as Installation Successful. The Storage emulator is now ready for use.

clip_image020

Now close all the windows(Wizard, Folders) and go back to the Visual Studio 2010 IDE and try to build and execute the application by hitting F5 and we can see the build successful as shown in the screen below.

clip_image022

Now we can see the Storage Emulator has been succesfully started and seen in running condition as highlighted in the screen below.

clip_image024

Finally we can see the desired output as shown in the screen below.

clip_image026

Conclusion:

So in this article we have seen the option to fix the Windows Azure Storage Emulator development start error

About Author: Karthikeyan Anbarasan, Microsoft MVP (Most Valuable Professional) in ASP.NET/IIS Architecture. He is the Founder and Chief Editor of the www.f5debug.net website and has authored books on Windows Phone and Business Intelligence(SSIS). He is also a Passionate Speaker and a Blogger on Microsoft Technologies.

You can Join Me On: Facebook, Twitter, Google Plus, LinkedIn

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

Recent Posts

Random Posts

Most Viewed

URL Shortner

Create your own short urls!!!

Site Counter

free counters

Disclaimer

This is a personal weblog. The opinions expressed here represent my own and not those of my employer. For accuracy and official reference refer to MSDN/ TechNet. I have documented my personal experience on this blog.

Protected by Copyscape Web Plagiarism Finder

Site Meter