如何修复“无法添加数据连接".无法初始化IVsDataConnectionDialog.错误? [英] How do I fix a "Unable to add data connection. The IVsDataConnectionDialog could not be initialized" error?
问题描述
任何时候尝试在服务器资源管理器中创建数据连接时,Visual Studio 2008都会出现错误:无法添加数据连接.IVsDataConnectionDialog无法初始化"
I'm getting an error in Visual Studio 2008 anytime I try to create a data connection in the Server Explorer: "Unable to add data connection. The IVsDataConnectionDialog could not be initialized"
此外,现有的数据连接被禁用,其图标为红色斜杠.
Also, the existing data connections are disabled and their icon is a red-slash-circle.
到目前为止,我发现的唯一建议是在这里: msdn_microsoft_Forums_vbide_thread 选择其中包括:
So far, the only advice I've found is here: msdn_microsoft_Forums_vbide_thread Choices there include:
- 重新安装VS2008
- Reinistall .net 3.5 sp1
- 为vs2008用户设置重命名注册表
..但是我尝试了每条建议都没有用.
..but I've tried each recommendation to no avail.
还有其他想法吗?
谢谢
推荐答案
甜美的荣耀!!!现在已解决.
Sweet GLORY!!! This is fixed now.
BIG感谢Glenn Berry在这篇文章上: msdn_microsoft_Vsexpressinstall 所以我进入了这些文件夹:
BIG thanks to Glenn Berry on this post: msdn_microsoft_Vsexpressinstall So I went into these folders:
C:\Documents and Settings\{my login}\Application Data\Microsoft
C:\Documents and Settings\{my login}\Local Settings\Application Data\Microsoft
...并将VisualStudio文件夹名称更改为VisualStudioXXX
... and changed the VisualStudio folder name to VisualStudioXXX
当我重新启动VS2008时,我能够在服务器资源管理器中添加新的数据连接.
When I restarted the VS2008 I was able to add new data connections in the Server Explorer.
这篇关于如何修复“无法添加数据连接".无法初始化IVsDataConnectionDialog.错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!