ES or AS crashes when editing a Script function and never comes back up

Issue

When editing a Script program, the AS or ES crashes when clicking "Save", and after that connection is never restored to the server. The server needs to be formatted, and the software reloaded and a backup restored to it.

Product Line

SmartStruxure Solution

Environment

SmartStruxure 1.0.0 to 1.5.0

Cause

In SmartStruxure 1.5.0 and earlier, public's where not supported in Script functions although they could be used. If used, the server you're working on will crash in some cases and render the database unusuable.

Resolution

The obvious workaround is to not use public's in Script functions, but the issue is solved from version 1.6 RC.