michaell 发表于 2008-5-21 10:52:18

[求助]PB5连接Oracle出现ora-12203

同一个数据库用PB5连接时出现<font face="Verdana">ora-12203</font>,用PB9或sqlplus连接就正常(客户端Oracle7.3),哪位有解决方法?多谢!

michaell 发表于 2008-5-21 12:12:25

<p><font face="Verdana"><font face="Verdana">我的TNSNAMES.ORA的配置是这样的:</font></font></p>
<p>&nbsp;</p>
<p><font face="Verdana">misist.world =<br/>&nbsp; (DESCRIPTION = <br/>&nbsp;&nbsp;&nbsp; (ADDRESS_LIST = <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (ADDRESS = <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (COMMUNITY = TCP.world)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (PROTOCOL = TCP)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Host =&nbsp; 10.255.255.10)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Port = 1521)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br/>&nbsp;&nbsp;&nbsp; )<br/>&nbsp;&nbsp;&nbsp; (CONNECT_DATA =<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (SID = misist)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (GLOBAL_NAME = misist.world)<br/>&nbsp;&nbsp;&nbsp; )<br/>&nbsp; )<br/></font></p>
<p><font face="Verdana"></font>&nbsp;</p>
<p><font face="Verdana">可是在<font face="Verdana">SQLNET.LOG</font>中出现的信息是这样:</font></p><font face="Verdana">
<p><font face="Verdana">***********************************************************************<br/>Fatal OSN connect error 12203, connecting to:<br/>&nbsp;(DESCRIPTION=(CONNECT_DATA=(SID=misist)(GLOBAL_NAME=misist.world)(CID=(PROGRAM=E:\PWRS\PB5\PBRTF050.DLL)(HOST=Windows PC)(USER=OraUser)))(ADDRESS_LIST=(ADDRESS=(PROTOCOL=ipc)(KEY=misist.world))(ADDRESS=(COMMUNITY=TCP.world)(PROTOCOL=TCP)(Host=10.255.255.10)(Port=1521))))</font></p>
<p><font face="Verdana">&nbsp; VERSION INFORMATION:<br/>&nbsp;TNS for MSWINDOWS: Version 2.3.2.1.3 - Production<br/>&nbsp; Time: 21-MAY-08 11:55:19<br/>&nbsp; Tracing not turned on.<br/>&nbsp; Tns error struct:<br/>&nbsp;&nbsp;&nbsp; nr err code: 12203<br/>&nbsp;&nbsp;&nbsp; TNS-12203: TNS:unable to connect to destination<br/>&nbsp;&nbsp;&nbsp; ns main err code: 12538<br/>&nbsp;&nbsp;&nbsp; TNS-12538: TNS:no such protocol adapter<br/>&nbsp;&nbsp;&nbsp; ns secondary err code: 12560<br/>&nbsp;&nbsp;&nbsp; nt main err code: 508<br/>&nbsp;&nbsp;&nbsp; TNS-00508: No such protocol adapter<br/>&nbsp;&nbsp;&nbsp; nt secondary err code: 0<br/>&nbsp;&nbsp;&nbsp; nt OS err code: 0</font></p><font face="Verdana">
<p><br/>***********************************************************************<br/>Fatal OSN connect error 12203, connecting to:<br/>&nbsp;(DESCRIPTION=(CONNECT_DATA=(SID=mmsa)(GLOBAL_NAME=mmsa.world)(CID=(PROGRAM=E:\PWRS\PB5\PBRTF050.DLL)(HOST=Windows PC)(USER=OraUser)))(ADDRESS_LIST=(ADDRESS=(PROTOCOL=ipc)(KEY=MMSA.world))(ADDRESS=(COMMUNITY=TCP.world)(PROTOCOL=TCP)(Host=10.1.0.3)(Port=1521))))</p>
<p>&nbsp; VERSION INFORMATION:<br/>&nbsp;TNS for MSWINDOWS: Version 2.3.2.1.3 - Production<br/>&nbsp; Time: 21-MAY-08 11:55:19<br/>&nbsp; Tracing not turned on.<br/>&nbsp; Tns error struct:<br/>&nbsp;&nbsp;&nbsp; nr err code: 12203<br/>&nbsp;&nbsp;&nbsp; TNS-12203: TNS:unable to connect to destination<br/>&nbsp;&nbsp;&nbsp; ns main err code: 12538<br/>&nbsp;&nbsp;&nbsp; TNS-12538: TNS:no such protocol adapter<br/>&nbsp;&nbsp;&nbsp; ns secondary err code: 12560<br/>&nbsp;&nbsp;&nbsp; nt main err code: 508<br/>&nbsp;&nbsp;&nbsp; TNS-00508: No such protocol adapter<br/>&nbsp;&nbsp;&nbsp; nt secondary err code: 0<br/>&nbsp;&nbsp;&nbsp; nt OS err code: 0<br/></p>
<p>&nbsp;</p>
<p>&nbsp;</p></font></font>

