Thanks Jackie.
I found the problem when you mentioned about the Path. i saw my code on my 
dev(global.asax) that i was pointing my ini on my local folder, then ofcourse 
on the prod machine it will be diff. after i removed that it worked perfectly 
fine now.
Thanks again for the help    On Wednesday 7 May 2025 at 07:58:08 GMT-4, Jackie 
Ng via mapguide-users <[email protected]> wrote:  
 
 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_______________________________________________
mapguide-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapguide-users
  
_______________________________________________
mapguide-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to