gpt4 book ai didi

visual-studio-2010 - 如何修复在 VS 2010 中运行 Azure 存储模拟器时出现的错误?

转载 作者:行者123 更新时间:2023-12-04 23:07:49 25 4
gpt4 key购买 nike

尝试在 VS2010 中的 devFabric 上运行 Azure 中的 .NET 应用程序时出现错误。
我得到的错误是:

Windows Azure Tools: Failed to initialize Windows Azure storage emulator. Unable to start Development Storage. Failed to start Development Storage: the SQL Server instance ‘localhost\SQLExpress’ could not be found. Please configure the SQL Server instance for Development Storage using the ‘DSInit’ utility in the Windows Azure SDK.

因此,我从 Azure SDK 运行 dsInit 并收到以下错误:

Added reservation for http://127.0.0.1:10000/ in user account Tim-T500-32Win7\Tim. Added reservation for http://127.0.0.1:10001/ in user account Tim-T500-32Win7\Tim. Added reservation for http://127.0.0.1:10002/ in user account Tim-T500-32Win7\Tim.

Creating database DevelopmentStorageDb20090919... Cannot 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 have failed. Resolve these errors before attempting to run the storage emulator again. These errors can occur if SQL Server was installed by someone other than the current user. Please refer to http://go.microsoft.com/fwlink/?LinkID=205140 for more details.

SQL Server 2008 在我的计算机上运行,​​但我真的不确定问题是什么。第二条错误消息中引用的页面涉及 sql 2005。

关于如何让存储模拟器与 2010 一起工作有什么建议吗?

编辑另请注意 - 由于某种原因,我的 Sql Server 配置管理器中有一个用于 SQL Express 的条目,但我无法对其执行任何操作 - 它显然是一个死链接。
如果这是原因,那么是否有建议的方法来解决该问题?

最佳答案

我觉得自己很傻

当我需要运行 SQL Server(非 Express)时,我禁用了 SQLExpress

关于visual-studio-2010 - 如何修复在 VS 2010 中运行 Azure 存储模拟器时出现的错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7083505/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com