Skip to main content

EXE getting error in runtime environment, works in Visual Studio

  • March 31, 2014
  • 3 replies
  • 3 views

Dominique Sacre
Forum|alt.badge.img+2

I am compiling and running this program in Visual Studio 2010, version  2.2. It runs to completion when running with a config file setting the environment variables.


When I move the EXE to the runtime server, I get the error below.

C:\\BAT>c:\\EXE\\CBL620_040
Unhandled Exception: MissingMethodException
Method not found: 'Int32 MicroFocus.COBOL.Program.Reference.GetPointer32(Byte[], Int32, Int32, MicroFocus.COBOL.Program.IObjectControl)'.
 at Int32  CBL620-040.CBL620_040()
 at Int32  CBL620-040._MF_ENTRY()


I have cleared the exe directory out, and moved in new versions, as well as the supporting dlls. I am unsure of how to debug the method that is being thrown.

3 replies

Dominique Sacre
Forum|alt.badge.img+2

I am compiling and running this program in Visual Studio 2010, version  2.2. It runs to completion when running with a config file setting the environment variables.


When I move the EXE to the runtime server, I get the error below.

C:\\BAT>c:\\EXE\\CBL620_040
Unhandled Exception: MissingMethodException
Method not found: 'Int32 MicroFocus.COBOL.Program.Reference.GetPointer32(Byte[], Int32, Int32, MicroFocus.COBOL.Program.IObjectControl)'.
 at Int32  CBL620-040.CBL620_040()
 at Int32  CBL620-040._MF_ENTRY()


I have cleared the exe directory out, and moved in new versions, as well as the supporting dlls. I am unsure of how to debug the method that is being thrown.

While I was posting this, the hardware team upgraded the runtime to the same version, and that seems to have taken care of the problem. At least the program completes now.

Thanks!


Dominique Sacre
Forum|alt.badge.img+2

I am compiling and running this program in Visual Studio 2010, version  2.2. It runs to completion when running with a config file setting the environment variables.


When I move the EXE to the runtime server, I get the error below.

C:\\BAT>c:\\EXE\\CBL620_040
Unhandled Exception: MissingMethodException
Method not found: 'Int32 MicroFocus.COBOL.Program.Reference.GetPointer32(Byte[], Int32, Int32, MicroFocus.COBOL.Program.IObjectControl)'.
 at Int32  CBL620-040.CBL620_040()
 at Int32  CBL620-040._MF_ENTRY()


I have cleared the exe directory out, and moved in new versions, as well as the supporting dlls. I am unsure of how to debug the method that is being thrown.

While I was posting this, the hardware team upgraded the runtime to the same version, and that seems to have taken care of the problem. At least the program completes now.

Thanks!


Dominique Sacre
Forum|alt.badge.img+2

I am compiling and running this program in Visual Studio 2010, version  2.2. It runs to completion when running with a config file setting the environment variables.


When I move the EXE to the runtime server, I get the error below.

C:\\BAT>c:\\EXE\\CBL620_040
Unhandled Exception: MissingMethodException
Method not found: 'Int32 MicroFocus.COBOL.Program.Reference.GetPointer32(Byte[], Int32, Int32, MicroFocus.COBOL.Program.IObjectControl)'.
 at Int32  CBL620-040.CBL620_040()
 at Int32  CBL620-040._MF_ENTRY()


I have cleared the exe directory out, and moved in new versions, as well as the supporting dlls. I am unsure of how to debug the method that is being thrown.

While I was posting this, the hardware team upgraded the runtime to the same version, and that seems to have taken care of the problem. At least the program completes now.

Thanks!