我已经安装了 Visual Studio 2010 和 SQL Server 2008(在 64 位 Windows 7 上)。When I attempt to add a data source using the Add Connection dialogue, the dialogue is able to populate the servers, but when a server is chosen it is not able to populate the databases.
手动输入数据库名称并单击确定时,收到以下错误:“无法找到请求的 .Net Framework 数据提供程序。它可能未安装。”
我尝试过的事情:
- 在 VS 2008 中遵循相同的过程可以成功。
- 我已经卸载并重新安装了 VS 2010 和 SQL Server 2008(并安装了 SQL Server 2008 R2)但无济于事
- 我已经手动注释掉了 machine.config(s) 中关联 SQL Server 精简版的行(每个论坛我发现与 VS 2008 中的类似问题有关)。徒劳无功。
- 我创建了一个虚拟机,并且只安装了 VS 2010(在同一版本的 Windows 7 上)。这可行,但我宁愿不必在虚拟机中工作。
- 已有数据源的应用程序将成功构建并按预期运行,但尝试从数据源更新 LINQ .edmx 文件时将返回错误。
还有其他人经历过这个/有一个有效的解决方案吗?谢谢您的帮助。