Issue
Getting an "Invalid status code: 401 Access Denied" error when doing a "Save Runtime DB" of the localhost or a "Get" to save a remote UNC station to the localhost.
The errors read:
Error when doing a “Save Runtime DB” of localhost station: tridium.nre.net.HttpException: Invalid status code: 401 (Access denied) at tridium.ui.admintool.DbAdminConfigPanel.doRemoteBackup(DbAdminConfigPanel.java:1100) at tridium.ui.admintool.DbAdminConfigPanel$Worker.run(DbAdminConfigPanel.java:1224) Error when doing a “Get” of a remote UNC station: java.io.FileNotFoundException: c:\niagara\r2.301.535\stations\anystation\config.sns (Access is denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(Unknown Source) at java.io.FileOutputStream.(Unknown Source) at tridium.ui.admintool.DbAdminConfigPanel.doOnlineGet(DbAdminConfigPanel.java:848) at tridium.ui.admintool.DbAdminConfigPanel.doGet(DbAdminConfigPanel.java:764) at tridium.ui.admintool.DbAdminConfigPanel$Worker.run(DbAdminConfigPanel.java:1216)
Product Line
TAC IA Series
Environment
- WorkPlace Pro
- ES
- UNC
Cause
Either the username or password, or both, being used are invalid. A valid username and password must be entered to perform a "Save Runtime DB" of the localhost, or a "Get" to save a remote station to the localhost.
Resolution
Use a valid station username and password to perform these functions on the localhost.