Issue
When compiling a WorkPlace Tech application created and successfully compiled with an earlier version of WPT and Visio, an error message may be displayed indicating an issue with an object in the application. One of the observed errors is noted below:
"Unhandled write error (app name) (object name)"
Environment
WPT 5.6.x
WPT 5.7.x
WPT 5.8.x
Cause
Internal consistency error in the internal application database.
This issue will sometimes occur when the application was created in one version of Visio then updated to a newer version. The actual causes are not fully understood. Because the history of the actual application file is frequently unknown, having been created and modified by various engineers, these issues usually cannot be duplicated.
Prior to WorkPlace Tech Tool version 5.x.x the application database was stored in the WPT project database.
In WPT version 5.x.x, the application database is stored internal to the WPT application drawing Visio file.
Resolution
- Open the application file in the WorkPlace Tech Tool and allow it to be saved in the newer Visio file format, if prompted.
- From the "Application" menu of WPT, select "Rebuild Application"
- Click the [Yes] button to allow the application to be rebuilt.
- A popup window will display the process of the application rebuild. If errors are detected, appropriate steps must be taken to correct them.
-
If you are rebuilding an MNL-800 application and have not previously manually indexed all the Echelon network variables (SNVTs), the SNVT index numbers may change. This change of SNVT index numbers can cause issues with existing network bindings to or from the controller. If some or all SNVTs were not indexed, and they changed as a result of the rebuild, you will need to follow the list of sub-steps listed here.
- Using the WPT Hardware wizard, change the "Controller Program ID" then compile and download the application to the controller
- If the network is managed using LonMaker, perform a "Replace" on the controller object, reading the XIF file from the device.
- If the network is managed by an I/A Series R2 UNC and WorkPlace Pro, you will need to delete the existing device shadow object and re-learn the controller then recommission the device and recommission the Local Lon Device..
- Update any binding links that were changed or moved due to the replacement of the controller shadow object.
- Compile and download the application.
- Rebind all links to the updated controller