Here's the situation -
A window service which I am coding uses Linq2Excel, which insist the invoking application to be complied against x86.
However, the window service is to be installed on a 64-bit Windows server.
Using corflags, I am able to get the 32-bit window service to install. However, it'll refuse to load Linq2Excel. Here's the exception in all its glory:
Exception occurs: Could not load file or assembly 'LinqToExcel, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null' or one of its dependencies.
An attempt was made to load a program with an incorrect format.
What is the solution to get this service working? (Changing the server to 32-bit is not going to happen, using Linq2Excel is a must)