tianyufeixiang9 2014-02-19 03:41 采纳率: 0%
浏览 1758

arcgis java 连接sde错误 求帮助

initializeArcGISLicenses();
SdeWorkspaceFactory sdeFact = new SdeWorkspaceFactory();
// Create a PropertySet object that will contain all of the
// SDE connection parameters
PropertySet propSet = new PropertySet();
// Populate the property set with the connection parameters
propSet.setProperty("SERVER", server);
propSet.setProperty("INSTANCE", instance);
propSet.setProperty("DATABASE", database);
propSet.setProperty("USER", user);
propSet.setProperty("PASSWORD", password);
propSet.setProperty("VERSION", "sde.DEFAULT");
** IWorkspace w= sdeFact.open(propSet, 0); **
// Open the ArcSDE workspace using the connection PropertySet
Workspace ws = new Workspace(w);

这行 IWorkspace w= sdeFact.open(propSet, 0);报错
AutomationException: 0x80041501 - Operation Failed in 'esriDataSourcesGDB.SdeWorkspace.1'

  • 写回答

0条回答

    报告相同问题?

    悬赏问题

    • ¥15 oracle集群安装出bug
    • ¥15 关于#python#的问题:自动化测试
    • ¥20 问题请教!vue项目关于Nginx配置nonce安全策略的问题
    • ¥15 教务系统账号被盗号如何追溯设备
    • ¥20 delta降尺度方法,未来数据怎么降尺度
    • ¥15 c# 使用NPOI快速将datatable数据导入excel中指定sheet,要求快速高效
    • ¥15 再不同版本的系统上,TCP传输速度不一致
    • ¥15 高德地图2.0 版本点聚合中Marker的位置无法实时更新,如何解决呢?
    • ¥15 DIFY API Endpoint 问题。
    • ¥20 sub地址DHCP问题