Could not load file or assembly 'GMap.NET.Core' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Posted by Sam M on Stack Overflow See other posts from Stack Overflow or by Sam M
Published on 2012-09-08T09:34:07Z Indexed on 2012/09/08 9:38 UTC
Read the original article Hit count: 472

I have a wcf Service application in VS2010.My local machine is a 32 bit OS where as the server is a 64 bit. There are around 6 services in my solution. Im successfully able to host the application on IIS on my local machine.And it works fine. But when i try host that service application on Server i gets the below error

Could not load file or assembly 'GMap.NET.Core' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I do have reference added in my solution for GMap.NET.Core .

I have tried to set the properties in my solution to Any CPU . Also in the application pool i have set the Enable 32-Bit Application to True. i have also set the Copy Local to TRUE in my solution before publishing. When i run the source on through my solution i dont get any error and the solution is built successfully.

What else can i try to get my services successfully hosted on the Server and should be accessed through my application. Error due to GMap.NET.Core

© Stack Overflow or respective owner

Related posts about asp.net-mvc-3

Related posts about wcf