I have no idea what the problem is then,
the php and .net dll's should be identical.
I always put the dll's from the .net folder into the app's bin folder,
so I am certain that the w3p can find them.
Regards, Kenneth Skovhede, GEOGRAF A/S
Gunter Becker skrev:
Ok, I tried using ProcessMonitor
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 suce
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
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)
Not sure why Signer.exe fails, but are you sure you can run corflags.exe
and ildasm.exe from the command prompt?
Could you examine if the "InnerException" holds more info:
http://dotnetperls.com/typeinitializationexception
The fact that the error message mentions "MapGuideApiPINVOKE" makes me
Kenneth, thanks for your reply.
No, I don't think so because I tested it on another Windows Server 2008 /
32Bit and it works well.
Next thing I tried was to use your signed MapGuideDotNetAPI.dll you posted
some days ago. This also doesn't work. And then I tried to sign the
MapGuideDotNetAPI.dll