How to restore the LNS Global Database to its original empty state (KB1010)

If you have problem with your global database files - for example, the error ERROR opening LCA Global database Database error. (Subsystem: LNS, #25)[DB #-2262] is raised- you might need to restore the global database to its original state.

1/A backup empty copy is located in the \Lonworks\ObjectServer\BackupDb folder.

 2/Remove the objects.idx and objects.dat files and the recovery folder from the Lonworks\ObjectServer\Globaldb directory. With OpenLNS, this might be located in the Users folder as in C:\Users\Public\Documents\LonWorks\ObjectServer.

 3/Copy the contents of the BackupDb folder into the GlobalDb folder.


This should restore a working empty global DB. You will then have to re-import the networks into the LNS global database. This can be done with your third party LNS application, LonMaker, or the LNS Object Browser.


In LonMaker, select the "Import..." button from the LonMaker Design Manager.

With the LNS Object Browser, use the Networks::Add method.





Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Powered by Zendesk