on 09-19-2008 1:40 PM
Hello,
I get Windows exception 0xc0000005 (EXCEPTION_ACCESS_VIOLATION) when exporting a report with Crystal running as a batch job.
Doing the same in interactive mode is ok.
Any idea? Does Crystal support batch mode?
Thanks
Hello David,
[Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]
Step 2 Asking Your Question
- Provide Enough Information
We're not all using the same SDK or process you are. How are you batching?
Sincerely,
Ted Ueda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is difficult to know exactly what and how Uniface does.
The exception happens when invoking the Export() method of the report object.
The complete message is:
ICCDRV-COM-ERR Error with ICC system occurred, Windows exception 0xc0000005 (EXCEPTION_ACCESS_VIOLATION) occurred in external COM method "Export"
An error occured while exporting the report to PDF
Then I get an empty .pdf file.
What do you mean by SDK? I would say it is the COM SDK...
Thanks,
David
There are multiple ways to access Crystal via COM - since you're invoking it via third party, it'll be helpful to know which is being used.
I'm going to assume the Report Designer Component SDK - it can handle multiple reports, within the context of a single threaded apartment (STA) model.
Even with this info, unless you know exactly how Uniface is invoking the SDK, it's not clear why this is happening.
Have you asked Uniface?
Sincerely,
Ted Ueda
David, please note that Uniface is not on our supported platforms doc. And obviously, Uniface being a 4GL, we do not have it here to test with. I have worked with a few customers who were using Uniface, sometimes with success, sometimes not. For the most part, the best help they got was from Uniface user forums.
In this case, you'd want to start with trying to get the report to simply work once, never mind doing a batch job. So, are you able to run the report successfully just once?
If you get the same error, running just one report, we'll have to trace the memory address and I can help you there irrespective.
Also, I'd recommend downloading the latest Service pack for CR XI (assuming you are using CR XI release 1 (v 11.0.x), the latest SP is here;
https://smpdl.sap-ag.de/~sapidp/012002523100006008952008E/crXIwin_sp4.zip
Ludek
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.