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

Jason Birch jason at jasonbirch.com
Wed Mar 9 20:39:26 EST 2011

I believe that the bitness (heh) is set in the app pool's advanced
properties... off the top of my head...

On 2011-03-09, Jackie Ng <jumpinjackie at gmail.com> wrote:
> 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.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users

More information about the mapguide-users mailing list