浏览 9111 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2008-03-26
他的NAMES.DIRECTORY_PATH= (ONAMES),所以我把的此项修改为NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME, ONAMES) 再连数据库,一切OK! 最后如果还不能解决问题请参考以下步骤: 1.Verify that a tnsnames.ora file exists.(See Also: "Localized Configuration File Support" for configuration file location information) 2.Verify that there are not multiple copies of the tnsnames.ora file. 3.In the tnsnames.ora file, verify that the net service name specified in your connect string is mapped to a connect descriptor. 4.Verify that there are no duplicate copies of the sqlnet.ora file. 5.If you are using domain names, verify that your sqlnet.ora file contains a NAMES.DEFAULT_DOMAIN parameter. If this parameter does not exist, you must specify the domain name in your connect string. 6.If you are not using domain names, and this parameter exists, delete it or disable it by commenting it out. 7.If you are connecting from a login dialog box, verify that you are not placing an "@" symbol before your connect net service name. 8.Activate client tracing and repeat the operation. 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |