Tuesday, October 11, 2022

VC redistributable is a critical piece of functionality

Just spent several hours trying to figure out why the freshly-installed ODP.NET 19c fails to load on most of our production servers.

The immediate error that I got in the logs was

Unable to load DLL 'OraOps19.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Googling for it did not really bring anything that helped: the permissions were ok and the path of the .dll was in the PATH environment variable.

In order to diagnose the problem I turned to the great SysInternals' tool called Process Monitor. After filtering out the extra stuff (a lot of extra stuff :) ) I ended up with a very clear error message:


Going to the Microsoft site, downloading the latest (or the relevant) VC Redistributable quickly fixed the issue.