加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

oracle-报错处理-1

发布时间:2020-12-12 15:43:53 所属栏目:百科 来源:网络整理
导读:?xml version="1.0" encoding="utf-8" ? string xmlns="http://tempuri.org/"?xml version='1.0' encoding='utf-8'? bodyresponseret_code-3/ret_coderet_info失败/ret_infoPRES_IDSystem.Exception: ORA-12154: TNS: 无法解析指定的连接标识符 在 DbHelperO


 <?xml version="1.0" encoding="utf-8" ?> 
 <string xmlns="http://tempuri.org/"><?xml version='1.0' encoding='utf-8'?> <body><response>
<ret_code>-3</ret_code><ret_info>失败</ret_info><PRES_ID>System.Exception: ORA-12154: TNS: 无法解析指定的连接标识符 
在 DbHelperOra.ExecuteSql(String SQLString,OracleParameter[] cmdParms) 在 Service.Process(String XML)</PRES_ID></response></body></string> 


解决方案:

检查web.config 连接配置是否正确(本人是Data Source 忘记修改导致出错)

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读