You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by Mini Kodjo <mi...@gmail.com> on 2010/03/19 21:58:27 UTC

log4net and X64 servers

Hello,
I meet the *BadImageFormatException *exception when I run my website on a
x64 server.

It is caused by log4net and its DllImport of 32bits libraries
(like netapi32.dll)

I tried to force X86 building my project with the x86 target platform but it
didn't work, then I tried to build log4net itself with the x86 platform
option, without success...

How Can I solve it??!!

The server is a Win2008 R2

Thank you for your help!

*
*--
Cordialement

Alexandre Codjovi
06 38 43 88 06
alexandre@codjovi.fr