Skip to main content
Question

License expired or different problem

  • July 18, 2026
  • 6 replies
  • 55 views

Paul Richards
Forum|alt.badge.img+2

Running Visual Studio 2022 Community Edition and Visual Cobol Personal Edition. Fired up Visual Studio and tried to open one of my solutions. Received  the attached errors. All the programs in Solution Explorer were marked ‘Incompatible’.  I’m unsure as to whether this means my license has expired or whether it is a different problem.

Please see attached.

TIA

6 replies

Chris Glazier
Forum|alt.badge.img+4

Hi Paul,

 

This error means that the Visual COBOL extension is no longer installed into Visual Studio. What Visual COBOL version are you using?

There was a problem with Visual Studio 2022 when upgrading to version 17.13.4 or higher that broke the Visual COBOL installation.

There is a KB that covers how to fix this which I will include below but I would recommend downloading the Visual COBOL PE 11.0 version that is available on the PE download website. There are now 2 installers, one for Visual Studio 2022 and one for VS2026 because it is hard to get VS2022 anymore.

 

The KB article is as follows:

This issue is resolved with the following Patch Updates:

  • Patch Update 24 for Visual COBOL 8.0
  • Patch Update 18 for Visual COBOL 9.0
  • Patch Update 8 for Visual COBOL 10.0

It is possible to continue using the previous Patch Update levels by rolling back to a previous version of Visual Studio 2022 that worked. This can be done by:

  1. Launching Visual Studio Installer
  2. Clicking More for Visual Studio 2022
  3. Clicking Rollback to previous version

There is another workaround, but it requires a caution to follow each step:

  1. Close all instances of the Visual Studio 2022 IDE
  2. Open Developer Command Prompt for VS 2022
  3. Issue these commands to determine the location of the PkgDef file of the COBOL extension (i.e. CBLPRJ.PKGDEF):
    CD %DEVENVDIR%\EXTENSIONS
    DIR CBLPRJ.PKGDEF /S
  4. Note the last command will return the location where CBLPRJ.PKGDEF is located. Here is an example:
    Directory of C:\Program Files\Microsoft Visual Studio\2022\XXXX\Common7\IDE\Extensions\YYYY
    where XXXX is the edition of Visual Studio 2022 (e.g. Community, Professional, etc.)
    where YYYY is a random string as the name of the subfolder where CBLPRJ.PKGDEF is located
  5. Issue this command to change directory to the subfolder where CBLPRJ.PKGDEF is located:
     
    CD YYYY
    where YYYY is the name of the subfolder identified from previous step
  6. Issue this command to edit CBLPRJ.PKGDEF in Notepad:
    NOTEPAD CBLPRJ.PKGDEF
  7. Search for the following line and delete it:
    "TemplatesDir"="\\"
  8. Search for the same line a second time and delete it
  9. Search for the following line and delete it:
    "TemplatesDir"="\.\NullPath"
  10. Click File > Save
  11. Close Notepad
  12. Issue this command to apply the changes to the COBOL extension in Visual Studio:
    DEVENV /UPDATECONFIGURATION
  13. Close the command prompt
  14. Launch Visual Studio

Paul Richards
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • July 22, 2026

Chris

My details are:

Visual Studio Community 2022 (64 bit)
Current Version 17.14.36

Micro Focus COBOL Version 10.0

I cannot download from the ‘Visual COBOL Personal Edition Free Download’ page. I raised this issue with Rocket Software several months ago but to no avail ( Case: 01168586). In the box on the first page under ‘Download Today’ I just get 3 dots oscillating slowly. I therefor ecannot download PE 11.0

 


Chris Glazier
Forum|alt.badge.img+4

Hi Paul,

Is this the link you used?

Rocket® Visual COBOL® Personal Edition (formerly a Micro Focus® product) | Rocket® Software

I just tried it here and it worked fine for me.

I used Edge as my browser.


Paul Richards
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • July 29, 2026

Chris

My default browser is Thunderbird. I also tried Google Chrome which was also unsuccessful. So I reluctantly installed Edge, which was successful. Having submitted my details (name, email etc) I am now waiting for someone to contact me “ Your message has been submitted, and a member of our team will reply to you shortly. Thank you!”.

Hope that’s not too long!


Paul Richards
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • July 29, 2026

Sorry my default browser is Firefox 🙄


Paul Richards
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • July 30, 2026

Chris

OK, updated VC and VS. Thanks for your help.