<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I have no idea what the problem is then,<br>
the php and .net dll's should be identical.<br>
<br>
I always put the dll's from the .net folder into the app's bin folder, <br>
so I am certain that the w3p can find them.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Gunter Becker skrev:
<blockquote cite="mid:1265281197215-4512781.post@n2.nabble.com"
type="cite">
<pre wrap="">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:
</pre>
<blockquote type="cite">
<pre wrap="">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:
<a class="moz-txt-link-freetext" href="http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx">http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx</a>
Regards, Kenneth Skovhede, GEOGRAF A/S
On 03-02-2010 10:25, Gunter Becker wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
<a class="moz-txt-link-freetext" href="http://n2.nabble.com/file/n4506237/Exception.jpg">http://n2.nabble.com/file/n4506237/Exception.jpg</a> exception text
(german).
Thanks in advance ,
Gunter
</pre>
</blockquote>
<pre wrap="">_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>