为什么选择 SQL 模式比较的源会导致 VS2012 崩溃? [英] Why does select source for a SQL Schema Comparison cause VS2012 to crash?

查看:31
本文介绍了为什么选择 SQL 模式比较的源会导致 VS2012 崩溃?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎没有任何原因,选择 SQL > Schema Compare > New Schema比较然后尝试选择源"会导致 Visual Studio 2012 崩溃.(它已经按预期工作了几个月).

For seemingly no reason, choosing SQL > Schema Compare > New Schema Comparison and then attempting to "select source" causes Visual Studio 2012 to crash. (It has been working as expected for months).

除了尝试重新安装之外,还有其他可能的修复方法吗?

Are there any possible fixes besides trying to re-install?

注意:尝试在另一个 Visual Studio 实例中调试崩溃在

Note: trying to debug the crash in another instance of Visual Studio shows an exception in

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Security.Cryptography.CryptographicException
Stack:
   at Microsoft.VisualStudio.Data.DataProtection.DecryptString(System.String)
   at Microsoft.VisualStudio.Data.Tools.Design.Core.Common.SqlClient.SqlUtils.DecryptConnectionString(System.String)
   at Microsoft.VisualStudio.Data.Tools.Design.Core.Common.SqlClient.ServerExplorerConnection.get_DisplayNameWithDatabase()
   at Microsoft.VisualStudio.Data.Tools.Package.UI.DatabaseConnectionControl+ConnectionItem.Initialize(Microsoft.VisualStudio.Data.Tools.Design.Core.Common.SqlClient.ServerExplorerConnection)
   at Microsoft.VisualStudio.Data.Tools.Package.UI.DatabaseConnectionControl.PopulateDatabaseCombo()
   at Microsoft.VisualStudio.Data.Tools.Package.UI.DatabaseConnectionControl.DatabaseConnectionControl_Load(System.Object, System.EventArgs)

推荐答案

尝试关注发布的信息 此处,我确实检查了正在访问哪些注册表项.删除在 HKCU\Software\Microsoft\VisualStudio\11.0\SSDT\ConnectionMruList 下找到的所有内容.

Attempting to follow the information posted here, I did check to see which registry entries were being accessed. Removing everything found under HKCU\Software\Microsoft\VisualStudio\11.0\SSDT\ConnectionMruList did the trick.

这篇关于为什么选择 SQL 模式比较的源会导致 VS2012 崩溃?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