Entry type: FAQ, Entry ID: 8718667, Entry date: 01/10/2006
(0)
Rate

How can you clear the error message "Abnormal Program Termination"?

  • Entry
  • Associated product(s)

Instructions:
The error message described above:

    "Abnormal Program Termination"

is complemented by a second message text that refers to a server, driver and/or also a file. The table below describes a number of examples and remedies for the Runtime error that might occur in combination with the message described above and which can be cleared.
 

No. Procedure
1 When installation of the SIMATIC STEP 7 software is aborted with the error message "Abnormal Program Termination" and the message:
  • Runtime Error!
    Program: D:\Siemens\STEP7\s7bin\S7ALIBXX.EXE,

the reasons are the following:

  • You do not have access rights to the TEMP directory or
  • The TEMP directory is not available.

Remedy:
Set up the TEMP directory in the system root directory (e.g. directly under C:\) so that every user on this computer has full access rights to that directory.

Note:
For the installation of STEP 7 you need local administrator rights.

2 If when you open the hardware catalog or when you save and compile the hardware configuration the error message "Abnormal Program Termination" is displayed together with the message:
  • Runtime Error!
    Program: C:\Program Files\Siemens\STEP7\s7bin\S7HWCNFX.EXE,

then the reason for the behavior described might be the incorporation or installation of a third-party GSD file (e.g. syntax error in the third-party GSD file).

Remedy:
Close the hardware catalog and terminate STEP 7. Delete in the Explorer under

  •  <Drive>:\SIEMENS\STEP7\S7DATA\GSD

all files with the ending ".xml" (example as in Fig. 01). Then when you restart STEP 7 and open the hardware configuration, you can open the hardware catalog again.


Fig. 01
3 If the remedies described above do not help and the error message "Abnormal Program Termination" is displayed again, then install STEP 7 again.
  • Insert the STEP 7 CD into the CD-ROM drive and start the Setup by double-clicking on the "setup.exe" file. 
  • In the installation menu that opens you select the "Repair" function and then follow the installation program instructions step by step. 
  • The program guides you step by step through the installation process. Then you must reboot your PC.

This method should also be selected when the error message described above keeps being displayed sporadically.

Keywords:
Setup, Program termination