新的连接失败时添加新数据源对话框 [英] New Connection fails during Add New Data Source Dialog

查看:115
本文介绍了新的连接失败时添加新数据源对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我有Visual Studio 2010中,安装Service Pack 1,和我去的数据,添加新数据源,并单击数据库,它带来了标准选择数据连接向导页面。

If I have Visual Studio 2010, Service Pack 1 installed, and I go to Data, Add New Data Source and click Database, it brings up the standard Choose Your Data Connection wizard page.

在该网页上,如果我已经配置的现有连接,然后我就可以选择它,并且数据源添加到我的项目,没有问题,没有问题。

On that page, if I have an existing connection configured, I can then select it, and add that data source to my project, no problems, no issues.

在另一方面,如果我点击新建连接...它只是弹了,向导将关闭,因为如果我做了什么。现在,请记住,Visual Studio将不会关闭,而且没有例外,错误或警告,对话窗口刚刚消失。

On the other hand, if I click New Connection... it just bombs out, wizard closes, as if I had done nothing. Now keep in mind, Visual Studio doesn't close, and there are no exceptions, errors, or warnings, the dialog window just disappears.

我检查简单的事情,使用调试器,和一个有效的机器配置文件,不知道还有什么我可能会丢失。

I've checked the simple things, using a debugger, and a valid machine config file, not sure what else I might be missing.


  1. 使用调试器

我试着开始的视觉第2个副本工作室为我这样做,和
附加一个调试器的过程中,与所有例外$ b $检查b我调试菜单,仍然一无所获。

I tried starting a 2nd copy of Visual Studio as I did this, and attaching a debugger to the process, with all exceptions checked in my debug menu, and still nothing.

验证machine.config文件有效

我支持我的machine.config文件,并使用其他人的工作机器的machine.config文件,我仍然有问题。

I backed up my machine.config file, and used another person's working machine's machine.config file, and I'm still having issues.

因为我已经恢复到我自己的machine.config文件。

I have since reverted back to my own machine.config file.

我怀疑在machine.config可能是问题,但我想
拍摄工作应该工作,除非我失去了
注册供应商之一?我不知道有足够的了解此向导
如何在幕后虽然还是什么科/
machine.config文件的确切行驱动向导。

I suspect the machine.config might be the issue, but I thought taking a working one should work, unless I'm missing one of the registered providers? I don't know enough about how this wizard works behind the scenes though, or what sections/lines of the machine.config file exactly drive the wizard.

卸载所有第三方数据库提供商

我最近试图卸载甲骨文,SQLite的,SQL的Beta版Server精简版,和MySQL提供者希望,他们中的一个设置一个注册表项或配置项被负面影响我创建新的连接,仍然出现错误的能力。

I have recently tried uninstalling Oracle, SQLite, beta versions of SQL Server Compact Edition, and MySQL providers in hopes that one of them set a registry entry or configuration entry that was negatively impacting my ability to create new connections and the error still occurs.

重新安装Visual Studio中

我重新安装Visual Studio中,完全卸载,并重新安装,没有扩展名的,或没有,这个问题存在,肯定在这一点上相信它的配置错误,我可以用别人谁知道的专家意见更多的场景此对话框,虽然后面的配置。

I reinstalled Visual Studio, complete uninstall, and reinstall, no extensions, or nothing, and the issue exists, definitely convinced its a configuration error at this point, I could use the expert opinion of someone who knows more about the configuration behind the scenes for this dialog though.

为解决这一问题,将不胜感激任何帮助。

Any help in resolving the issue would be greatly appreciated.

推荐答案

我有同样的问题。 。删除事件viewwr和作品中的所有记录

I have the same issue. Delete all records in event viewwr and works.

开始 - >运行

键入EVENTVWR

选择应用

选择操作>清除所有事件从菜单

Select "Action" > "Clear All Events" from menu

保存或不能如你所愿的事件备份。做相同的系统

Save or not as you wish the events backup. Do the same with "System"

这篇关于新的连接失败时添加新数据源对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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