我正在尝试使用内置的Microsoft ODBC for Oracle驱动程序连接到Oracle 10g数据库.我想使用无连接的连接,所以我从
www.connectionstrings.com获取连接字符串.
原文链接:https://www.f2er.com/windows/371814.html理想情况下,我不需要设置DNS条目或Oracle TNS条目,我可能会弄错,但我认为上面的内容会对我有用.我得到以下内容:
ERROR [NA000] [Microsoft][ODBC driver for Oracle][Oracle]ORA-12514: TNS:listener does not currently know of service requested in connect descriptor ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's sqlSetConnectAttr Failed ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see sqlSetEnvAttr)."
据我所知,其他人使用Microsoft ODBC for Oracle驱动程序连接到10g,但也许我错过了一些东西.顺便说一句,我是从vb.net应用程序连接的.