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

KB263730: Data Load fails due to an ODBC Error in MicroStrategy Analytics Enterprise 10.0 GA when using SQL Server as a statistics and Enterprise Manager warehouse


Community Admin

• Strategy


Enterprise Manager data loads on MicroStrategy 10.0 GA with SQL Server warehouse may fail with errors seen in the EM Migration Trace

SYMPTOM:
Data loads on Strategy 10 GA will fail with the errors as seen in the EM Migration Trace below:


2015-07-17 12:31:04.321+01:00 [HOST:localtest.es][PID:24983][THR:628684544][Kernel][EM Migration Trace] Invalid data for column:  IS_DOC_LOC TableFactory cannot SetCellData(). String 'IS:\Project\Public Objects\Reports\00 Repositorio Común\Document1' doesn't fit in cell with precision 1., cell will be skipped
2015-07-17 12:31:04.366+01:00 [HOST:localtest.es][PID:24983][THR:628684544][Kernel][EM Migration Trace] Invalid data for column:  EM_OWNER_GUID TableFactory cannot SetCellData(). String '54F3D26011D2896560009A8E67019608' doesn't fit in cell with precision 1.,cell will be skipped
[...]

 
Similar entries are being logged into the MAEntMgr.xml log for every column observed.  This can be seen below:

log4j:event logger="MAEntMgr" timestamp="1437129091636" level="ERROR" thread="pool-1-thread-3"><log4j:message>
<![CDATA[An error ocurred and DOCUMENT could not be loaded. Please check DSSErrors.log for more details]]></log4j:message>
<log4j:throwable><![CDATA[com.Strategy.maem.exceptions.EMException: 
An error ocurred and DOCUMENT could not be loaded. Please check DSSErrors.log for more details
[...]
at com.Strategy.maem.dispatcher.command.BaseCommand.execute(Unknown Source)
at com.Strategy.maem.dispatcher.command.BaseCommand.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
]]></log4j:throwable>
</log4j:event>

This error is repeated for TABLE, HIERARCHY and REPORT. This can be seen in the DSSErrors.log:

2015-07-17 12:31:04.321+01:00 [HOST:localtest.es][PID:24983][THR:628684544][Database Classes][Error] OdbcParameterizedQuery::ExecQuery failed. 
Error type: Odbc error. Odbc operation attempted: SQLExecute. [23000:515: on SQLHANDLE] [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot insert the value NULL into column 'EM_USER_GUID', table 'MD_ST_TESTE.dbo.STG_EM_USER'; column does not allow nulls. INSERT fails. 
[01000:3621: on SQLHANDLE] [Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated. Connection String: DSN=MD_ST;UID=sa;APP=Strategy 10 ® Common Files;WSID=WINS;DATABASE=MD_ST_TESTE;. 
SQL Statement: INSERT INTO STG_EM_USER (EM_ALLOWSTDAUTH,EM_USER_DESC,EM_LDAPLINK,EM_USER_NAME,EM_ACCESS_ID,EM_ALLOWCHANGEPWD,EM_ENABLED,EM_PASSWD_EXP,EM_OWNER_GUID,EM_CHANGEPWD,EM_HIDDEN_ID,EM_DELETION_DATE,IS_REPOSITORY_GUID,EM_EXP_FREQ,EM_NTLINK,EM_USER_ABBREV,EM_USER_LOC,EM_MODIF_DATE,EM_CREATE_DATE,EM_USER_GUID,EM_USER_VER,EM_WHLINK) 
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?).

 
CAUSE:
Due to a product defect the database user name for the Statistics / Enterprise Manager warehouse must match the database name when the warehouse is in Microsoft SQL Server.
 
WORKAROUND:
Set the database user account for the Statistics / Enterprise Manager warehouse to match the database name.
 
SOLUTION:
This has been fixed in Strategy 10.1. Upgrade to the latest platform release or feature release version of Strategy to take advantage of this fix.
 
The Strategy internal reference Number for this issue discussed in this technical note is US21755.


Comment

0 comments

Details

Knowledge Article

Published:

April 13, 2017

Last Updated:

April 13, 2017