Salesforce

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

Information

 
TitleError 7203 when running .NET Open Client on 64-bit environment
URL NameP125260
Article Number000128047
EnvironmentProduct: OpenEdge
Version: 10.1x, 10.2x
OS: Windows
Windows 64-bit
Question/Problem Description
Error 7203 when running .NET Open Client on 64-bit environment
 
Steps to Reproduce
Clarifying Information
Calling the .NET proxy from a .NET application
Using .NET 2.0 Framework
Error MessageCould 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
Defect Number
Enhancement Number
Cause
The .NET application has been compiled with the 'Any CPU' Compiler option. It needs to be compiled with the 32-bit compiler option.

Part of the .NET Open Client runtime libraries are 32 bit native code in OpenEdge 10.x and cannot be run as a 64-bit application.
Resolution
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

 
Workaround
Notes
Keyword Phrase
Last Modified Date9/29/2015 5:09 PM

Powered by