Consultor Eletrônico



Kbase P133126: Proxy Gen shows badimageformatexception on Win 64 bit
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   24/10/2008
Status: Verified

SYMPTOM(s):

Proxy Gen shows badimageformatexception on Win 64 bit

Error message is displayed:
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
FATAL ERROR on Application load

Error returned when installing cdimage ->3party\DOTNETFX\ENG\DOTNETFX.EXE is ?This product is not supported on a 64-bit operating system. Setup will now exit.?

FACT(s) (Environment):

Windows 64-bit
OpenEdge 10.1x

CAUSE:

Bug# OE00166406

CAUSE:

The 32BIT flag is not set on the ProxyGen.exe executable.

FIX:

Upgrade to 10.1C02 or later.

If upgrading is not an option and .NET 2.0 32-bit is installed on the machine, as a workaround, the 32BIT flag can be set on the proxygen.exe executable.

1- Make sure the .NET 2.0 SDK is installed on the machine.
2- Run the coreflags tool in order to set the 32BIT flag:
C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0>corflags /32BIT+ [Progess-install-dir]\dotnet\bin\ProxyGen.exe

When running the corflags tool, ensure that the Proxygen is not running otherwise the 32BIT flag will not be set.

Warning:
There is no 64-bit support for the .NET Open client in OpenEdge 10.1x.