on 01-14-2014 10:05 AM
Hi
I have had a problem for a long time now on one of our web servers, it's becoming more of an issue lately due to a web site using Crystal more. The problem is that the Crystal Report Viewer does not load after a few hours. If I re ship the main DLL into the Bin folder for the site, then something gets 'reset', and hey presto, Crystal starts working again.
The problem would even arise with a basic CR, with just one Textfield on it (i.e. not show)
Web server is 32 bit Windows Server Web Edition SP 2. Asp.Net project built in VS 2012 against .Net 4.0.
Anyone have any ideas?
Many thanks,
Julian
Make sure you are on SP 8
Make sure you are using .Close and .Dispose on your report objects as you get done with them.
What OS? (2003, 2008, 2012)
Provide more info on the following:
The problem is that the Crystal Report Viewer does not load after a few hours.
What does that mean? Errors? Warnings? Behavior? Symptoms?
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Ludek. I am doing a CrystalReportViewer1.Dispose() on Page_Unload, but will do a Close and Dispose on any Reports that are loaded too. I will also install Service Pack 8.
The 'Crystal Report Viewer does not load after a few hours' is that a Load Report Failed error occurs after a few hours and there is no report whatsoever.
Windows 8 Web Edition by the way.
I will let you know how I get on.
Thanks
Julian
Good. The way I look at this, "Load Report Failed" is quite different than "Crystal Report Viewer does not load after a few hours".
And if you did not have .Close and .Dispose on the report objects, that would be consistent with the "Load Report Failed" error after a number of reports are processed. Disposing of the viewer does not dispose of the report object and typically is actually quite un-necessary. Disposing of the report objects is a best practice as it is for most .NET objects.
- Ludek
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.