views:

14

answers:

2

Platform WinServer 2008 R2

32 Bit Version of Service. 32 bit Instalutil works OK

Took service and components upto Framework 4 and 64 bit.

64 bit InstalUtil complains Could not load file 'Path' An attempt was made to load a program with an incorrect format ..

Any thoughts?

A: 

It looks like you've compiled your application as "x86" instead of "x64" (or "Any CPU"). On the project properties, under the "Build" tab, check that "Platform target" is set to "Any CPU" or "x64".

Visual Studio 2010, by default, sets the target to x86.

Dean Harding
A: 

Double Checked. I take it that 'Any CPU' option for the exe and the DLLs should be all that's involved. Is there any tool that will allow me to analyze the problem? Thanks Bob

Bob Clegg