[英]Oracle developer tools for VS 12c not working with VS 2010
I have a project which is developed in VS 2010 and when I try to update the edmx file it is not at all working.我有一个在 VS 2010 中开发的项目,当我尝试更新 edmx 文件时,它根本不起作用。
I have uninstalled and installed the ODT many times but nothing is working.我已经多次卸载并安装了 ODT,但没有任何效果。 while installing also the installation window does not detect VS 2010 It is listing VS 2015 and VS 2017 but not at all listing VS 2010.
在安装时,安装窗口也没有检测到 VS 2010 它列出了 VS 2015 和 VS 2017,但根本没有列出 VS 2010。
I can update the edmx model from VS 2015 but when I try the same from VS 2010 it is showing an error message like below我可以从 VS 2015 更新 edmx 模型,但是当我从 VS 2010 尝试相同时,它显示如下错误消息
I have removed the connection string from web.config and added a new data connection server explorer->Data connections .我已经从 web.config 中删除了连接字符串,并添加了一个新的数据连接服务器 explorer->Data connections 。
Now the error is not coming and it is asking me to create a new connection( The connection which I created via server explorer is not at all listing) and I cannot find Oracle database option in the new connection window also现在错误没有出现,它要求我创建一个新连接(我通过服务器资源管理器创建的连接根本没有列出)并且我在新连接窗口中也找不到 Oracle 数据库选项
VS 2010,2015,2017 are installed in my machine. VS 2010,2015,2017 安装在我的机器上。
I have installed ODTwithODAC and ODT for VS 2015 for resolving this issue but no luck.我已经为 VS 2015 安装了 ODTwithODAC 和 ODT 来解决这个问题,但没有运气。
Any thoughts on this issue ?对这个问题有什么想法吗? any help will be greatly appreciated.
任何帮助将不胜感激。
I have fixed this issue by installing ODTwithODAC1120320_32bit
version ( link )我通过安装
ODTwithODAC1120320_32bit
版本( 链接)解决了这个问题
The steps I have followed :我遵循的步骤:
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
key.HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
键。 This key contains registry entries for all Oracle products.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ora*
It should be pretty obvious which ones relate to Oracle.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ora*
哪些与 Oracle 相关应该很明显。HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE
key also from the registry.HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE
键。 Note: By following the steps from 1 to 11, we can uninstall any oracle products successfully.注意:按照 1 到 11 的步骤,我们可以成功卸载任何 oracle 产品。
Update : 29-03-2019 :
更新 : 29-03-2019 :
If we have installed ODAC with ODT new versions( 12.2 +) then we need to do couple of other steps to complete the full uninstallation of oracle products
如果我们使用 ODT 新版本(12.2 +)安装了 ODAC,那么我们需要执行几个其他步骤来完成 Oracle 产品的完全卸载
Close all instances of Visual Studio
关闭 Visual Studio 的所有实例
For Visual Studio 2015:
对于 Visual Studio 2015:
Please delete registry key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\Packages{D601BB95-E404-4a8e-9F24-5C1A462426CE}
请删除注册表项 HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\Packages{D601BB95-E404-4a8e-9F24-5C1A462426CE}
For Visual Studio 2017 Enterprise:
对于 Visual Studio 2017 企业版:
CD into ( from command prompt)
CD 进入(从命令提示符)
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE
execute:
执行:
VSIXInstaller.exe /skuName:Enterprise /skuVersion:15.0 /quiet /admin /uninstall:Oracle.VsDevTools.15.0
VSIXInstaller.exe /skuName:Enterprise /skuVersion:15.0 /quiet /admin /uninstall:Oracle.VsDevTools.15.0
For VS2017 Professional:
对于 VS2017 专业版:
CD into
光盘进
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE
execute:
执行:
VSIXInstaller.exe /skuName:Pro /skuVersion:15.0 /quiet /admin /uninstall:Oracle.VsDevTools.15.0
VSIXInstaller.exe /skuName:Pro /skuVersion:15.0 /quiet /admin /uninstall:Oracle.VsDevTools.15.0
For VS2017 Community:
对于 VS2017 社区:
CD into
光盘进
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE
execute:
执行:
VSIXInstaller.exe /skuName:Community /skuVersion:15.0 /quiet /admin /uninstall:Oracle.VsDevTools.15.0
VSIXInstaller.exe /skuName:Community /skuVersion:15.0 /quiet /admin /uninstall:Oracle.VsDevTools.15.0
Note:
笔记:
Above examples assume that VS2017 is installed at C:\Program Files (x86)\Microsoft Visual Studio\2017.
以上示例假设 VS2017 安装在 C:\Program Files (x86)\Microsoft Visual Studio\2017。
If you installed VS2017 into a different location, CD into the appropriate location and then execute the VSIXInstaller.exe command.
如果您将 VS2017 安装到其他位置,请将 CD 安装到适当的位置,然后执行 VSIXInstaller.exe 命令。
Update : 2nd August 2019更新:2019 年 8 月 2 日
If you have already installed odp.net components then there might be an entry in the machine config.
如果您已经安装了 odp.net 组件,那么机器配置中可能会有一个条目。 For safe side its better to remove it from there also.
为了安全起见,最好也将其从那里移除。 Do not remove any item which is starting with System.
不要删除任何以 System.开头的项目。 which is not part of the odac components.
这不是 odac 组件的一部分。 ( Example : system.data.oracleclient)
(示例:system.data.oracleclient)
sqlnet.ora
and tnsnames.ora
then apply itsqlnet.ora
和tnsnames.ora
有任何更改,请应用它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.