解决Azure “Failed to start Storage Emulator: the SQL Server instance `.\' could not be found.”

由于Windows 8不支持SQL Server 2008R2.(严格来说是通过.NET程序在连接SQL Server 2008R2数据库是有错误)

image

那我不得不安装SQL Server 2012.

当安装完毕以后,Azure Storage Emulator启动不了,提示以下错误。

The storage emulator had an unexpected error: Unable to start Development Storag
e..
Error details: Failed to start Storage Emulator: the SQL Server instance `.\' co
uld not be found.   Please configure the SQL Server instance for Storage Emulato
r using the `DSInit' utility in the Windows Azure SDK.

 

因为以前使用SQL Server 2008时,使用的instance是'.\’。而我新安装的SQL Server 2012的instance是SQLExpress。可以通过下面的命令来解决问题。

C:\Program Files\Microsoft SDKs\Windows Azure\Emulator\devstore>dsinit /sqlinsta
nce:sqlexpress

 

image

 

下面是整个操作过程。

image

posted @ 2013-02-04 06:18  Jake Lin  阅读(1922)  评论(0编辑  收藏  举报