Error in ODBC database connect without any error message

ODBC connect is failing without any error message. Please find the error screenshot

Also, it is not failing for all odbc connect but only for some in the entire process.
Running the process on 64 bit Windows 10