Runtime error !

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Avatar
Topic author
gironde M
Posts: 913
Joined: 16.12.2016
Age: 73
With us: 9 years 1 month
Location: Montigny-Les-Metz, France

Runtime error !

Post #1by gironde » 25.06.2025, 14:50

I have had this error message several times since using Celestia:
"Runtime error !
this application has request the Runtime to terminate it in a unsual way"

This often happens after Windows updates.
And here is what I managed to do to unblock the situation


You can run the DISM tool to scan your Windows system (which will rule out a corrupted system).

To do this:

1. Right-click on Start and select Command Prompt (Admin).
(In Windows 11, press Windows key + Q, type CMD and press Shift + Ctrl + Enter,
or Windows key + "X" and click "Command Prompt (Admin)")
2. Type the following commands. Press Enter after each command:

DISM.exe /Online /Cleanup-image /Scanhealth

DISM.exe /Online /Cleanup-image /Checkhealth

DISM.exe /Online /Cleanup-image /Restorehealth

I also recommend running the SFC scan, which identifies corrupted files and repairs them automatically.
To run the SFC /SCANNOW command in Windows 10:

Right-click on the Start menu. Left-click on Command Prompt (Admin), which will allow you to launch the tool with administrator rights.

The Command Prompt window will appear.

Type: SFC /SCANNOW and press Enter.

Finally, restart your PC.

Avatar
John Van Vliet
Posts: 2958
Joined: 28.08.2002
With us: 23 years 4 months

Post #2by John Van Vliet » 26.06.2025, 21:14

as a NON microsoft user
from what i have read

If celestia is installed in " Program Files" there might be problems
installing to C:\\Celestia might solve many issues

Avatar
Topic author
gironde M
Posts: 913
Joined: 16.12.2016
Age: 73
With us: 9 years 1 month
Location: Montigny-Les-Metz, France

Post #3by gironde » 27.06.2025, 08:09

I've always installed in
C:\Program Files\Celestia 1.6.4 for 64-bit (1.6.4)
and C:\Program Files (x86)\Celestia 1.6.1 for 32-bit (1.6.1).
All common files and those that can be moved with modifications to celestia.cfg are in a Celestia Add folder on another drive (.dat, extras, lua-applications, etc., and everything else I use for both versions).

I've never noticed any problems because of this.
Now, what I explained in the previous post is not exclusive. Other reasons can trigger the Runtime error, including errors in the ssc, stc, dcs, and lua files.
After checking your addon files, check your system files. If you're copying and pasting add-ons, be aware that invisible HTML characters can disrupt your work. We've already seen this with 'Croc', where invisible characters in text editors were appearing in Excel.


Return to “Help Central”