Crystal reports print preview doesn't pop up and doesn't show error

I have a few crystal reports that uses xml files and sql database as datasource. I have a material queue report that isn’t printing after a server migration. Original XML that was used as the data source is gone for some reason I replaced it with the one generated by epicor when the report is ran.

In Crystal reports it seem to be fine in preview mode. However, when I try to do a print preview in fulfillment workbench the report will not pop up and at system monitor it would just say error and not allow me to highlight and print preview to get the error.

You have the CR Runtime viewer installed on the client?

Yup, only this report doesn’t run.

You profile just says version “10”. What’s the full version number?

Edit:

Does the report appear in the Reports tab of System Monitor? If so, what appears in the Last Action column?

I temp renamed the RPT file (to force an error), and when it’s not found, I get:

select that row in SysMon and select the preview icon. You should get a more detailed error message, like:

image

Click the Detail button for more in depth info.

1 Like

The version is 10.0.700.2

By the preview icon you mean the print preview icon right ? I tried selecting the row and then clicking that but nothing happens.

Does anything show in the Last Action column?

Enable Balloon pop-ups (Actions -> Retrieval Properties), and enable all.

image

Then run the report again, with the archive set to a week.

Do you get:

image

OR

image

??

Back in SysMon, on the Reports tab, find the filename and see what is in that report.

image

Maybe even open the RPT file in CR designer and preview with that XML data.

Hi @John_Wu! And Welcome to the community!

You can often find the System Monitor Errors in the Windows Event Viewer under Applications and Services Logs - Epicor ICE Task Agent Service. Maybe once you can find the detailed error message here it will help you point to the exact issue. The errors anymore are fairly helpful…


Please no comments on how many errors are showing up in my log… :face_with_symbols_over_mouth: :stuck_out_tongue:

It goes into complete status. The last action reads “System error has occurred! Run in preview mode from System Monitor for details.”

I also tried running the report in crystals report with the xml output and it works fine no errors.

That’s a lot of errors

And when you select that report (the one with the “System error…”) from the Reports tab, and click the preview icon in Sys Monitor, you get nothing?

Yup, usually when a icon can be activate there is an outline around it when you hover over it but it doens’t seem to be enabled when I highlight the row.

In SysMon, what Task Type does it show on the History tab as? ‘Report’ or ‘Process’

It could be a corrupt .RPT file. Rename it and create a new one one with the old name. Just put anything in the new one (might still need to add the data connection). Just to see if it shows up.

It shows up as report, I also tried to create a blank report with the XML and SQL connections with only one field used in the report and this still happens :frowning:

Are you 100% sure the .RPT files your’re testing with, are the ones pointed to by the Report Style?

rename the RPT file so that the Report Style doesn’t point to it. Then preview the report in E10. Does it make a "File not found error?

LOL! I told you no comments! :stuck_out_tongue_winking_eye:

That’s just a tiny sample, you should see all of them! :open_mouth: Most are “No Records Selected” errors when running BAQ Reports. If anyone has any advice on how to prevent the “No Records Selected” Error event from happening or being logged I’m willing to listen to any advice on how to do that! :wink:

I feel like I’m hijacking this thread…sorry peeps! :blush:

Yup, double checked and even made a new style to be sure. It doesn’t show as an error.

So to summarize where you are:

  • The mtl Queue report is the only CR based report that is not working. Oth CR based reports work fine.
  • Using CR Builder (or whatever the CR authoring program is called) to preview the RPT, using recently generated XML data, works fine.
  • Replacing the RPT file with a basic one (just to show it is being fetched), does not show the basic one when previewed in E10.
  • Previewing either the desired RPT or the basic RPT show the following in System Monitor:
    • History tab shows “COMPLETE”
    • Reports tab shows “System Error has occurred! …” in the Last Action column
    • With that row selected, the Print and Print Preview toolbar icons are disabled (grayed out)

That all correct?

Do you have the original Epicor version of the Material Queue RPT file? If so point the Report Style to that RPT file and see if it works (I’m assuming you don’t have a custom RDD for this).

That is all correct. The other report styles for the mtl queue report is also working. I don’t think I have the original version of it. Just started working on this project not long ago. Trying to learn everything as I go.

Backing up a second … Is this a built-in report, or a BAQ report?

If built-in, is the RDD the original or a modified one?

There is a chance that the source data in the report you’re trying to print has some bad characters. I recall having certain reports fail to print because the text data had control unprintable characters in it .

Have you tried printing this report with different inputs (selecting a different job or something)? Looked at the XML to see if anything jumps out ?

Here’s the MtlQue.rpt form our old V8 system. If you want try it.

MtlQueue.rpt (23 KB)