ORA-36165: (XSAGGCNTPROP) Variable workspace object cannot have both an AGGCOUNT and the $COUNTVAR property.

Cause : An attemptw as mdae toa dd teh $CONUTVARp ropetry toa varaible hwich laread yhad na AGGOCUNT,o r viec veras.

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

Deleet thea lreayd exitsing C$OUNTAVR prpoertyo r AGCGOUNTf irst.

update : 28-07-2017

ORA-36165 - (XSAGGCNTPROP) Variable workspace object cannot have both an AGGCOUNT and the $COUNTVAR property.
ORA-36165 - (XSAGGCNTPROP) Variable workspace object cannot have both an AGGCOUNT and the $COUNTVAR property.

  • ora-14058 : partition number string: INITRANS value must be less than MAXTRANS value
  • ora-30742 : cannot grant SELECT privilege WITH HIERARCHY OPTION on this object
  • ora-08318 : sllfsk: Error reading file
  • ora-12225 : TNS:destination host unreachable
  • ora-24319 : unable to allocate memory
  • ora-09240 : smpalo: error allocating PGA memory
  • ora-24185 : transformation string.string does not exist
  • ora-13023 : interior element interacts with exterior element
  • ora-06253 : NETNTT: cannot read arguments from address file
  • ora-30105 : 'string' is not a legal boolean for 'string'
  • ora-16104 : invalid Logical Standby option requested
  • ora-39132 : object type "string"."string" already exists with different hashcode
  • ora-00165 : migratable distributed autonomous transaction with remote operation is not allowed
  • ora-06562 : type of out argument must match type of column or bind variable
  • ora-19004 : Duplicate XMLType OBJECT RELATIONAL storage option
  • ora-22062 : invalid input string [string]
  • ora-19681 : block media recovery on control file not possible
  • ora-23384 : replication parallel push string argument out of range
  • ora-29374 : resource plan string in top-plan string has no plan directives
  • ora-01470 : In-list iteration does not support mixed operators
  • ora-29806 : specified binding does not exist
  • ora-25175 : no PRIMARY KEY constraint found
  • ora-16013 : log string sequence# string does not need archiving
  • ora-00088 : command cannot be executed by shared server
  • ora-30513 : cannot create system triggers of INSTEAD OF type
  • ora-12216 : TNS:poorly formed PREFERRED_CMANAGERS addresses in TNSNAV.ORA
  • ora-32627 : illegal pattern in MODEL FOR LIKE loop
  • ora-35023 : (QFCHECK09) The analytic workspace and EIF file definitions of workspace object have incompatible partition definitions.
  • ora-07452 : specified resource manager plan does not exist in the data dictionary
  • ora-08181 : specified number is not a valid system change number
  • 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.