on 06-28-2013 10:18 PM
Hello,
This is my first time posting on this forum.
My company recently began noticing an intermittent error which is thrown by Crystal Reports as our application is starting up. The error is a simple message which states, "Load Report Failed". This error message is thrown sporadically at best, and normally is benign. However, this error is also occasionally followed immediately by an AppCrash.
The reason that this is happening at start up is because we initialize a bare report at this time in order to increase Crystal Report load times later on. The call here is very simple, we basically set the form location to be off screen, and then show and close it. Unfortunately this issue does not appear to cause an exception which we can catch and troubleshoot. I was able to log the issue and determine that it seems to be occurring after successfully showing the report form.
I have also reviewed this pdf on the issue, Load Report Failed troubleshooting, but was unable to resolve it by ensuring that we were disposing of the form correctly.
Is there any sort of Crystal Reports logging that might be able to give us more information on this issue?
Thank you in advance,
- Jesse
Hello Jesse and welcome to SCN
I would like to know the version of CR you are using (looking at the version of the crpe32.dll may be best). Check to see that the same version is used on DEV and deployed systems, but do let me know the version.
Also, let me know the version of .NET and if this is a web or a win app.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ludek,
Thank you for your quick response, and I apologize for my own delay. Good news however, we believe we found the cause of our issue, and I just wanted to share it here in the off chance that someone else is running into the same issue.
So it seems that the problem occurred so intermittently because the problem we were running into was caused when we attempted to close our crystal reports form before the OnShown event had completed. This was happening because, as I mentioned in my initial posting, we were caching a crystal reports form for speed, and were calling the show and close function back to back.
We were able to use SychLock to ensure that these two events executed on the same thread, and this seems to have resolved the issue for us.
User | Count |
---|---|
78 | |
10 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.