Highlighted
Absent Member.
Absent Member.
445 views

LoadEntity invoke failed on create object statement

[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
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

RE: LoadEntity invoke failed on create object statement

Is the object registered in GAC? (using regasm.exe)
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: LoadEntity invoke failed on create object statement

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
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.