问题描述
无需安装管理ODP.NET我的电脑上,在 ODP.NET管理的驱动程序未出现在选择数据源的在Visual Studio 2013专业版对话框。
Having installed managed ODP.NET on my computer, the ODP.NET Managed Driver does not appear inside the Choose Data Source dialog in Visual Studio 2013 Professional.
这是它应该是什么样子:
This is how it should look like:
这是它是如何看我的机器上:
This is how it actually looks on my machine:
我已经按照所描述的步骤的的文章Oracle网站上。
I've followed the steps described in the "An Easy Drive to .NET" article on the Oracle website.
我还安装了的 Oracle开发工具Visual Studio的的。仍然没有管理驾驶员选择。
I've also installed the Oracle Developer Tools for Visual Studio. Still no managed driver to select.
我的问题:
有什么我忘了做,以使数据提供者出现?
Is there anything I forgot to do in order to make the data provider appear?
推荐答案
打开注册表编辑器,并检查是否REGKEY <$c$c>HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx\odp.net.managed$c$c>存在。它包含了你的Oracle.ManagedDataAccess.dll的位置只(默认)值。
Open your Registry editor and check if RegKey HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx\odp.net.managed
exists. It contains only the (Default) value with location of your Oracle.ManagedDataAccess.dll.
添加的情况下,它缺少的关键,例如:
Add the key in case it is missing, example:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx\odp.net.managed]
@="c:\\oracle\\product\\12.1\\odp.net\\managed\\common"
然后检查是否选定目标框架至少 .NET Framework 4的
。
这篇关于管理ODP.NET驱动程序不会在数据源对话框出现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!