entry for sde instance not found in services file解决方法
2010-07-09 08:25
651 查看
一、问题描述:
当使用如下连接:
ipropertyset ppropertyset;
ppropertyset = new propertysetclass();
ppropertyset.setproperty("server", "服务器名");
ppropertyset.setproperties("database","sde");
ppropertyset.setproperty("instance", " esri_sde");
ppropertyset.setproperty("user", "sde");
ppropertyset.setproperty("password", "sde");
ppropertyset.setproperty("version", "sde.default");
连接服务器sde,sde提示如下错误:
entry for sde instance not found in services file;
二、解决办法
解决办法1:
在客户机“c:/windows/system32/drivers/etc”文件夹下services文件添加:
esri_sde 5151/tcp #arcsde for oracle
在客户机“c:/windows/system32/drivers/etc”文件夹下host文件添加:
ip地址 服务器名
解决办法2:
将实例属性设置为:
ppropertyset.setproperty("instance", "port:5151");
当使用如下连接:
ipropertyset ppropertyset;
ppropertyset = new propertysetclass();
ppropertyset.setproperty("server", "服务器名");
ppropertyset.setproperties("database","sde");
ppropertyset.setproperty("instance", " esri_sde");
ppropertyset.setproperty("user", "sde");
ppropertyset.setproperty("password", "sde");
ppropertyset.setproperty("version", "sde.default");
连接服务器sde,sde提示如下错误:
entry for sde instance not found in services file;
二、解决办法
解决办法1:
在客户机“c:/windows/system32/drivers/etc”文件夹下services文件添加:
esri_sde 5151/tcp #arcsde for oracle
在客户机“c:/windows/system32/drivers/etc”文件夹下host文件添加:
ip地址 服务器名
解决办法2:
将实例属性设置为:
ppropertyset.setproperty("instance", "port:5151");
相关文章推荐
- entry for sde instance not found in services file解决方法
- entry for sde instance not found in services file解决方法
- entry for sde instance not found in services file解决方法[转]
- entry for sde instance not found in services file解决方法(转)
- entry for sde instance not found in services file解决方法
- 连接sde服务报错"Entry for SDE instance not found in services file”
- ArcMap 连接SDE 出错“Failed to connect to the specified server. Entry for SDE instance no found in services file.”
- iOS 中支付宝 ’openssl/asn1.h' file not found问题 和 objc-class-ref in AlipaySDK问题解决方法
- Go丨语言package github.com/Go-SQL-Driver/MySQL: exec: "git": executable file not found in %PATH%解决方法
- Linux下is not in the sudoers file解决方法
- 解决The current branch is not configured for pull No value for key branch.master.merge found in config
- Eclipse 出现Some sites could not be found. See the error log for more detail.错误 解决方法
- xxx is not in the sudoers file解决方法
- debian中xxx is not in the sudoers file解决方法
- The description for Event ID ( 27745 ) in Source ( Windows SharePoint Services 3 ) cannot be found问题解决
- ERROR! MySQL server PID file could not be found!的解决方法
- Linux启动时 Error 15: File not found 问题解决方法
- Zox's code life 人生就是不停的战斗! xxx is not in the sudoers file.This incident will be reported.的解决方法
- xxx is not in the sudoers file.This incident will be reported.的解决方法