gpt4 book ai didi

sql-server - 将 SQL Server 添加到 Visual Studio 2012 时出现错误消息

转载 作者:行者123 更新时间:2023-12-02 05:01:02 25 4
gpt4 key购买 nike

我一直在关注 David Gassner 在 Lynda.com 上的 ASP.NET 教程,并且一切进展顺利,直到他引导我在 Visual Studio 2012 的服务器资源管理器中添加 SQL 服务器。按照他的步骤,我收到以下错误:

Unable to add data connection.

Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.

我发现许多网站建议安装 3 个附加程序/附加组件,例如 this site .

我已经安装了所有推荐的 3 个( native 客户端、CLR 类型和管理对象)并重新启动了程序和我的计算机,但似乎仍然没有任何效果。关于如何添加数据库的任何想法?

其他详细信息:当我在选择确定之前测试连接时,测试成功。我对 SQL/数据库的东西很陌生,所以请尽可能简单地解释,或者链接到可以帮助我解决这个问题的资源。

最佳答案

@mattcoker 使用以下解决方案解决了他自己的问题

问题已通过切换到 Visual Studio 2010 得到解决,工作顺利。感谢您的快速回复。

关于sql-server - 将 SQL Server 添加到 Visual Studio 2012 时出现错误消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16206286/

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