且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

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

更新时间:2022-09-12 10:54:29

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

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

那我不得不安装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

 

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

 

下面是整个操作过程。

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


    本文转自Jake Lin博客园博客,原文链接:http://www.cnblogs.com/procoder/archive/2013/02/04/2891297.html,如需转载请自行联系原作者