用友 NC 配置UAP测试连接时提示测试未能通过,请检查输入和数据库 java.sql.SQL Exception:Listener refused the connection with

用友 NC 配置UAP测试连接时提示测试未能通过,请检查输入和数据库 java.sql.SQL Exception:Listener refused the connection with the following error:ORA-12514,TNS:listener does not currently know of service requested in connect descriptor如图:用友 NC 配置UAP测试连接时提示测试未能通过,请检查输入和数据库 java.sql.SQL Exception:Listener refused the connection with

解决办法:开始-程序-找到oracle数据库下边的配置和移植工具-点开Net Manager选项-打开监听程序,选中LISTENER,将右边主机选项中的localhost改为服务器本机的电脑名,并且重启oracle监听服务就OK啦!如图所示:
用友 NC 配置UAP测试连接时提示测试未能通过,请检查输入和数据库 java.sql.SQL Exception:Listener refused the connection with