0

I created an Oracle DB. But when i tried to connect it with my Visual Studio 2012, it gave me the same errors all the time. What can i do about that situation. I looked up all the net.

Thanks for help!

Error Codes Are(Tried with "Data Source Name" section)

- When i tried with "ORCL": "ORA-12154:TNS:could not resolve the connect identifier specified"
- When i tried with "my comp. name": "ORA-12154:TNS:Listener was not given the SERVICE_NAME in CONNECT_DATA"
- When i tried with "(Local Database)": "ORA-12560:TNS:Protocol Adapter Error"
4

1 回答 1

0

呵呵,我解决了这个问题。只需将 tnsnames.ora 复制到“@oraclehome\dbhome_1\NETWORK\ADMIN”到“@oraclehome\client_1\Network\Admin”,错误消息就消失了。

您应该重新启动侦听器和编译器程序(例如 Visual Studio)。

于 2013-06-14T08:01:25.773 回答