加载中…
个人资料
风起云涌风飞扬
风起云涌风飞扬
  • 博客等级:
  • 博客积分:0
  • 博客访问:1,639
  • 关注人气:24
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

ArcSDE直连错误现象及解决办法

(2013-06-09 17:37:12)
标签:

arcsde

直连

oracle11g

分类: 学习心得

ArcSDE直连参数与错误总结

 

【关键提示:ArcSDE直连必须保证服务器和客户端安装的arcgis版本一致,否则会出现如下各种错误,供参考。】

 

【错误现象一】Failed to connect to the specified server. Server library could not be loaded.

【错误分析】通过查询帮助文件发现,在数据库直连时oracle版本是根据客户端安装的版本而决定的。

【解决办法】将service处的连接参数修改为sde:oracle**(如客户端是oracle9i,就输入sde:oracle9i)即可。

 

 

【错误现象二】Failed to connect to the specified server. Underlying DBMS Error [ORA-12560:TNS:协议适配器错误  No extended error].

【错误分析】客户端若同时连接了多个数据库且本地网络服务名配置相同,将出现协议适配器错误。

【解决方法】1、重新配置oracle本地网络服务,更改一个服务名;2)在sde用户连接的口令处输入mypassword@ 

 

 

【错误现象三】用arcsde server 9.2 arcgis desktop 9.3实现直连。    New direct connect driver attempting to connect to older geodatabase instance[Please install the direct connect driver that matches the release of the geodatabase to which you are attempting to connect

【错误分析】桌面产品与服务器版本不一致。要实现oracle数据库直连,必须保证服务器安装的arcsde版本与客户端的桌面产品版本一致,否则将出现版本不一致的错误。

【解决方法】将arcgis产品版本进行统一。方法1:将服务器升级到arcsde9.3;方法2:卸载客户端ArcGIS9.3,重新安装ArcGIS9.2

 

    【错误现象四】在arcmap中,进行数据直连配置时,提示:无法连接到指定的服务器,Underlying DBMS did not accept username/password.

    【错误分析】在arcmap中已有打开的mxd文档,且该文档已经连接到目标数据库。

    【解决办法】关闭已经打开的mxd文档,然后重新添加空间数据库连接。

 

 

 

【参考文献:ArcGIS Desktop Help

The sde:oracle** tells the ArcSDE client API which driver you are looking for, not to which database you are connecting. In other words, an Oracle 11g driver will connect to 10g database and vice versa. The drivers differ in the version of Oracle with which they were built. 

If you have Oracle9i client software on the local machine, use: sde:oracle9i

For connections from local machine with the Oracle 10g client, use the syntax: sde:oracle10g

If you have Oracle9i, Oracle 10g, or Oracle 11g client software on the local machine and try to connect with the server string: sde:oracle】,you will get the following error message: Failed to Connect to Specified Server. Underlying DBMS Error Unknown Error.  No extended error]

If you are using multiple geodatabases stored in Oracle, see Using multiple geodatabases within DBMS to find the correct connection syntax for your service. The password you type in the Password field of the Spatial Database Connection dialog box must have the Oracle Net Service name appended to it: mypassword@

If you are using ArcSDE 8.3 or lower, set the SDEHOME environment variable to point to the directory in which the client application's dynamically linked library files are stored. For ArcGIS Desktop, this should be the directory directly above the Bin directory in the ArcGIS installation location. 

 

 

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有