Why is current Oracle ODAC connectability not visible in VS 2013?

我的梦境 提交于 2019-12-11 12:46:15

问题


I'm trying to setup my first Oracle database connection in Visual Studio 2013 and the only option available for the Data Source is a selection "Oracle Database". But that selection says it's deprecated (and it doesn't even allow me to choose the schema as I could do in VS2012, regardless, so it's unusable).

I already have an ODAC installed that works great for VS 2012 (11.2.0.3). Is there any way to get VS 2013 to recognize that I already have that installed (tried putting in a reference to the Oracle Data Client and that didn't work). Choosing "Other" doesn't provide me any other choices.

Am I forced to install ODAC 12c just so that VS 2013 sees it? Why wouldn't it see ODAC 11? I'd rather not do the 12c install due to other projects that rely on the older one (and, yes, we could go down a VM path, but that's not an immediate option).


回答1:


You have to rerun the ODAC installer, you will be asked to reinstall .NET +.ASP components (I just excluded the examples package.)

My situation was a bit different: I Installed at first VS 2013 with ODAC and then VS 2012. The result was that VS 2012 didn't see the ODAC part: like you said the Data source with the "Oracle Database" choice. Rerunning the installer fixed this issue. I think it's the same situation as mine. ODAC shouldn't be dependent on Visual Studio version but on the .NET framework in use.



来源:https://stackoverflow.com/questions/21635226/why-is-current-oracle-odac-connectability-not-visible-in-vs-2013

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!