Issue
When saving a Plain English program, Continuum shows error messages and cannot save the PE program. 'Error: Unable to lock an object because it is already locked', or 'Unable to find an object in the database'
Environment
- Continuum system
- Plain English program
Cause
- FiringOrder attribute of the controller (or the workstation) is editlocked
- PE is not registered in the FiringOrder attribute of the controller (or the workstation).
Resolution
-
When saving a PE program, Continuum gets error of 'Error: Unable to lock an object because it is already locked' followed by 'Error Text Undefined [TBD 0xc2ff1410]'.
- This happens when the FiringOrder attribute of the controller (or the workstation) is editlocked. Unlocking the FiringOrder (Set CXName\FiringOrder Editlock = False) will fix the problem.
-
When saving a PE program, Continuum gets error of 'Unable to find an object in the database'.
- This happens when the PE is not registered in the FiringOrder attribute of the controller (or the workstation). In order to Verify, open the program in the PE editor, right click inside the program, select the Firing Order, check if the program is listed on the Member List page. In order to fix the issue, verify the FiringOrder Editlock is false (ie, print CXName FiringOrder Editlock), export the PE program to a dump file, delete the PE program, import the dump file of the PE program back to the controller (or, create a new program and copy the source code from the dump file.).