[mapguide-users] Re: Compile Error: An attempt was made to load a program with an incorrect format.

Jackie Ng jumpinjackie at gmail.com
Wed Mar 9 19:35:00 EST 2011


It is definitely a 32/64 bit mismatch. 

Check the following:
 - The bitness of the MapGuideDotNetApi and OSGeo.MapGuide dlls using
corflags.exe (this should be 64-bit already for the x64 installer)
 - The bitness of any third party .net libraries 
 - The bitness of the mapguide virtual directory and its child directories
in IIS. I can't locate the setting for you but there is a flag that tells
the web application to run as a 32-bit or 64-bit web application.

All should be 64-bit (and/or Any CPU for .net dependencies)

- Jackie

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Compile-Error-An-attempt-was-made-to-load-a-program-with-an-incorrect-format-tp6153978p6156138.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list