Consultor Eletrônico



Kbase P125260: Error 7203 when running .NET Open Client on 64-bit environment
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/8/2010
Status: Verified

SYMPTOM(s):

Error 7203 when running .NET Open Client on 64-bit environment

Could not connect to the AppServer: <message text>. (7203)

Exception:SessionPool : NoAvailableSessions[Could not connect to the AppServer: General Error: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1). (7203) ]

Trace:Progress.Open4GL.DynamicAPI.SessionPool+NoAvailableSessionsException: SessionPool : NoAvailableSessions[Could not connect to the AppServer: General Error: is not a valid Win32 application

FACT(s) (Environment):

Calling the .NET proxy from a .NET application
Using .NET 2.0 Framework
OpenEdge 10.1x
Windows 64-bit

CAUSE:

The .NET application has been compiled with the 'Any CPU' Compiler option. It needs to be compiled with the 32-bit compiler option.

FIX:

For ASP.NET 2.0, run as a 32-bit application instead of 64-bit.

For further information about how to switch to 32-bit version of ASP.NET, check http://support.microsoft.com/kb/894435


For a Windows Forms .NET application, set the /platform:x86 option for the compiler in the .NET project instead of 'Any CPU'.
For further information about how to set this compiler option in the Visual Studio environment, check the following MSDN article:
http://msdn.microsoft.com/en-us/library/zekwfyz4(VS.80).aspx