gpt4 book ai didi

visual-studio-2015 - Visual Studio 2015 架构比较无法连接

转载 作者:行者123 更新时间:2023-12-05 00:17:39 26 4
gpt4 key购买 nike

我正在使用 VS 2015,尝试在两个 SQL Server 2014 数据库上运行架构比较。指定每个连接并单击“比较”后,出现错误“无法恢复密码。通过编辑连接输入密码”。每次连接都保存密码;我正在使用 SQL Server 身份验证,集成安全性 = False。我还能检查什么来查看为什么它无法连接?
谢谢!

最佳答案

SSDT 工具 v14 保存连接详细信息似乎存在问题。在获得正确修复之前,您每次都需要清理注册表项。 注意 : 在执行这些步骤之前关闭 Visual Studio,否则删除注册表项后将立即重新创建它们。

1) go to registry on key HKEY_CURRENT_USER\SOFTWARE\Microsoft\SSDT\ConnectionStrings and delete your content only (all values inside this key)

2) go to key HKEY_CURRENT_USER\SOFTWARE\Microsoft\SSDT\ConnectionStringsUpgrade and change value from 1 to 0

3) go to VS and redo connection into Schema Compare WITHOUT using history (ie. select the connection again using "Select Source..." in the dropdown). This will do VS to write new connection into HKEY_CURRENT_USER\SOFTWARE\Microsoft\SSDT\ConnectionStrings and rewrite value 1 into HKEY_CURRENT_USER\SOFTWARE\Microsoft\SSDT\ConnectionStringsUpgrade

4) if you want create another connection on VS into Schema Compare, simply repeat steps 2 and 3.

Now, just use the connections on the history of VS in the Schema Compare window.



来源: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/74d2b7f0-09f2-4ef3-935b-e0a1e0e8fb82/schema-compare-target-unavailable?forum=ssdt

关于visual-studio-2015 - Visual Studio 2015 架构比较无法连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39647729/

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