I got the same problem. I tried different options and nothing helped. In the end I found in windows registry through regedit history Keil recently opened projects and delete this record. After that, the generation worked fine.Also in C:\Users\%USER_N...