Reputation: 21931
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.
I have uninstalled and installed the ODT many times but nothing is working. 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.
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
I have removed the connection string from web.config and added a new data connection server 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
VS 2010,2015,2017 are installed in my machine.
I have installed ODTwithODAC and ODT for VS 2015 for resolving this issue but no luck.
Any thoughts on this issue ? any help will be greatly appreciated.
Upvotes: 1
Views: 1675
Reputation: 21931
I have fixed this issue by installing ODTwithODAC1120320_32bit
version
(link)
The steps I have followed :
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
key. 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\SOFTWARE\Wow6432Node\ORACLE
key also from the registry.Note: By following the steps from 1 to 11, we can uninstall any oracle products successfully.
Update : 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
Close all instances of Visual Studio
For Visual Studio 2015:
Please delete registry key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\Packages{D601BB95-E404-4a8e-9F24-5C1A462426CE}
For Visual Studio 2017 Enterprise:
CD into ( from command prompt)
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
For VS2017 Professional:
CD into
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
For VS2017 Community:
CD into
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
Note:
Above examples assume that VS2017 is installed at 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.
Update : 2nd August 2019
If you have already installed odp.net components then there might be an entry in the machine config. For safe side its better to remove it from there also. Do not remove any item which is starting with System. which is not part of the odac components. ( Example : system.data.oracleclient)
sqlnet.ora
and tnsnames.ora
then apply itUpvotes: 1