Troubleshooting
Problem
User performs a task (for example clicks "Maintain - Rights - Users"). User makes a change.
User presses 'Save'. An error appears.
Symptom
The error will vary depending on the environment/version. Some examples are below:
Example #1:
Standard Error
Number: 5
Source: ControllerProxyClient.ISetCacheT_InsertRecords......frm.SecurityGroups.PerformeS ave
Description: System.Web.Services.Protocols.SoapException: Server was unable to process request.--->
System.Runtime.InteropServices.COMException (0x80004005): Subquery returned more than 1 value. This is not permitted
when the subquery follows 0, !=, <, <=, >, >= or when the subquery is used as an expression....
Example #2:
Details
Number: 5
Source: ControllerProxyClient:FrangoClient.clsRightsCache.InsertRecords: FrangoClient.clsUsers.Insert:FrangoClient.frmUserAndInstallationRights.
SaveUser:FrangoClient.frmUserAndInstallationRights.IFile_DoSave
Description: System.Web.Services.Protocols.SoapException: Server was
unable to process request. ---> System.Runtime.InteropServices.
COMException (0x80004005): Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
at FrMiscST.MedlemSetTClass.InsertRecords(String sGuid, Recordset
rsRecord, String sUser, Int32 lLLocale)
at Cognos.Controller.Proxy.CCRWS.MedlemSetT_InsertRecords(String
sGuid, DataSet rsRecord, String sUser, Int32 lLLocale)
--- End of inner exception stack trace ---
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.Forms.Form.frmUserAndInstallationRights.
IFile_DoSave()
at Cognos.Controller.Forms.Form.frmUserAndInstallationRights.
IForm_DoClick(Int32 lCmd, String& sTag)
Example #3 (Controller 10.3.1):
Cause
- TIP: See separate IBM Technote #0960392 for more examples.
This Technote specifically relates to the scenario where the cause is that the database table "sactrlinfo" contains some invalid entries.
If the customer enables the optional Controller functionality 'system audit log', then Controller will keep track of changes in the system. As part of this mechanism, it will temporarily store some records inside the database table: sactrlinfo
- Records in this table are temporary (they are typically deleted shortly after they are created
- The entry should only be in there for a second (or so).
- Then the user's operation has completed, the row (inside 'sactrlinfo') should be deleted.
- Therefore, the normal state for this table (for most of the time) is that it would be empty.
- In other words, if (at some point in the past) the system hung/crashed (whilst in the middle of a user making a change to the system) then it is possible that data could unexpectedly remain in this table long-term.
Environment
Problem only occurs when the system audit log is activated
- When the System Audit Log is turned off the functionality works OK (it is possible to make changes again).
Resolving The Problem
- NOTE: It is safe to delete the contents of sactrlinfo, because Controller expects this table to be empty most of the time.
There are two methods:
- It ensures the database is not in use (single user mode)
- It does not require special access to the database (therefore the end user can perform the task, without assistance from I.T. department).
2. Click "Maintain - User - Single User"
3. Click "Maintain - Database - Optimize"
4. Choose/select all available options *except* there is no need to tick 'rebuild indexes' (which can slow down the database optimise a lot)
5. Click "Run".
Delete the "bad" rows manually.
- TIP: In some (rare) circumstances, using this method is necessary if Method #1 fails to solve the problem.
- Ensure no users are in the system (downtime)
- Create a full backup of your SQL database
3. Locaste the Controller database, and expand 'Tables'
Related Information
Historical Number
1037166
Was this topic helpful?
Document Information
Modified date:
25 July 2019
UID
swg21364766