IBM Support

"Assignment of a NULL value to a NOT NULL column "TBSPACEID=5, TABLEID=5, COLNO=0" is not allowed" when starting Cognos service for the first time, due to DB2 using Oracle compatibility mode

Troubleshooting


Problem

Administrator has created brand new application server. Administrator has configured Cognos Configuration to use a DB2 ContentStore. Administrator starts Cognos service. An error appears.

Symptom


05:25:37, CAF-WRN-0010 CAF input validation enabled.
05:25:37, CAF-WRN-0021 CAF Third Party XSS checking disabled.
05:25:46, CM-CFG-5063 A Content Manager configuration error was detected while connecting to the content store. CM-CFG-5114 An error occurred while locking the content store database. Cause: Assignment of a NULL value to a NOT NULL column "TBSPACEID=5, TABLEID=5, COLNO=0" is not allowed.. SQLCODE=-407, SQLSTATE=23502, DRIVER=3.58.68 Stack trace: com.ibm.db2.jcc.am.no: Assignment of a NULL value to a NOT NULL column "TBSPACEID=5, TABLEID=5, COLNO=0" is not allowed.. SQLCODE=-407, SQLSTATE=23502, DRIVER=3.58.68 at com.ibm.db2.jcc.am.ed.a(ed.java:672) at com.ibm.db2.jcc.am.ed.a(ed.java:60) at com.ibm.db2.jcc.am.ed.a(ed.java:127) at

[{"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Controller","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.2.0","Edition":"","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

More support for:
IBM Cognos Controller

Software version:
10.2.0

Operating system(s):
Windows

Document number:
515565

Modified date:
08 May 2025

UID

swg21677923

Manage My Notification Subscriptions