Ok, I tried using ProcessMonitor and I got a hint that the w3wp process is looking for the MapGuideUnmanagedApi.dll in different locations. At least the dll is found in the path "C:\Program Files\OSGeo\MapGuide\Web\PHP". All the other referenced dll's also were found in this folder and loaded sucessfully. I can see no error!
By the way, I realized that the path "C:\Program Files\OSGeo\MapGuide\Web\www\mapviewernet\bin" is missing in environment variables on this MapGuide-installation. But this seems to take no effect since all the dll were found in the PHP folder. Maybe this is an installer issue with this specific operating system: "Windows Server 2008 Enterprise". Gunter Kenneth Skovhede, GEOGRAF A/S wrote: > > Ok, it was as I suspected then. > You correctly load the MapGuideDotNetApi.dll, but it cannot call > MapGuideUnmanagedApi.dll. > The error message 0x8007007F seems to indicate that the dll itself was > found, but it is missing a method. > I'm unsure if the "missing method"-error means that the dll itself is > broken, or the method is simply missing. > > Try using a tool such as "Process Monitor" to see what dll files it is > actually reading: > http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx > > Regards, Kenneth Skovhede, GEOGRAF A/S > > On 03-02-2010 10:25, Gunter Becker wrote: >> The InnerException is: >> >> 'The type initializer for 'SWIGExceptionHelper' threw an exception' >> >> The InnerException of this Exception sounds a little bit weird (it's in >> german but I try to translate): >> >> 'The DLL "MapGuideUnmanagedApi": procedure could not be found. (Exception >> from HRESULT: 0x8007007F) cannot be loaded.' >> >> Please take a look at this screenshot to see the original >> http://n2.nabble.com/file/n4506237/Exception.jpg exception text >> (german). >> >> Thanks in advance , >> >> Gunter >> >> > _______________________________________________ > mapguide-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://n2.nabble.com/MapGuideApiPINVOKE-tp4478803p4512781.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
