Search code examples
oracle-databasegacodac

How do you remove System.Data.OracleClient?


I accidently installed System.Data.OracleClient 64-bit (ODAC) and used the Oracle Uninstaller to remove the client, then proceeded to install the 32-bit ODAC. Unfortunately, I can't seem to get rid of the 64-bit System.Data.OracleClient from the C:\Windows\assembly folder! It keeps on saying that it is in use, even when booting into safe mode. Has anyone ever successfully removed this assembly, and if so, how did you do it?


Solution

  • System.Data.OracleClient is not part of ODAC, it's part of the .NET Framework and should thus be left alone. ODAC installs the Oracle.DataAccess.Client and Oracle.DataAccess.Types namespaces, and they both live in Oracle.DataAccess.dll.