Troubleshooting
Problem
User clicks "Maintain - Company Structure - Calculate Ownership Relations". User clicks 'Run'. An error appears. This only occurs when the settings inside 'Consolidation Types - Define' is set to 'Automatic'. In other words, if the end user clicks "Maintain - Company Structure - Consolidation Types - Define", and then chooses the relevant code (for example "LE") and changes it to 'Manual', then it works OK.
Symptom
Standard Error
Number: 5
Source: FrangoDirect.GenCompStrucD.GenKStruc#System.Web.Services
Description: Server was unable to process request. ---> The statement has been terminated.
Cannot insert duplicate key row in object 'dbo.#Ff83998f' with unique index 'IDX_#Ff83998f'. The duplicate key value is (-1, -1).
at Microsoft.VisualBasic.ErrObject.Raise(Int32 Number, Object Source, Object Description, Object HelpFile, Object HelpContext)
at Cognos.Controller.Common.RaiseErrCli.RaiseError(Int32 lErrNo, String sErrSource, String sErrDesc, String sErrHelpFile, Int32 lErrHelpContext)
at Cognos.Controller.Common.RaiseErrCli.RaiseError(Int32 lErrNo, String sErrSource, String sErrDesc)
at Cognos.Controller.Direct.GenCompStrucD.GenKStruc(String sConsTyp, String sFirstPer, Boolean bOnlyManual, Boolean& bErr, Int64& lErr)
at Cognos.Controller.Forms.Form.frmGenCompStruc.DoGenKStruc(GenCompStrucD oGenCompStruct, String sConsType, String sFirstPer, Boolean bOnlyManual, Boolean& bErr, Int64& lErr)
at Cognos.Controller.Forms.Form.frmGenCompStruc.IRun_DoRun()
Log InLog in to view more of this document
Was this topic helpful?
Document Information
More support for:
IBM Cognos Controller
Software version:
10.2.1
Operating system(s):
Windows
Document number:
529119
Modified date:
08 May 2025
UID
swg21959694