michaell 发表于 2008-5-21 18:51:32

<p>花了好长时间才发现原来要把一个 <font face="Verdana">vsl.ini 放到windows目录下才行,只是不知道为什么要这个文件。</font></p>
<p>&nbsp;</p>
<p><font face="Verdana">;<br/>;&nbsp;&nbsp; VSL default settings<br/>;<br/><br/>;&nbsp;&nbsp; transport=netkey&nbsp;&nbsp;&nbsp; this is the network key of the default transport<br/>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; that the VSL will use if the netkey passed to<br/>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; InitVSL() is NULL<br/>transport=winsock</font></p>
<p><font face="Verdana">;&nbsp;&nbsp;&nbsp; trace=tracelevel<br/>;&nbsp;&nbsp;&nbsp; VSL tracing bit settings: - default is 1+2<br/>;&nbsp;&nbsp;&nbsp; 1&nbsp; /* msgs from 3rd party socket lib */<br/>;&nbsp;&nbsp;&nbsp; 2&nbsp; /* VSL detected errors */<br/>;&nbsp;&nbsp;&nbsp; 4&nbsp; /* VSL call tracing, implies 1+2+32 */<br/>;&nbsp;&nbsp;&nbsp; 8&nbsp; /* hex dump of received data */<br/>;&nbsp;&nbsp;&nbsp; 16 /* hex dump of sent data */<br/>;&nbsp;&nbsp;&nbsp; 32 /* msgs from VSL TSR code */<br/>;trace=4<br/>;<br/>;&nbsp;&nbsp;&nbsp; Transports supported by the VSL.<br/>;&nbsp;&nbsp;&nbsp; netkey=description where netkey is the network key for the transport and<br/>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; description is the name or title of the transport.<br/>;<br/>version=3.0.11<br/><br/>3open="3Com 3+Open TCP"<br/>3open2="3Com 3+Open TCP version 2.0"<br/>bw="Beame &amp; Whiteside TCP/IP"<br/>dlink="D-Link TCP/IP for DOS"<br/>pworks="digital PATHWORKS for DOS (TCP/IP)"<br/>novlwp="Novell LAN WorkPlace for DOS"<br/>ftp="FTP PC/TCP"<br/>hparpa="HP ARPA Services for DOS"<br/>locus2="Locus TCP/IP for DOS"<br/>lanman="Microsoft LAN Manager TCP/IP v2.1"<br/>lanman2="Microsoft LAN Manager TCP/IP v2.1a"<br/>pcnfs="Sun PC-NFS"<br/>pcnfs2="Sun PC-NFS v3.5"<br/>pcnfs4="Sun PC-NFS v4.0"<br/>net<br/>wintcp="Wollongong WIN/TCP for DOS"<br/>pathway="Wollongong PathWay Access for DOS"<br/>winsock="Windows Sockets TCP/IP v.1.1"<br/>wsock10="Windows Sockets TCP/IP v.1.0"</font></p>
<p><font face="Verdana">;<br/>;&nbsp;&nbsp;&nbsp; Transport specific information<br/>;<br/><br/>;&nbsp;&nbsp; protocol=This line is only used by JSB MultiView DeskTop<br/>protocol=rlogin,telnet,rsh,rexec<br/>;&nbsp;&nbsp; dllmodule=This line is only used by JSB MultiView DeskTop<br/>dllmodule=MSOCKLIB.DLL<br/>;&nbsp;&nbsp; netmodule=For a TSR supported transport, this should contain<br/>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the TSR signature.<br/>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For a DLL supported transport, the name of the DLL<br/>netmodule=MFTP<br/>;&nbsp;&nbsp; netinterface=This entry should contain TSR or DLL depending on how<br/>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the transport is supported through the VSL.<br/>netinterface=TSR<br/>;&nbsp;&nbsp; private=This line is only used by JSB MultiView DeskTop<br/>;private=</font></p>
<p><font face="Verdana"><br/>protocol=rlogin,telnet,rsh,rexec<br/>dllmodule=MSOCKLIB.DLL<br/>netmodule=M3OPEN<br/>netinterface=TSR<br/>;private=</font></p>
<p><font face="Verdana"><br/>protocol=rlogin,telnet,rsh,rexec<br/>dllmodule=MSOCKLIB.DLL<br/>netmodule=M3OPEN<br/>netinterface=TSR<br/>;private=</font></p>
<p><font face="Verdana"><br/>protocol=rlogin,telnet,rsh,rexec<br/>dllmodule=MSOCKLIB.DLL<br/>netmodule=M3OPEN.DLL<br/>netinterface=DLL<br/>;private=</font></p>
<p><font face="Verdana"><br/>protocol=rlogin,telnet,rsh,rexec<br/>dllmodule=MSOCKLIB.DLL<br/>netmodule=MBW<br/>netinterface=TSR<br/>;private=</font></p>
<p><font face="Verdana"><br/>protocol=rlogin,telnet,rsh,rexec<br/>dllmodule=MSOCKLIB.DLL<br/>netmodule=MLOCUS2<br/>netinterface=TSR<br/>;private=</font></p>
<p><font face="Verdana"><br/>protocol=rlogin,telnet,rsh,rexec<br/>dllmodule=MSOCKLIB.DLL<br/>netmodule=MWSOCK10.DLL<br/>netinterface=DLL<br/>;private=</font></p>
<p><font face="Verdana"><br/>protocol=rlogin,telnet,rsh,rexec<br/>dllmodule=MSOCKLIB.DLL<br/>netmodule=MWINSOCK.DLL<br/>netinterface=DLL<br/>;private=<br/>version=3.0.11</font></p>
<p><font face="Verdana"><br/>protocol=rlogin,telnet,rsh,rexec<br/>dllmodule=MSOCKLIB.DLL<br/>netmodule=MPCNFS4.DLL<br/>netinterface=DLL<br/>;private=</font></p>
<p><font face="Verdana"><br/>protocol=rlogin,telnet,rsh,rexec<br/>dllmodule=MSOCKLIB.DLL<br/>netmodule=MNOVLWP.DLL<br/>netinterface=DLL<br/>;private=</font></p>
<p><font face="Verdana"><br/>protocol=rlogin,telnet,rsh,rexec<br/>dllmodule=MSOCKLIB.DLL<br/>netmodule=MHPARPA.DLL<br/>netinterface=DLL<br/>;private=</font></p>
<p><font face="Verdana"><br/>protocol=rlogin,telnet,rsh,rexec<br/>dllmodule=MSOCKLIB.DLL<br/>netmodule=MHPARPA.DLL<br/>netinterface=DLL<br/>;private=</font></p>
<p><font face="Verdana"><br/>protocol=rlogin,telnet,rsh,rexec<br/>dllmodule=MSOCKLIB.DLL<br/>netmodule=M3OPEN<br/>netinterface=TSR<br/>;private=</font></p>
<p><font face="Verdana"><br/>protocol=rlogin,telnet,rsh,rexec<br/>dllmodule=MSOCKLIB.DLL<br/>netmodule=MLOCUS2<br/>netinterface=TSR<br/>;private=</font></p>
<p><font face="Verdana"><br/>protocol=rlogin,telnet,rsh,rexec<br/>dllmodule=MSOCKLIB.DLL<br/>netmodule=MPCNFS<br/>netinterface=TSR<br/>;private=</font></p>
<p><font face="Verdana"><br/>protocol=rlogin,telnet,rsh,rexec<br/>dllmodule=MSOCKLIB.DLL<br/>netmodule=MPCNFS2<br/>netinterface=TSR<br/>;private=</font></p>
<p><font face="Verdana"><br/>protocol=rlogin,telnet,rsh,rexec<br/>dllmodule=MSOCKLIB.DLL<br/>netmodule=MNETONE<br/>netinterface=TSR<br/>;private=</font></p>
<p><font face="Verdana"><br/>protocol=rlogin,telnet,rsh,rexec<br/>dllmodule=MSOCKLIB.DLL<br/>netmodule=MWINTCP<br/>netinterface=TSR<br/>;private=</font></p>
<p><font face="Verdana"><br/>protocol=rlogin,telnet,rsh,rexec<br/>dllmodule=MSOCKLIB.DLL<br/>netmodule=MPATHWAY.DLL<br/>netinterface=DLL<br/>;private=</font></p>
<p><font face="Verdana"></font>&nbsp;</p>

ribut922 发表于 2008-5-23 08:42:40

<p>原来如此</p>
<p>学习</p>
页: [1]
查看完整版本: [求助]PB5连接Oracle出现ora-12203

免责声明:
本站所发布的一切破解补丁、注册机和注册信息及软件的解密分析文章仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。如有侵权请邮件与我们联系处理。

Mail To:Admin@SybaseBbs.com