Opened 13 years ago

Closed 5 years ago

#4037 closed defect (wontfix)

license checkout fails with ArcGIS 10

Reported by: dncpax Owned by: rburhum
Priority: normal Milestone: closed_because_of_github_migration
Component: OGR_SF Version: 1.8.0
Severity: normal Keywords:
Cc:

Description (last modified by dncpax)

When using the AO driver to open an .sde connection file running this command: ogrinfo -so -ro AO:".\gdbview.sde" user.featureclass I get this error: ERROR 1: ArcGIS License checkout failed. ERROR 1: ArcGIS License checkout failed. FAILURE: Unable to open datasource `AO:.\gdbview.sde' with the following drivers.

-> ArcObjects

-> SDE

-> ESRI Shapefile

-> …

It seems this is ArcGIS 10 specific. In my case, I built the plugin with ArcGIS 10 installed.

Change History (5)

comment:1 by dncpax, 13 years ago

Description: modified (diff)

comment:2 by Jukka Rahkonen, 9 years ago

Based on the amount of feedback it is probably not very common to use GDAL ArcObjects driver with ArcGIS 10 and SDE. If someone has managed to make it work, please tell.

comment:3 by rburhum, 9 years ago

It *should* work, albeit I have not tried it in *years* and ESRI could have changed their licensing initialization code.

To fix this, one would have to change the code here:

The license checkout code is here: https://github.com/OSGeo/gdal/blob/trunk/gdal/ogr/ogrsf_frmts/arcobjects/aoutils.cpp#L369

to satisfy the new rules here (if any): http://resources.arcgis.com/en/help/arcobjects-cpp/conceptualhelp/index.html#//0001000000r0000000

Sorry I can't be of much help without a Windows dev environment.

comment:4 by dncpax, 9 years ago

Hi there.

I can test any build you make. At the moment I have access to arcgis 10.2.

I might be able to make the build with step-by-step guidance...

comment:5 by Even Rouault, 5 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.

Note: See TracTickets for help on using tickets.