If you're facing this error when trying to Forward Engineer in 9.8, or get the error 'unexpected error occurred loading the template', please do the following:
- Open Registry Editor.
- Click on HKEY_CURRENT_USER.
- Click on Software.
- Click erwin -> Data Modeler ->9.8 ->File Locations.
- In file Locations check FE Templates Path. Please select the correct location to the Template files. They're usually under C:\ProgramData\erwin\Data Modeler\9.8\Templates