One of the Azure developer tasks: Resolving Azure Storage Emulator initialization failure

Source: Internet
Author: User
Keywords Failure this resolution initialization failure this resolution initialization
Tags added aspx azure developer azure storage emulator cloud create developer development

I'm going to start learning Windows Azure. I installed the azure SDK, then under the "Cloud" tab, select the Windows Azure template, create a project, and then create a web role.

On the aspx file, I only added a label, but when I tried to run the project, I got the following error:

When I switched to the Output window, I got the error message:

Windows Azure Tools: Initialization of Windows Azure storage emulator failed. Unable to start development Storage. Failed to start development storage: SQL Server instance ' localhost\sqlexpress ' could not be found. Please configure a SQL Server instance for development storage using the ' dsinit ' utility in the Windows Azure SDK.

To resolve this issue, open the Command Prompt window in Administrator mode:

Switch current directory to: C:\ProgramFiles\WindowsAzureSDK\v1.3\Bin\DevStore

Then enter the command:

C:\Program Files\Windows Azure Sdk\v1.3\bin\devstore dsinit/sqlinstance:sqltest/forcecreate

In the process of executing this command, only two points need to be noticed:

Sqltest: This is the name of the SQL Server instance. Make sure you provide the name of the SQL Server instance instead of your PC name here.

If you do not provide a valid SQL Server instance name, you may get the following exception:

After you successfully execute this command, you will get the following dialog with success message:

Original name: Windows Azure for Developers Task 1:resolving Failed to initialize Windows Azure storage emulator Error Author: Dhananjaykumar

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.