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

KB12093: How to enable and use the MsiFileTable Log file for troubleshooting purposes in MicroStrategy Developer or Intelligence Server


Stefan Zepeda

Salesforce Solutions Architect • Strategy


This technical note documents how to enable and use the MsiFileTable Log file for troubleshooting purposes in MicroStrategy Developer or Intelligence Server

The MSIFileTable trace stores information retrieved by report SQL into a text file. When this file is provided to Strategy Technical Support, along with a duplicate of the project (or metadata backup), the report can be executed against the MSIFileTable. This is helpful for troubleshooting issues with report display or Analytical Engine processing.
MSIFileTables can be captured on a Strategy Developer 9.4.x-10.x-2019-2020 machine if the report is run in a two-tier connection, or a Strategy Intelligence Server 9.4.x-10.x-2019-2020 machine when running the report in a three-tier connection. Users should be aware of the following points:

  • MSIFileTable logs in Strategy 9.4.x-10.x-2019 are not compatible across 32-bit and 64-bit environments. If the issue under research is specific to Strategy Intelligence Server Universal 9.4.x-10.x-2019 running in a 64-bit environment, the MSIFileTable log must be captured in the 64-bit Intelligence Server Universal environment. (Strategy Developer is a 32-bit application and might not write the MSIFileTable correctly even when run under a 64-bit Microsoft Windows operating system.)

    KB31084: Text columns are truncated when reading an MSIFileTable log in Strategy Intelligence Server Universal 9.x and 10.x

  • MSIFileTable logs from 8.1.x versions are not compatible with Strategy 9.4.x-10.x-2019. The file format has changed starting with 9.0.0.

MsiFileTable logging must be enabled directly in the Registry. The configuration parameters are not available in the Strategy Diagnostics and Performance Logging tool.
WARNING: When the DSS MsiFileTable.log is enabled, large amounts of data may be logged depending on the datasets involved. This will impact performance. Disable the MsiFileTable.log immediately after obtaining the required information for troubleshooting. In order to effectively disable this log in a three-tier scenario, the Strategy Intelligence Server process will need to be restarted after setting the Registry keys back to their original values.

Windows environments

To enable MsiFileTable.log, complete the following steps:

  • On the local machine, open the Registry Editor and browse to the following location:
    HKEY_LOCAL_MACHINE\Software\Strategy\Diagnostics\Log\DSS MsiFile Table\MsiFileTable Tracing (32-bit machines)
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Strategy\Diagnostics\Log\DSS MsiFiletable\MsiFileTable Tracing (64-bit machines)
  • Set the key MsiFileTableOn to a value of 1 as shown below:
ka04W000000OcomQAC_0EM440000002FhN.jpeg
  • The keys in this folder will now be set as shown in the following image:
ka04W000000OcomQAC_0EM440000002FhJ.jpeg
  • If the user would like to change the location of where the Log file will be generated or the filename itself, this can be done by changing the values of the keys 'Log File Directory' and 'Log File Name' respectively.
  • Log into a two-tier connection to the project in Strategy Developer, and execute the report whose data should be recorded.

The following shows an example report that was executed and the MsiFileTable Log File that was generated for it:

ka04W000000OcomQAC_0EM440000002FhP.jpeg
ka04W000000OcomQAC_0EM440000002Ujq.jpeg

Unix/Linux environments


To enable the MsiFileTable.log complete the following steps.
In Strategy Intelligence Server Universal environments in UNIX/Linux, the MSIFileTable Registry entries are found in the MSIReg.reg file, which is located in the Strategy home directory chosen during installation. Open this file in a text editor and search for "MSIFile" to locate the following:
"Log File Directory"="/path/to/misfile/directory"
"Log File Name"="DSS MsiFileTable.log"
"MsiFileTableOn"=dword:00000001
"MsiFileTableRead"=dword:00000000
"MsiFileTableSkipReportID"=dword:00000001
Change the MsiFileTableOn and MsiFileTableRead entries as needed, and supply the correct directory and filename. The read setting should be set to 0 while generating a file and should be set to 1 only when reading from an existing created file.
IMPORTANT: Strategy does not support the use of this method as an off-line reporting feature; the main purpose of this feature is troubleshooting.
WARNING:
Modifying registry values incorrectly may cause serious, system-wide problems that may require the re-installation of Microsoft Windows. Any edit of the registry is done at the user's own risk. Since these are user-initiated changes, they are not covered by any Strategy warranty. The user should back up the registry and/ or update an Emergency Repair Disk prior to alterations.

Reading the file generated for verification

To read the MSIFileTable using a duplicate of the project, perform the following steps:

  • Restore the metadata in a location accessible to the Strategy Developer machine (if testing in two-tier) or the Strategy Intelligence Server machine (if testing in three-tier). Ensure that the MSIFileTable is also accessible from the same machine.
  • Open the Registry Editor once more on the local machine and browse to the same key folder.
  • Change the Log File Directory to the location of the log file.
  • Change the Log File Name to the name of the log file.
  • Change the key MsiFileTableOn to a value of 1.
  • Change the key MsiFileTableRead to a value of 1, as shown below:
ka04W000000OcomQAC_0EM440000002FhL.jpeg
  • Connect to the project again, and execute the same report.

To show that the MsiFileTable is being read rather than the database, the MsiFileTable.log file has been modified to replace the word "Books" with "Food."

ka04W000000OcomQAC_0EM440000002FhS.jpeg

Comment

0 comments

Details

Knowledge Article

Published:

April 4, 2017

Last Updated:

July 11, 2017