This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 31st, when you will be able to use this site as normal.

    Forum Stats

  • 3,890,795 Users
  • 2,269,776 Discussions


Repeated "Failed to fix the configuration" errors - please upgrade to version 19.3.3

Christian.Shay -Oracle
Christian.Shay -Oracle Posts: 2,278 Employee

Hi all,

TLDR: Please upgrade to version 19.3.3 to resolve this issue:

A recent change to the Visual Studio installer caused our own installation to break. The result is that with ODT version 19.3.2 and 19.3.1, each time you launch Visual Studio the configuration wizard will launch and will fail with a "Failed to fix the configuration" error, and you won't be able to use ODT.

We have released version 19.3.3 of ODT and we recommend that you upgrade to fix this problem. The only change in version 19.3.3 vs. version 19.3.2 is this fix to our installer.

If you cannot upgrade to version 19.3.3, here is a workaround:

1) Close all open Visual Studio 2019 instances

2) Locate the devenv.exe.config file for Visual Studio 2019.

3) Make a copy of devenv.exe.config to protect you from potentially having to reinstall Visual Studio if a mistake is made.

4) In devenv.exe.config:

a) Locate the <><DbProviderFactories> section:

b) Add:

<remove invariant="Oracle.DataAccess.Client" />

   <add name="ODP.NET, Unmanaged Driver" invariant="Oracle.DataAccess.Client" description="Oracle Data Provider for .NET, Unmanaged Driver" type="Oracle.DataAccess.Client.OracleClientFactory, Oracle.DataAccess, Version=, Culture=neutral, PublicKeyToken=89b483f429c47342" />

<remove invariant="Oracle.ManagedDataAccess.Client" />

   <add name="ODP.NET, Managed Driver" invariant="Oracle.ManagedDataAccess.Client" description="Oracle Data Provider for .NET, Managed Driver" type="Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=, Culture=neutral, PublicKeyToken=89b483f429c47342" />

5) In the Windows start menu, locate the Visual Studio 2019 folder and open a "Developer Command Prompt for VS 2019" with admin privileges.

6) run "devenv /updateconfiguration"

7) Open Visual Studio 2019

This discussion has been closed.