[mapguide-trac] #1466: Does Maestro support for the changes in RFC68?

MapGuide Open Source trac_mapguide at osgeo.org
Wed Oct 13 11:17:05 EDT 2010


#1466: Does Maestro support for the changes in RFC68?
--------------------------+-------------------------------------------------
   Reporter:  bgugeograf  |       Owner:       
       Type:  defect      |      Status:  new  
   Priority:  low         |   Milestone:       
  Component:  General     |     Version:  2.0.0
   Severity:  minor       |    Keywords:       
External_id:              |  
--------------------------+-------------------------------------------------
 Im am running Maestro 2.0.0.4650 and Im trying to get it up and running
 with MGE2011. The new MGE2011 has some new changes to the
 structure of the mapguidedotnetapi.dll. See RFC68,
 http://trac.osgeo.org/mapguide/wiki/MapGuideRfc68.

 That is, it has been divided into 5 dlls but still has the
 mapguidedotnetapi.dll for compatibility reasons.
 Still I have had no success in calling the mapguide native methods.

 When I invoke MgInitializeWebTier I receive the following error:
 Error: The type initializer for 'OSGeo.MapGuide.MapGuideApiPINVOKE' threw
 an exception.
 Source: MapGuideDotNetApi
 Stack trace:    at
 OSGeo.MapGuide.MapGuideApiPINVOKE.MgInitializeWebTier(String jarg1)
    at OSGeo.MapGuide.MapGuideApi.MgInitializeWebTier(String configFile)
 Error: The type initializer for 'SWIGExceptionHelper' threw an exception.
 Source: MapGuideDotNetApi
 Stack trace:    at OSGeo.MapGuide.MapGuideApiPINVOKE..cctor()
 Error: Unable to load DLL 'MapGuideUnmanagedApi': The specified procedure
 could not be found. (Exception from HRESULT: 0x8007007F)
 Source: MapGuideDotNetApi
 Stack trace:    at
 OSGeo.MapGuide.MapGuideApiPINVOKE.SWIGExceptionHelper.SWIGRegisterCustomExceptionCallbacks_MapGuideApi(SWIGCustomExceptionDelegate
 customExceptionDelegate)
    at OSGeo.MapGuide.MapGuideApiPINVOKE.SWIGExceptionHelper..cctor()

 It is obviouse that I am missing MapGuideUnmanagedApi.dll to my bin folder
 but this dll doesnt not come with MGE2011 edition.
 Im not sure if the MapGuideApi is trying to call this dll that doesnt
 exist or actually who is calling it.

 Is there someone that could explain to me why this happens, what Im doing
 wrong or is it because the MaestroApi doesnt support the changes that have
 been made to the mapguidedotnetapi in mge2011?

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1466>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list