Hexagon Geospatial
MENU

GeoMedia Smart Client

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Frequent Contributor
Posts: 91
Registered: ‎11-10-2015

Customer can't publish some raster error message: Unable to load DLL 'gdal_wrap'

[ Edited ]

Hello

 

Our customer fight to publish tile for raster feature (no way) they are using GeoMedia Smart client 2016 SP1 and the raster format is JPEG2000. 

 

the tile server is not on the same computer as GMSC computer.

 

Parameter of the feature:

 

FEATURE_DEFINITION.jpg

 

Error message is 

 

16.03.2017 15:03:14 ERROR - Unexpected exception for PublishOrder 52c5a712-858d-4eb5-a8f5-b836ad85fc90:

System.TypeInitializationException: The type initializer for 'Intergraph.Emea.Maps.RasterOutput' threw an exception.

   at Intergraph.Emea.TilePublishing.TilePublisher.LayerSkipped(Object sender, LayerSkippedEventArgs e)

   at Intergraph.Emea.Maps.MapServerImpl.ValidateTiles(IEnumerable`1 tiles, Dictionary`2& layerTileMapping)

   at Intergraph.Emea.Maps.MapServerImpl.CreateTiles(IEnumerable`1 tiles)

   at Intergraph.Emea.TilePublishing.TilePublisher.Publish()

   --- Inner exception ---

System.TypeInitializationException: The type initializer for 'Intergraph.Emea.Maps.GdalConfiguration' threw an exception.

   at Intergraph.Emea.Maps.GdalConfiguration.ConfigureGdal()

   at Intergraph.Emea.Maps.RasterOutput..cctor()

   --- Inner exception ---

System.TypeInitializationException: The type initializer for 'OSGeo.GDAL.GdalPINVOKE' threw an exception.

   at OSGeo.GDAL.GdalPINVOKE.SetConfigOption(String jarg1, String jarg2)

   at OSGeo.GDAL.Gdal.SetConfigOption(String pszKey, String pszValue)

   at Intergraph.Emea.Maps.GdalConfiguration..cctor()

   --- Inner exception ---

System.TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception.

   at OSGeo.GDAL.GdalPINVOKE.SWIGExceptionHelper..ctor()

   at OSGeo.GDAL.GdalPINVOKE..cctor()

   --- Inner exception ---

System.DllNotFoundException: Unable to load DLL 'gdal_wrap': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

   at OSGeo.GDAL.GdalPINVOKE.SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_Gdal(ExceptionDelegate applicationDelegate, ExceptionDelegate arithmeticDelegate, ExceptionDelegate divideByZeroDelegate, ExceptionDelegate indexOutOfRangeDelegate, ExceptionDelegate invalidCastDelegate, ExceptionDelegate invalidOperationDelegate, ExceptionDelegate ioDelegate, ExceptionDelegate nullReferenceDelegate, ExceptionDelegate outOfMemoryDelegate, ExceptionDelegate overflowDelegate, ExceptionDelegate systemExceptionDelegate)

   at OSGeo.GDAL.GdalPINVOKE.SWIGExceptionHelper..cctor()

Staff
Posts: 982
Registered: ‎10-19-2015

Re: Customer can't publish some raster error message: Unable to load DLL 'gdal_wrap'

Hi David,

 

do you have a Gdal folder on the server where TileService is installed?

 

Regards,

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Frequent Contributor
Posts: 91
Registered: ‎11-10-2015

Re: Customer can't publish some raster error message: Unable to load DLL 'gdal_wrap'

Hello Stefano,

 

yes the gdal folder is on the tile server.

 

Best Regards

 

David

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.