cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Does Crystal Reports have a runtime log

Former Member
0 Likes
2,824

Could someone help: My company has multiple ASP.net websites that use Crystal reports. The web sites all have been working correctly and the reports generate correctly but (depending on the time of day) when users click on the print button, the print box doesn't appear or takes quite a long time, ie: 3 minutes. Note: These web sites are being run on an Intranet only. The delay does appear worse over a VPN connection to the web server. Does anyone have any suggestions to resolve this problem, is there a way to view a Crystal Reports runtime log to check if users are running multiple CR reports consecutively?

Thanks

Dave.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

I'm not aware of any CR logging utility like that. However, [Fiddler|http://www.fiddlertool.com/fiddler/] or [Charles|http://www.charlesproxy.com/] may help to trace through the http requests and see where the hold up is occuring.

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup

Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

0 Likes

Another option is to add your own logging in the app. You could use a config flag or UI to turn it on or off. Should not be too much work to do so. And you can add different levels of logging, high level all the way down to each API being called.

We do have our core engine ( crpe32.dll ) logging and database logging capabilities but they will impact your performance big time so it's not something you want to use in this case. If you are using a version that was included with Visual Studio then the crpe logging is not available.

Depending on the database you are using you could also turn on Database logging and just filter the log on requests to see if it is the database slowing things down.

Thank you

Don

Answers (1)

Answers (1)

Former Member
0 Likes

I have been experiencing the same issue. I have been using Crystal for many years. This problem only surfaced when I moved for the CR2010 Beta 2 to the release version. Beta 2 worked fine. If I print preview (which loads quickly) and then print, the print dialog appears almost immediately and all is well. If I try to print without previewing, there is typically a 30+ second delay. My apps are standard windows aps.

0 Likes

Hi Guys,

Here's how to enable logging, create 2 on and off reg files and copy each section into the file:

PLEASE NOTE: Replace the leading double quotes with a square bracket

Crystal Reports for Visual Studio 2010

Note The log file extension created by Crystal for Visual Studio 2010 is .GLF.

Enable Logging

Windows Registry Editor Version 5.00

"HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Logging]

"HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Logging\crpe.bkgrnd]"Destinations"=dword:00000003"Position"=dword:00000003"LogErrorsOnly"=dword:00000000

"HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Logging\crpe.diagnostics]"Destinations"=dword:00000003"Position"=dword:00000003"LogErrorsOnly"=dword:00000000

"HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Logging\crpe.functions]"Destinations"=dword:00000003"LogErrorsOnly"=dword:00000000"Position"=dword:00000003

"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Logging]

"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Logging\crpe.bkgrnd]"Destinations"=dword:00000003"Position"=dword:00000003"LogErrorsOnly"=dword:00000000

"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Logging\crpe.diagnostics]"Destinations"=dword:00000003"Position"=dword:00000003"LogErrorsOnly"=dword:00000000

"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Logging\crpe.functions]"Destinations"=dword:00000003"LogErrorsOnly"=dword:00000000"Position"=dword:00000003

Disable Logging

Windows Registry Editor Version 5.00

"HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Logging]

"HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Logging\crpe.bkgrnd]"Destinations"=dword:00000000"Position"=dword:00000000"LogErrorsOnly"=dword:00000000

"HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Logging\crpe.diagnostics]"Destinations"=dword:00000000"Position"=dword:00000000"LogErrorsOnly"=dword:00000000

"HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Logging\crpe.functions]"Destinations"=dword:00000000"LogErrorsOnly"=dword:00000000"Position"=dword:00000000

"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Logging]

"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Logging\crpe.bkgrnd]"Destinations"=dword:00000000"Position"=dword:00000000"LogErrorsOnly"=dword:00000000

"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Logging\crpe.diagnostics]"Destinations"=dword:00000000"Position"=dword:00000000"LogErrorsOnly"=dword:00000000

"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Logging\crpe.functions]"Destinations"=dword:00000000"LogErrorsOnly"=dword:00000000"Position"=dword:00000000

Thank you

Don

Former Member
0 Likes

Hello Michael

I think this may be a different issue - possibly new and specific to CRVS2010.

Can you please create a new forum thread for this?

Ludek

AndersG
Active Participant
0 Likes

Is this log always written in temp? Can it be redirected elsewhere?