【已解决】Failed to Initialize Windows Azure Storage Emulator解决方法
错误代码:
Failed to Initialize Windows Azure Storage Emulator
Added reservation for http://127.0.0.1:10000/ in user account Richard-PC\Richard.
Added reservation for http://127.0.0.1:10001/ in user account Richard-PC\Richard.
Added reservation for http://127.0.0.1:10002/ in user account Richard-PC\Richard.
Added reservation for http://+:16001/ in user account Richard-PC\Richard.Found SQL Instance (localdb)\v11.0.
Creating database DevelopmentStorageDb22 on SQL instance '(localdb)\v11.0'.
Cannot create database 'DevelopmentStorageDb22' : Database 'DevelopmentStorageDb22' already exists. Choose a different database name..One or more initialization actions have failed. Resolve these errors before attempting to run the storage emulator again. Please refer to http://go.microsoft.com/fwlink/?LinkID=248088 for more details.
解决方法:
1、右击windows Azure Command Prompty,选择以管理员方式运行。
2、在打开的cmd命令窗口,输入:DSInit /sqlInstance:.
如图所示,即表示成功。
否则,需要安装SQL Express 版本,然后运行第二步。