ORA-16605: unable to delete template, template is in use

Cause : The Data Guard broker was unable to delete the template because the template is still being used by one or more resources.

Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts

Delete all resources using the template before deleting the template. You cannot delete the database template.

update : 25-04-2017

ORA-16605 - unable to delete template, template is in use
ORA-16605 - unable to delete template, template is in use

  • ora-01010 : invalid OCI operation
  • ora-12682 : Login failed: the SecurID card is in next PRN mode
  • ora-03208 : partitioned type must be specified for a non-composite object
  • ora-25216 : invalid recipient, either NAME or ADDRESS must be specified
  • ora-02270 : no matching unique or primary key for this column-list
  • ora-13354 : incorrect offset in ELEM_INFO_ARRAY
  • ora-16769 : the physical standby database is open read-only
  • ora-16700 : the standby database has diverged from the primary database
  • ora-38439 : invalid operation "string"
  • ora-25315 : unsupported configuration for propagation of buffered messages
  • ora-29265 : HTTP header not found
  • ora-09365 : Windows 3.1 Two-Task driver unable to destroy hidden window
  • ora-01781 : UNRECOVERABLE cannot be specified without AS SELECT
  • ora-28170 : unsupported certificate version
  • ora-36728 : (XSALERR01) While performing the ALLOCATE command with AGGMAP workspace object, the error logging limit of number was exceeded.
  • ora-31507 : %s parameter value longer than maximum length string
  • ora-14603 : [SUBPARTITIONS | SUBPARTITION TEMPLATE] subpartition_count syntax is valid only for range-hash tables
  • ora-29701 : unable to connect to Cluster Manager
  • ora-19646 : cannot change size of datafile string from string to string
  • ora-24436 : Invalid statement Handle.
  • ora-29881 : failed to validate indextype
  • ora-19764 : database id string does not match database id string in control file
  • ora-23612 : unable to find tablespace "string"
  • ora-33447 : (ESDREAD16) Discarding compiled code for workspace object because workspace object and workspace object, which were partition-dependent when the code was compiled, are now not partition-dependent.
  • ora-02479 : error while translating file name for parallel load
  • ora-06793 : TLI Driver: server cannot create new process
  • ora-16505 : site ID is invalid
  • ora-02028 : fetching an exact number of rows is not supported by the server
  • ora-19831 : incompatible string.string.string.string DBMS_BACKUP_RESTORE package: string.string.string.string required
  • ora-06766 : TLI Driver: close failed during release
  • Oracle Database Error Messages

    Oracle Database High Availability Any organization evaluating a database solution for enterprise data must also evaluate the High Availability (HA) capabilities of the database. Data is one of the most critical business assets of an organization. If this data is not available and/or not protected, companies may stand to lose millions of dollars in business downtime as well as negative publicity. Building a highly available data infrastructure is critical to the success of all organizations in today's fast moving economy.

    Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.