EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB319066: MicroStrategy Enterprise Manager data load fails during the DSS Migration phase with an error similar to "An error ocurred and COLUMN could not be loaded"


Community Admin

• Strategy


In MicroStrategy Secure Enterprise, during an Enterprise Manager data load, the data load fails during the DSS Migration step and errors similar to the following are referenced in the MAEntMgr.xml log file: An error ocurred and COLUMN could not be loaded. Please enable EM Migration trace from the Diagnostics tool in the Intelligence Server machine for more information

SYMPTOM
In Strategy Secure Enterprise, during an Enterprise Manager data load, the data load fails during the DSS Migration step and errors similar to the following are referenced in the MAEntMgr.xml log file:


2016-11-10 08:51:18.806+00:00 
[Logger:MAEntMgr][Thread:pool-6-thread-2][Level:ERROR] An error ocurred and 
COLUMN could not be loaded. Please enable EM Migration trace from the 
Diagnostics tool in the Intelligence Server machine for more information.
Stack Trace: com.Strategy.maem.exceptions.EMException: An error ocurred 
and COLUMN could not be loaded. Please enable EM Migration trace from the 
Diagnostics tool in the Intelligence Server machine for more information.
 at com.Strategy.maem.dispatcher.DispatcherPool.handleReturnType
 [...]
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)

 
The error above references that COLUMN could not be loaded.  This error can also occur in any MD object such as REPORT, USER, PROJECT etc., 
 
 
CAUSE
When users enable the Kernel > EM Migration trace on the Intelligence Server machine where the data load is executed and also check the DSSErrors corresponding to the time of the migration of the particular MD Object, errors similar to the following are seen in the logs:
 

2016-11-29 18:26:45.363+01:00 [HOST:TEST_EM][PID:5416][THR:7488][Kernel][EM Migration Trace] Warning:: Header is INSERT INTO STG_IS_REP, Missing record count is 3
2016-11-29 18:26:45.363+01:00 [HOST:TEST_EM][PID:5416][THR:7488][Kernel][EM Migration Trace] Header is INSERT INTO STG_IS_REP, count is 3
2016-11-29 11:02:38.037+01:00 [HOST:TEST_EM][PID:2356][THR:5188][Database Classes][Error] Execute Parameterized Query failed.Error type: Odbc error. Odbc operation attempted: 
SQLDescribeParam. [IM001:0: on SQLHANDLE] [Microsoft][ODBC Driver Manager] Driver does not support this function Connection String: SN=WH_EM;UID=TEST_EM;HOST=EM_HOST;PORT=1521;SID=TEST;. 
SQL Statement: INSERT INTO STG_IS_REP (EM_OWNER_GUID,IS_REPTYPE_IND,EM_ACCESS_ID,IS_PROJ_GUID,IS_REP_LOC,IS_REP_GUID,IS_REPOSITORY_GUID,IS_REP_VER,EM_DELETION_DATE,IS_CUBE_DEF_GUID,IS_REPCTYPE_IND,IS_REP_NAME,EM_MODIF_DATE,IS_REP_ABBREV,EM_HIDDEN_ID,EM_CREATE_DATE,IS_REP_DESC) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?).

 
Starting with Strategy Secure Enterprise, the 'Use parameterized queries' needs to be checked on the database connection used in the Statistics database instance, see also KB273206. If the corresponding setting is not enabled on the driver (at the DSN Level), this issue can be be seen.
 
 
ACTION
Make sure that that the corresponding setting at the driver level is enabled on the DSN definition. For example, for DSNs created with the driver, 'Strategy IDBC Driver for Oracle Wire Protocol', the option "SQLDescribeParam" must be enabled.  Refer to the following MicroStratgey Knowledge Base document for information on settings applicable to other databases:
 
KB30290: How to optimize performance of database inserts for Multisource and Datamart reporting in Strategy.


Comment

0 comments

Details

Knowledge Article

Published:

April 6, 2017

Last Updated:

February 26, 2024