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

2011-03-10 Thread airfiol
I did another test. I created a new web site (on IIS7) and only added references to the OSGeo libraries and no code at all. I received the same error. So, thinking that it may be a trust issue, I attempted to add the OSGeo libraries to the GAC. using the .Net Framework 2.0 Configuration tool ( here

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

2011-03-10 Thread airfiol
I'm Running Windows 7 Enterprise 64 bit as development environment. BTW, The app is running on ASP.Net Development Server, not IIS. -- 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-tp6153978p61

[mapguide-users] RE: MGE performance. It's soooooo Slllllllooooooowwww

2011-03-10 Thread frosty1_4me
Just to follow up a little more with this issue. Another huge performance gain we just realized was after we changed the order in which some of our code functions were firing. The biggest gain we seen was on the highlight function we have in place on our site. When searching on objects in the

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

2011-03-10 Thread Trevor Wekel
I checked a 64 bit install of MapGuide 2.2. The output below does indicate 64 bit .Net dlls. Just as a side note, a 32 bit OS will not be able to load/execute a 64 bit web extensions build due to 64bit C++ dll dependencies. Regards, Trevor ___ mapgui

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

2011-03-10 Thread airfiol
The web application project is set to compile as a 64 bit application and the AppPool is set to use DotNet 2.0 and "Enable 32 bit applications = False. The error is occuring when I attempt to compile. Unless I'm mistaken, IIS settings don't come into play until after the application compiles suc

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

2011-03-10 Thread Dave Wilson
You can't mix 32 and 64 bit apps together under IIS, at least under the same app pool. I'm less sure of apache. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jason Birch Sent: Wednesday, March 09, 2011 6