Oracle Error ORA-16160: Cannot change protected standby database configuration

Oracle Error Message

ORA-16160: Cannot change protected standby database configuration

Reason for the Error

An attempt was made to change the standby database configuration when the primary database is in standby protected mode.

Solution

The standby database must be added to the configuration before the primary database is opened.