Symptom
- How to enable/disable logging for the Report Designer Component (RDC)?
Environment
- Windows OS
- Visual Basic 6.0
- Crystal Reports XI R2
- Crystal Reports XI R1
Resolution
Logging for the RDC SDK is controlled by some registry keys. The keys can be created manually, but it is easlier to create a .reg file and merge it into the registry.
- Open Notepad and copy the contents under Enable Logging.
- Save the file as craxdrt.logging ON.reg. Ensure Save as type is set to All Files (*.*)
- Repeat for Disable Logging, but name the file craxdrt.logging OFF.reg.
- Double click the craxdrt.logging ON.reg to turn on logging.
- Run your application that uses the RDC, then look in the users temp directory for the .log files. The .log files are written to the user temp directory.
- Windows XP, C:\Documents and Settings\<user>\Local Settings\Temp
- Windows Vista and 7, C:\Users\<user>\AppData\Local\Temp
- The .log files should be opened and analyzed in Excel.
Note: Application logging has a detrimental effect on performance. Logging should only be used when troubleshooting or attempting to diagnose an issue.
Crystal Reports XI R2Enable LoggingWindows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\logging\craxdrt.Diagnostics] [HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports Designer Component\Logging\craxdrt.methods] Disable LoggingWindows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\logging\craxdrt.Diagnostics] [HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports Designer Component\Logging\craxdrt.methods] |
Crystal Reports XI R1Enable LoggingWindows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\logging\craxdrt.Diagnostics] [HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports Designer Component\Logging\craxdrt.methods] Disable LoggingWindows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\logging\craxdrt.Diagnostics] [HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports Designer Component\Logging\craxdrt.methods] |
Keywords
trace tracing craxdrt craxdrt.dll craxddrt vb6 COM , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To
Product
SAP Crystal Reports XI ; SAP Crystal Reports XI R2