IBM Support

Standard Error 5 '(0x800A005B): Object variable or With block variable not set' when running a database optimisation

Troubleshooting


Problem

Superuser clicks 'Maintain - Database - Optimise' and launches an internal Controller database optimisation. After a few minutes, an error message appears.

Symptom


Screen error:

    Information
    Standard Error
    Number: 5
    Source: FrangoDirect.GenCompStrucD.GenKStruc#ControllerProxyClient
    Description: ystem.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Runtime.InteropServices.COMException (0x800A005B): Object variable or With block variable not set
    <........>
    [OK]

    Regenerating Company Structures...

Event Viewer (Application log):
    Event Type: Warning
    Event Source: Cognos Controller
    Event Category: None
    Event ID: 0
    Date: 11/08/2009
    Time: 09:42:06
    User: N/A
    Computer: SERVERNAME
    Description:
    Standard Error
    Number: 5
    Source: FrangoDirect.GenCompStrucD.GenKStruc#ControllerProxyClient
    Description: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Runtime.InteropServices.COMException (0x800A005B): Object variable or With block variable not set
    at FrCompanyBT.GenCompStrucTClass.GenKStruc(String sGuid, String sUser, String sConsType, String sFirstPer, Boolean bOnlyManual, Boolean& bErr, Int32& lErr)
    at Cognos.Controller.Proxy.CCRWS.GenCompStrucT_GenKStruc(String sGuid, String sUser, String sConsType, String sFirstPer, Boolean bOnlyManual, Boolean& bErr, Int32& lErr)
    --- 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.Direct.GenCompStrucD.GenKStruc(String sConsTyp, String sFirstPer, Boolean bOnlyManual, Boolean& bErr, Int64& lErr)
    at Cognos.Controller.Forms.Form.frmOptimize.IRun_DoRun()

and:
    Event Type: Warning
    Event Source: Cognos Controller
    Event Category: None
    Event ID: 0
    Date: 11/08/2009
    Time: 09:42:06
    User: N/A
    Computer: SERVERNAME
    Description:
    Error occured at 11/08/2009 09:42:06 in IBM Cognos 8 Controller, Error No=5, Source=FrangoDirect.GenCompStrucD.GenKStruc#ControllerProxyClient, Description=System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Runtime.InteropServices.COMException (0x800A005B): Object variable or With block variable not set
    at FrCompanyBT.GenCompStrucTClass.GenKStruc(String sGuid, String sUser, String sConsType, String sFirstPer, Boolean bOnlyManual, Boolean& bErr, Int32& lErr)
    at Cognos.Controller.Proxy.CCRWS.GenCompStrucT_GenKStruc(String sGuid, String sUser, String sConsType, String sFirstPer, Boolean bOnlyManual, Boolean& bErr, Int32& lErr)
    --- End of inner exception stack trace ---, HelpFile= HelpContext=0

[{"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Controller","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.4","Edition":"Not Applicable","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSMRTZ","label":"IBM Cognos Controller on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
08 May 2025

UID

swg21396493