Highlighted
Absent Member.
Absent Member.
1162 views

Migration Query from NET Express to Visual COBOL

Jump to solution

Hi 

We have an ABC.EXE component build in Net Express 5.1.

It contains 10 programs. Out of them 9 programs are Native Procedural program. They are reading files and updating the files.

One program(NETCall) build with +OOCTRL(+p) compiler directive and it is calling an .NET 4.5 DLL, To make database entry.

We are trying to migrate the whole component in to VIsual COBOL by creating an Native - Console Project.

While building the solution ,we are getting errors in NETCAL program at various places like creating an object of .NET class and calling the .NET method.

We are not able to resolve this error. Please let us know how we can solve this problem.

Thanks 

Charan

0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.
Absent Member.

Chris,

This is working now. We have first registered the .NET dll. Then in DCOMCNFG - COM+ Component services, We have changed the property of Identify section by adding our user credentials.

So it started working. Able to call the .NET class and Methods.

Thanks

Charan

View solution in original post

0 Likes
2 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

The important information here would be the actual error messages that you are receiving and you left that part out.

Can you please provide me with that information and show me the source line that relates to the error you are receiving?

Thanks.

0 Likes
Highlighted
Absent Member.
Absent Member.

Chris,

This is working now. We have first registered the .NET dll. Then in DCOMCNFG - COM+ Component services, We have changed the property of Identify section by adding our user credentials.

So it started working. Able to call the .NET class and Methods.

Thanks

Charan

View solution in original post

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.