classic ASP on Windows 2016. error "3706 Provider cannot be found"
I am migrating an old, classic ASP (VBScript) application from a Windows 2003 server into a Windows 2016 64Bit server, connected to a Oracle 18 DB via ODAC 19.3 64Bit driver
Im having issues when trying to connect to Oracle DB by running theese commands
Set conOracle = Server.CreateObject("ADODB.connection")
ConOracle.Open ="Provider=ORAOLEDB.Oracle;Data Source=MYDB;User ID=" & usr & ";Password=MYPWD;"
when running ConOracle.Open, I get error message
"3706. Provider cannot be found. It may not be properly installed."
After reading oracle docs, I successfully registered ORAOLEDB19.DLL on server, and checked TNSNAMES.ORA is correctly set. In fact, Im able to reach DB via SQL Plus. testing connection using cscript.exe worked too; but same command executed by ASP page fails.