上周由于WannaCry勒索病毒肆虐全球,14号系統管理者更新了一系列更新檔後,導緻一Windows Server 2012伺服器上面部署的一些老舊的應用無法使用Microsoft ODBC for Oracle通路ORACLE資料庫。 如下所示,應用程式會提示下面錯誤資訊
The Oracle(tm) client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3 (or greater) client software installation.
搜尋了網上大量資料,折騰、嘗試了很多方法(下面連結),始終無法搞定,後面在伺服器上重裝了Oracle 11g Client後,問題終于解決。特此記錄一下。 到目前為止,不清楚為什麼更新檔突然影響了這個驅動。其實我們在折騰過程中,更換通路Oracle的資料驅動,是沒有問題的。唯獨使用Microsoft ODBC for Oracle通路ORACLE資料庫受到影響。
https://social.technet.microsoft.com/Forums/windows/en-US/f5f7d1e4-3d51-4a2c-9fe7-fa59f45037b3/microsoft-odbc-for-oracle-fail-to-create?forum=w7itprogeneral
http://www-01.ibm.com/support/docview.wss?uid=swg21218792
https://superuser.com/questions/939752/microsoft-odbc-driver-cant-find-oracle-instant-client