Restriction: This applies to .NET managed COBOL only.
The startup object for your project is specified incorrectly or the main program in the project does not contain a static method.
Resolution:
Do not use the Startup object in the
Application properties page to set the main program. The startup object must be the first static method in a class specified using the ILMAIN directive.