c# webservice oracle 报错 ORA-06413: 连接未打开
连接串如下,在windows应用程序里是可以连接的,为什么在webservice里报“ORA-06413:连接未打开”stringconnString="Provider...
连接串如下,在windows应用程序里是可以连接的,为什么在webservice里报“ORA-06413: 连接未打开”
string connString = "Provider=OraOLEDB.Oracle.1;User ID=test;Password=test;Data Source= (DESCRIPTION = (ADDRESS_LIST= (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.2.240)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = kttest)))";
OleDbConnection conn = new OleDbConnection(connString); 展开
string connString = "Provider=OraOLEDB.Oracle.1;User ID=test;Password=test;Data Source= (DESCRIPTION = (ADDRESS_LIST= (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.2.240)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = kttest)))";
OleDbConnection conn = new OleDbConnection(connString); 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询