Skip to main content

LoadEntity invoke failed on create object statement

  • March 4, 2011
  • 4 replies
  • 0 views

[Migrated content. Thread originally posted on 03 March 2011]

I have a dll created on .net framewrok 3.5. im running auccobol v7.21. on the following statement;
REATE "@StgProxy"
NAMESPACE IS "StgProxy"
CLASS-NAME IS "WebSvc"
HANDLE IS StgProxy-Handle.
i get the error message LoadEntity invoke failed.

Any clues?

thanks

Woody

4 replies

[Migrated content. Thread originally posted on 03 March 2011]

I have a dll created on .net framewrok 3.5. im running auccobol v7.21. on the following statement;
REATE "@StgProxy"
NAMESPACE IS "StgProxy"
CLASS-NAME IS "WebSvc"
HANDLE IS StgProxy-Handle.
i get the error message LoadEntity invoke failed.

Any clues?

thanks

Woody
Is the object registered in GAC? (using regasm.exe)

[Migrated content. Thread originally posted on 03 March 2011]

I have a dll created on .net framewrok 3.5. im running auccobol v7.21. on the following statement;
REATE "@StgProxy"
NAMESPACE IS "StgProxy"
CLASS-NAME IS "WebSvc"
HANDLE IS StgProxy-Handle.
i get the error message LoadEntity invoke failed.

Any clues?

thanks

Woody
Is the object registered in GAC? (using regasm.exe)

[Migrated content. Thread originally posted on 03 March 2011]

I have a dll created on .net framewrok 3.5. im running auccobol v7.21. on the following statement;
REATE "@StgProxy"
NAMESPACE IS "StgProxy"
CLASS-NAME IS "WebSvc"
HANDLE IS StgProxy-Handle.
i get the error message LoadEntity invoke failed.

Any clues?

thanks

Woody
You need to register the assembly using:
regasm your_assembly.dll /codebase

"regasm" can be found in the WINDOWS\\Microsoft.NET folder.

Then you need to start Marshal:

Marshal /regserver

"Marshall" can be found in your Acucobol BIN folder.

Hope that help,

Paul

[Migrated content. Thread originally posted on 03 March 2011]

I have a dll created on .net framewrok 3.5. im running auccobol v7.21. on the following statement;
REATE "@StgProxy"
NAMESPACE IS "StgProxy"
CLASS-NAME IS "WebSvc"
HANDLE IS StgProxy-Handle.
i get the error message LoadEntity invoke failed.

Any clues?

thanks

Woody
You need to register the assembly using:
regasm your_assembly.dll /codebase

"regasm" can be found in the WINDOWS\\Microsoft.NET folder.

Then you need to start Marshal:

Marshal /regserver

"Marshall" can be found in your Acucobol BIN folder.

Hope that help,

Paul