我用以下方法连接Oracle,但总出错
OraOLEDB.Oracle.1;Password=密码;Persist Security Info=True;User ID=用户名;Data Source=orcalce实例名;错误提示信息如下:
Project *****.exe raised exception class BOleException with message'ORA-12514:TNS:listener could not resolve SERVICE_NAME given in connect descriptor'.Process stopped.并且又提示:
Project *****.exe raised exception class BOleException with message'ORA-12514:TNS:监听进程不能解析在连接描述符中给的SERVICE_NAME'.Process stopped.
请帮我
OraOLEDB.Oracle.1;Password=密码;Persist Security Info=True;User ID=用户名;Data Source=orcalce实例名;错误提示信息如下:
Project *****.exe raised exception class BOleException with message'ORA-12514:TNS:listener could not resolve SERVICE_NAME given in connect descriptor'.Process stopped.并且又提示:
Project *****.exe raised exception class BOleException with message'ORA-12514:TNS:监听进程不能解析在连接描述符中给的SERVICE_NAME'.Process stopped.
请帮我
不通的话是Oracle监听器或地址有问题
tnsnames.ora
listener.ora
贴出来大家观赏一下啊~~~