Windows Azure Tools DSInit Error
Development Storage始終啟動不了,發(fā)現(xiàn)默認DSInit初始化失敗。于是手動執(zhí)行DSInit + 命令參數(shù),但是出現(xiàn)如下錯誤:
Failed to create database ‘DevelopmentStorageDb20090919′ : A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified)
One or more initialization actions failed. The development storage cannot be used without resolving these errors.
我的SQL Serve遠程連接是允許的,那應該是實例錯誤。嘗試了如下一些命令全部失敗:
DSInit /sqlInstance:. DSInit /sqlInstance:JUNCHU-PC DSInit /sqlInstance:JUNCHU-PC\MSSQLSERVER國外不少論壇都提到了如何解決問題,不過基本是建議重新創(chuàng)建一個名稱為SQLEXPRESS的實例或者重新安裝SQL SERVER。偶然的情況下發(fā)現(xiàn)只要附加/forceCreate參數(shù)以上的命令就可以成功執(zhí)行。命令如下:
DSInit /sqlInstance:. /forceCreate?
與50位技術(shù)專家面對面20年技術(shù)見證,附贈技術(shù)全景圖總結(jié)
以上是生活随笔為你收集整理的Windows Azure Tools DSInit Error的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: mac os 升级为Mountain
- 下一篇: easyUI 添加排序到datagrid