"ORA-12154: TNS:could not resolve service name" Oracle Error in MapInfo Professional

Product Affected: MapInfo Professional


When trying to connect to an Oracle Database in MapInfo Pro you may get the error Oracle Error: ORA-12154: TNS:could not resolve service name.


TNS_ADMIN does not work with path names that have spaces in them.


UPDATED: December 10, 2019
Place the tnsnames.ora file in a directory that does not have spaces in the name.