File Geodatabase API not reading the file geodatabase from ExportNetwork GP tool/service on Window 2019

263
0
11-16-2021 09:49 AM
KevinHunt
New Contributor III

This article documents a problem and work around New York and AgileAssets uncovered as we worked through the LRS Gateway testing between Roads and Highways 10.7.1 and AgileAssets 7.6.2 (both running on Windows 2019)

Please note:  This issue only applies if you are using the Esri File Geodatabase API running on Windows Server (as opposed to Unix) to read the file geodatabase produced by the Roads and Highways (RH) ExportNetwork service.      The Export Network GP Tool output is a file geodatabase.   Applications that need to be aware of LRS network changes interface with the LRS in Roads and Highways through the RH Export Network service.   At NYSDOT, our interfacing application is the AgileAssets enterprise asset management (EAM) system running on Windows Server 2019.  Testing by NYS ITS and AgileAssets revealed that the File Geodatabase API could not reliably read the file geodatabase produced by the RH Export Network REST service.   The problem was intermittent but otherwise persistent.   As a result, the LRS Gateway sync would regularly fail.   An upgrade of the File Geodatabase API to the latest version (1.5.2) did not fix the issue.   AgileAssets had not seen this issue before because other customers (as well as their internal environments) generally run on Linux servers.   

The workaround that was proposed, and we have used successfully, was to publish a model that completes the Export Network GP tool first, creating the file geodatabase output, and then exporting the file geodatabase to JSON using a second GP tool.   In our case, the AgileAssets EAM consumes the JSON format, avoiding the need to read the file geodatabase using the File GDB API.   

Due to the work around and since may not run AgileAssets on Windows Server for much longer, we did not work with Esri Tech Support on this issue.   However, I wanted to make the community aware of it. 

0 Replies