Home > there was an error running the selected code generator

How to fix the error "There was an error running the selected code generator"?

Alton Alexander
By Alton AlexanderUpdated on June 4th, 2022

If there is an error running the selected code generator, it is likely that the code generator is not compatible with the selected programming language. This error code happens because the code generator is not able to generate code for the selected programming language.

1. Check the code generator's documentation for any troubleshooting tips

The steps to Check the code generator's documentation for any troubleshooting tips in order to fix there was an error running the selected code generator are as follows:

  1. Open the "Code Generation" dialog box.
  2. Select the code generator you're using from the drop-down list.
  3. Click the "Documentation" button.
  4. Review the "Code Generation" dialog box's contents.
  5. If you spot any errors or troubleshooting tips, take note of them and try to fix them.

2. If using an online code generator, check for updates or try a different one

If using an online code generator, check for updates or try a different one in order to fix there was an error running the selected code generator:

  • Go to the code generator's website and click on the "Update" link on the tool's home page
  • If there is an update available, the tool will automatically download and install it
  • If there is no update available, the tool will prompt you to install one
  • Once the update is installed, reload the tool and try running the code generator again

3. If the code generator is part of a larger development environment, check for updates to the entire environment

If the code generator is part of a larger development environment, check for updates to the entire environment in order to fix there was an error running the selected code generator.

If the answers above didn't work then you should also try:

  1. Try running the code generator on a different computer.
  2. Contact the code generator's developer for help.