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

KB428987: How to enable 64-bit Open Database Connectivity (ODBC) tracing in Windows.


Community Admin

• Strategy


SUMMARY:
During trouble-shooting cases involving database or ODBC errors, sometimes it may be useful, or even necessary, to look into ODBC trace logs. This document outlines the procedure for enabling Open Database Connectivity (ODBC) tracing on a machine.
 
STEPS TO ENABLE TRACING:
1. Access the 64-bit ODBC Data Source Administrator interface on the machine. This is usually located at Start -> Settings -> Control Panel -> Administrative Tools. NOTE: This might not appear in Windows 7 and Windows 2008

ka04W00000148tjQAA_0EM440000002WzU.jpeg

or
Open up file explorer and navigate to C:\Windows\System32 and click on odbcad32.exe

ka04W00000148tjQAA_0EM440000002WzY.jpeg

 
2. Below is Windows 2012 version of the 64-bit ODBC Data Source Administrator (64-bit).

ka04W00000148tjQAA_0EM440000002WzP.jpeg

 
3. Click on the 'Tracing' tab as shown below.

ka04W00000148tjQAA_0EM440000002WzB.jpeg

4. Select the name and the path of the trace file under 'Log File Path' by clicking on the browse button.
5. Click the 'Start Tracing Now' box in the 'When to trace' section.

ka04W00000148tjQAA_0EM440000002WzS.jpeg

6. The option should now display 'Stop Tracing Now'. This means ODBC tracing is enabled.

ka04W00000148tjQAA_0EM440000002WzQ.jpeg

7. Click on 'OK' to submit the settings.

ka04W00000148tjQAA_0EM440000002WzC.jpeg

8. The ODBC tracing generates large log files. It is best to disable the tracing once the requisite testing is complete. Click the 'Stop Tracing Now' button to disable ODBC tracing.

ka04W00000148tjQAA_0EM440000002WzR.jpeg

 
Note: If users are trying to get ODBC trace for 3-tier or 4-tier operations i.e. for SQL being passed by the Strategy Intelligence Server, make sure that the Strategy Intelligence Server is running under a NT user account and not the local system account as shown below.
Found under Sevices Manager named 'Strategy Intelligence Server' or the Options button under Strategy Service Manager.

ka04W00000148tjQAA_0EM440000002WzW.jpeg

On Unix
There are two way to enable the 64-bit ODBC Administrator tracing on a UNIX platform
1. Editing the odbc.ini file. For instructions on how to do this, refer to Strategy Knowledge Base document:KB11979 - How to turn on/turn off ODBC tracing in MicroStrategy Intelligence Server Universal 9.x
2. Through ODBC Administrator from within Strategy Control Center.
Third Party Software Installation
 
TO LEARN MORE:
KB8699: How to enable 32-bit Open Database Connectivity (ODBC) tracing?
KB427400: How to enable ODBC tracing for Teradata 14 drivers in Unix/Linux
 
WARNING:
The third-party product(s) discussed in this technical note is manufactured by vendors independent of Strategy. Strategy makes no warranty, express, implied or otherwise, regarding this product, including its performance or reliability.
 


Comment

0 comments

Details

Knowledge Article

Published:

December 26, 2018

Last Updated:

June 30, 2022