<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆-93  評論-78  文章-11  trackbacks-0
        今天,從上周就捆饒我的問題終于在下班前被我搞定!小得意了一下.
        我的電腦上之前安裝了Oracle 10g database,配置完變量用PL/SQL操作一切OK .當(dāng)又安裝完Oracle 10g client后,問題出現(xiàn)了,用PL/SQL登陸時反復(fù)提示:ORA-12154: TNS: could not resolve the connect identifier specified
        對于初學(xué)者,我反復(fù)的在"Oracle - OraDb10g_home3"下的"配置和移植工具"中的"Net Manager"中查找問題所在.請教高手,也沒有召見問題的原因.我郁悶了,隨后自己決定來搞定這個問題.
        我做了大量的反復(fù)的資料查看和自我檢查,靈感在下班的時候出現(xiàn),我突然意識到我的"環(huán)境變量"一直被忽視.
    打開后我發(fā)現(xiàn)我當(dāng)前的環(huán)境變量這樣設(shè)置的:
    path  ==  E:\oraclient_2;E:\oracle\oradata\bin;E:\oracle\bin;E:\Program Files\Java\jdk1.5.0_04\bin;E:\Tomcat5028\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
    問題出現(xiàn)了.隨后我該成如下:
    path  ==  E:\oracle;E:\oracle\oradata\bin;E:\oracle\bin;E:\Program Files\Java\jdk1.5.0_04\bin;E:\Tomcat5028\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

    OK !!! 問題在最后的關(guān)頭被我解決了!!!不錯.
    這就是: "不拋棄 不放棄"
    posted on 2007-11-19 17:59 wahaha 閱讀(144454) 評論(69)  編輯  收藏

    評論:
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2008-04-18 08:40 | 小螞蟻
    非常感謝,謝謝共享!省了我好多的時間  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2008-07-09 10:01 | teddy
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2008-07-25 09:24 | aaa
    謝謝,我也碰到這個問題了,client的環(huán)境變量在server之前,倒是pl/sql dev連不上  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2008-10-13 13:36 | jems.org.cn
    不錯.謝謝了!!!  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2008-11-06 15:41 | ilovehibernate@hotmail.com
    照你的方法試過了.
    問題還是不能解決.
    郁悶ING
    sqldeveloper.exe
    都能用,偏偏pl/sql就用不了  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2009-02-16 20:44 | john
    打開LISTENER.ORA
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    )
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abcd)(PORT = 1521))
    )
    )
    )

    注意 HOST= 隨意字符串
    就OK了.忘能幫上各位  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2009-03-13 15:44 | haha
    非常感謝!!
    困擾了好久!  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2009-03-19 09:35 | 霸王球
    非常感謝,幫忙解決了問題!三克油  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2009-04-13 10:36 | orcl
    問題解決,謝謝!  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2009-04-27 09:23 | 我心飛翔
    解決,非常感謝!非常,非常,非常,非常,非常!  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2009-05-27 15:38 | calvin
    強@john
      回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2009-06-15 16:18 | ly
    樓主 我的黃精配置咱們是這樣的啊
    F:\oracle\product\10.2.0\db_1\bin;e:\oracle\product\10.2.0\client_1;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\TortoiseSVN\bin
    跟你的而不大一樣 改怎么改?  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2009-07-07 11:26 | violet
    不錯 :)  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2009-08-11 09:06 | 打得到
    去掉e:\oracle\product\10.2.0\client_1;就可以了@ly
      回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2009-08-15 09:28 | fbi333444
    謝謝了 修改環(huán)境變量就可以搞定了  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2009-08-18 15:01 |
    我也遇到這個問題,害得的我重裝了一遍oracle10g。現(xiàn)在終于解決了,需要把server環(huán)境變量放在client的環(huán)境變量就可以了。  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2009-08-25 22:07 | LBQ
    非常感謝 我也遇到這樣的問題了 修改后問題解決了
    看了很多網(wǎng)頁 還是你這里寫的好 支持一下 !  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2009-09-04 14:40 | 開發(fā)這
    謝謝,幫了我很大忙  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2009-09-28 10:49 | gengyongjiang
    謝謝,問題解決  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2009-09-28 10:52 | gengyongjiang
    之前的pl/sql都好用,重裝系統(tǒng)后,pl/sql不好用了,我一直以為是我的操作系統(tǒng)版本問題,因為我這般XP連VC6都裝不上。
      回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2009-10-14 18:57 | zhaoin
    這個問題困擾了我好久,一度在影響到我項目的進程,把服務(wù)器端的環(huán)境變量一放到客戶端的環(huán)境變量上就可了了,謝謝啊~非常感謝  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2009-10-30 10:10 | dd
    謝謝呀,總算搞定!  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2010-02-03 01:33 | user
    那個環(huán)境變量在那裡的?!  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2010-04-07 20:00 | me too
    @ilovehibernate@hotmail.com
    我的樣子和他一樣,還是改不掉。  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2010-04-29 11:13 | cw
    那個環(huán)境變量在哪?  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2010-06-14 22:50 | summer
    我也遇到過該問題,不過是因為裝了兩個客戶端,卸載掉其中一個后就OK了。  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2010-09-25 17:33 | af
    bucuo  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2010-10-08 15:31 | help屈
    @打得到
    對,去掉一個就行了,謝謝了  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2010-12-10 10:42 | Han
    謝謝,解決了  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2011-02-11 11:05 | 蕭蕭
    折騰了好久,終于解決了,謝謝了!  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2011-05-12 09:25 | 路人甲
    設(shè)置oracle_home這個問題一般就會解決了~  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2011-05-12 09:26 | 路人甲
    添加oracle_home環(huán)境變量,這個問題一般就解決了~  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2011-06-28 13:34 | ke.zhang
    @john
    謝謝。你寫的幫我解決了問題  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2011-07-20 18:23 | sandy
    我是新手,那位大俠有空幫我遠程一下;非常的感謝!!!QQ:9528597  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2011-08-05 10:22 | cherry
    灰常感謝各位水的大蝦啊。。。水的很好,解決我偶的問題。。。膜拜  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2011-08-05 10:23 | cherry
    就是去掉一個就OK了,折騰了好久啊。。。太高興了  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2011-08-31 17:30 | 鑫哥
    問題解決,不過請問這是什么意思啊?  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2011-08-31 17:30 | 鑫哥
    問題解決,不過沒明白什么意思  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2011-09-16 09:10 | AppleYang
    @打得到
    謝謝你,去掉e:\oracle\product\10.2.0\client_1;現(xiàn)在可以了,就是還有個亂碼問題待解決  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2011-10-08 11:06 | 天空之城
    謝謝啦~幫我解決了一個大問題。  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2011-10-08 11:07 | 天空之城
    你的評論不好找,不醒目,想感謝下找個半天,哈哈~繼續(xù)努力噢~  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2012-03-08 17:17 | justme
    寫的真不錯  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2012-06-08 19:32 | billschen
    終于被我找到了~  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2012-07-17 13:38 | qingliu_hnnu
    怎么去掉一個客戶端啊?急急急@summer
      回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2012-08-01 17:02 | pyx61198
    我的的環(huán)境配置也是這樣的啊
    F:\oracle\product\10.2.0\db_1\bin;e:\oracle\product\10.2.0\client_1;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\TortoiseSVN\bin
    去掉e:\oracle\product\10.2.0\client_1;后還是不行啊,出現(xiàn)個空白的對話框,還是連不上,有誰知道為啥啊  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2012-10-18 09:29 | xiaov
    如果是64位win7的話,這個問題是因為win7引起的。安裝時默認在C:\Program Files (x86)下,就是這個(86)引起的這些問題,改下安裝目錄去掉這塊就好了  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2012-11-06 16:06 | 等李
    問題解決了,非常感謝,這個一般情況下真想不到環(huán)境變量那去!!!我一開始還以為是plsql的問題了,后來用sqlplus登錄也不行!!看到你的文檔,讓我茅塞頓開啊!  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2012-12-29 15:05 | konling
    嗯,這個太感謝了。  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2013-01-08 16:06 | ds
    @小螞蟻
      回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2013-01-30 17:06 |
    牛掰啊!!!!!膜拜,解決了  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2013-03-11 10:38 | panlex
    恍然大悟啊  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2013-05-11 20:50 | mingwei
    NB啊,謝謝  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2013-05-17 09:45 | lg
    謝謝,問題解決
      回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2013-05-17 09:45 | lg
    謝謝問題解決  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2013-06-02 14:13 | 小偉
    我在用Sqlserver 連接Oracle數(shù)據(jù)庫時 出現(xiàn)了 @lg
    OLE DB 提供程序 'msdaora' 報錯。
    [OLE/DB provider returned message: ORA-12154: TNS:could not resolve the connect identifier specified
    ]
    不知道是不是跟你的問題一樣.. 我試了還是不行哎//  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2013-06-02 14:14 | 小偉
    系統(tǒng)是Windows 2003 server @小偉
      回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2013-08-14 12:22 | TY
    "環(huán)境變量"原來是在右擊我的電腦屬性-高級里面設(shè)置的啊,還真的解決了,真心感謝樓主啊!!!  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2013-08-27 16:37 | 地方
    我的電腦-屬性-高級設(shè)置-環(huán)境變量@cw
      回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2013-10-08 22:33 | wangdapeng
    的確好用,謝謝你  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2013-12-16 14:58 | 吳麗紅
    @zhaoin 什么意思啊?我的path是這樣的C:\Program Files\Intel\iCLS Client\;E:\app\dmeng\product\11.2.0\dbhome_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\ 怎么改啊?  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2014-01-17 09:47 | tt
    C:\Program Files\PC Connectivity Solution\;C:\oracle\product\10.1.0\Db_1\bin;C:\oracle\product\10.1.0\Db_1\jre\1.4.2\bin\client;C:\oracle\product\10.1.0\Db_1\jre\1.4.2\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Windows Imaging\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Intel\WiFi\bin\
    這個環(huán)境變量有問題嗎?請教  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2014-03-18 17:11 | 紫寒512
    樓主好,看到你這個問題的時候,我真嗨皮,廢話不多說,我也是忘了環(huán)境變量了。
    可是配置好之后,再登陸時,又提示了個空白的對話框。少了之前的一串提示了。有沒有遇到過呀?求助。。。。。  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2014-06-11 15:09 | 恩恩額
    @ly@打得到
    這樣果然解決了,太好了  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2014-08-21 14:56 | 安安
    多謝分享,搞定,糾纏了我至少半年的問題啊,無數(shù)次重裝系統(tǒng),無數(shù)次改注冊表,最終把自己系統(tǒng)搞崩潰。@pyx61198
    @打得到
      回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2015-04-02 13:57 | 火龍果
    果然是環(huán)境變量的問題,我的環(huán)境變量跟樓主不一樣,但是只要在最前面加上樓主標(biāo)紅的那個就好了,我的是D盤,所以我弄成了D盤,問題就解決了  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2015-05-28 06:01 | lhshfree
    在安裝PLSQL-Developer時出現(xiàn)該問題 Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決!

    windows8環(huán)境變量設(shè)置如下:在系統(tǒng)變量設(shè)置如下 :
    變量:TNS_ADMIN

    值:E:\app\asus\product\11.2.0\dbhome_1\NETWORK\ADMIN

    其中值是你安裝路徑中查找對應(yīng)項
      回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2015-06-16 16:03 | qq
    @help屈
    ?  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! 2015-06-27 14:58 | waver001
    感謝,遇到的問題一模一樣  回復(fù)  更多評論
      
    # re: Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 問題解決! [未登錄] 2015-08-21 16:16 | javaee
    我的解決辦法居然是因為有TNS里面的配置,service的name一樣,我換個名字,都不一樣就好了  回復(fù)  更多評論
      

    只有注冊用戶登錄后才能發(fā)表評論。


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 亚洲AV无码精品国产成人| 四虎最新永久免费视频| 亚洲视频免费一区| 国产乱弄免费视频| 亚洲免费一级视频| 一个人看的免费高清视频日本| 亚洲中文字幕在线乱码| 亚洲一区二区在线免费观看| 亚洲成在人线中文字幕| 亚洲中文字幕丝袜制服一区| 国产成人免费网站| 日本免费污片中国特一级| 免费无毒a网站在线观看| 国产v亚洲v天堂a无| 亚洲一区无码中文字幕乱码| 911精品国产亚洲日本美国韩国| 国产精品亚洲片在线| 亚洲日韩激情无码一区| 国产精品亚洲αv天堂无码| 午夜亚洲国产成人不卡在线| 国产成人青青热久免费精品| 午夜视频在线在免费| 成全影视免费观看大全二| 国产精品免费观看久久| 中国在线观看免费国语版| 丁香花免费高清视频完整版| 在线看片v免费观看视频777 | 国产成人啪精品视频免费网| 成人免费无毒在线观看网站| 四虎永久在线精品免费网址| 午夜宅男在线永久免费观看网| 69成人免费视频| 香蕉97超级碰碰碰免费公| aa级一级天堂片免费观看| 青娱分类视频精品免费2| 一个人免费观看在线视频www| 国产1024精品视频专区免费| 女人被弄到高潮的免费视频| 在线观着免费观看国产黄| 免费人成视频x8x8入口| 日韩亚洲变态另类中文|