解决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 @   Jake Lin  阅读(1943)  评论(0编辑  收藏  举报
编辑推荐:
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
阅读排行:
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
历史上的今天:
2010-02-04 增加了一个Google Website Translator Gadget
点击右上角即可分享
微信分享提示