我用VB.NET连接ORACLE 10G,由于对数据库不熟悉,没有任何设置,只是用system登录em,建立一个表空间。在VB.NET中ADO连接字符串为 "Provider=MSDAORA.1;Data Source = EasyCoder ; User ID=system ;Password=easycoder" 但是连接时报错:
ORA-12154: TNS: could not resolve the connect identifier specified求教解决方法。
ORA-12154: TNS: could not resolve the connect identifier specified求教解决方法。
2,netstat -an 看端口1521或者其他凯没有
3, LSNRCTL.EXE status 看监听器的状态,可以重新设置监听器
4,tnsping oracleservicename 看服务配置正确不 详细情况参考 http://www.cnoug.org/viewthread.php?tid=15661&h=1
lz 你自己google一下吧