无法连接 SQLState=08004 [Oracle][ODBC][Ora]ORA-12154: TNS: 无法解析 ms odbc 管理员中指定的连接标识符

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/39434052/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 03:18:25  来源:igfitidea点击:

Unable to connect SQLState=08004 [Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve the connect identifier specified in ms odbc administrator

exceloracleodbctnsnamesinstantclient

提问by sandhiya

I want to add two service names in one tnsnames.ora file and getting error in below 2 image in "Microsoft ODBC Driver Configuration". enter image description here

我想在一个 tnsnames.ora 文件中添加两个服务名称,并在“Microsoft ODBC 驱动程序配置”中的下面 2 个图像中出现错误。 在此处输入图片说明

回答by rajesh

click on start icon->type cmdin the text box-> you can see cmd.exe-> click on it-> type tnspingclick enter.

点击开始icon->键入CMD在文本箱- >你可以看到cmd.exe->点击它- >型用tnsping点击进入。

check whether you can connect to the destination or not

检查您是否可以连接到目的地