[mapguide-users] Cannot find webunmangedapi

Jackie Ng jumpinjackie at gmail.com
Wed May 7 04:57:53 PDT 2025


This is most strange. When loading any of the OSGeo.MapGuide dlls, the
first place Windows tries to find the *UnmanagedApi.dll files is generally
the same directory.

I would be interested to know what directories it's trying (and failing) to
load these UnmanagedApi.dll files from. You could try using a tool like
Process Monitor and attach to the IIS process (I think it's w3wp.exe) and
listen on filesystem events and see all the failed attempts to read any of
the UnmanagedApi.dll files to see what paths it's trying to load these dlls
from.

A possible nuclear solution is to edit your PATH environment variable and
explicitly add in your expected directory. Windows should honor this
variable when looking for dlls. But this should be the last resort because
as already stated Windows should've looked in the directory with the
OSGeo.MapGuide dlls first

- Jackie

You wrote:

Hi,

Any idea why this is happening? im getting an error the webunmanageapi.dll
cannot be found. But its on the folder.. Funny thing is, this use to work
before, then i made changes and deployed my stuff (.net dll).. then this
came out.. now the only way i get around with this is i copy back the old
dll i have and put the new ones. But when i restart the pool this error
goes back again and i have to do the same cycle again, copy my old dll(.net
codes)

any help?

thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20250507/737c1a2a/attachment.htm>


More information about the mapguide-users mailing list