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