#1 2017-01-26 10:21:23

ariahi
Member
Registered: 2017-01-26

Error: An error occurred during report execution

Error: An error occurred during report execution.
The report could not be executed: No subreport of name rsfsx://jaspersubreport/e746ea16-6f67-4d42-b22f-d1aee4993fe8/logo found.
To get help please contact an administrator.
Details
net.datenwerke.rs.core.service.reportmanager.exceptions.ReportExecutorException: The report could not be executed: No subreport of name rsfsx://jaspersubreport/e746ea16-6f67-4d42-b22f-d1aee4993fe8/logo found.


Please help me

Offline

#2 2017-03-06 19:28:29

phillipjohnson
Member
From: Columbus, OH, USA
Registered: 2016-11-03
Website

Re: Error: An error occurred during report execution

For anyone else coming across this, it seems to be a compilation error with the sub-report. Here was my solution:

  1. Upload each sub-report as its own master report

  2. Run the sub-reports until you find one with an error. I had an error with an unsupported enumeration for stretchType

  3. Fix the sub-report

  4. Re-upload the corrected sub-report on the master report

Offline

#3 2017-03-09 19:15:20

aaronmartin1651
Member
Registered: 2017-03-02

Re: Error: An error occurred during report execution

EDIT:
I have a very detailed post (still unsolved at the moment) that may be helpful to read through

https://forum.reportserver.net/viewtopic.php?id=781

My report does not have any subreports and I am getting this error.  Any suggestions?

Last edited by aaronmartin1651 (2017-03-10 05:06:22)

Offline

#4 2017-03-14 10:33:45

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Error: An error occurred during report execution

For completeness:

aaronmartin1651 wrote:

Issue appears to be with Jasper Studio installation, somehow when creating a JRXML file it is inserting data that makes ReportServer believe there is a subreport present even when there is not.  Subsequent installs on other pcs allow the creation of reports and uploading of reports with no problems.

Cheers,
Eduardo

Offline

#5 2020-05-01 13:10:07

saroshmk
Member
From: Palampur, India
Registered: 2018-07-17

Re: Error: An error occurred during report execution

I see the same message on my instance of ReportServer

Error: An error occurred during report execution.
The report could not be executed: net.sf.jasperreports.engine.JRException: Error executing SQL statement for: TileDS.
To get help please contact an administrator.

I have a Jasper Report with 7 subreports. The offending subreport had a Dataset called TileDS, which was removed. But even after uploading the latest subreport, RS seems to be referring to the older JRXML.

I've deployed the subreport on it's own and run it. It executes without a compilation error.

Are the JRXMLs cached? Is there a way to clear it?

Offline

#6 2020-05-02 09:26:16

saroshmk
Member
From: Palampur, India
Registered: 2018-07-17

Re: Error: An error occurred during report execution

The issue is resolved! I missed checking catalina.out There was an SQL error. Resolving it sorted the problem out.

The error message involving the older Jasper dataset name got me thinking wrong. Looks like if the code doesn't compile under RS, it errors with reference to the version of code it holds (as against the version that was just uploaded).

Is this right?

Offline

#7 2020-05-04 13:39:33

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Error: An error occurred during report execution

Hello saroshmk,

are you sure the log entry corresponds with your execution attempt, and not with a past error ? When you replace a subreport with a newer version, the subreport is compiled during upload. It is hard to imagine that after this old references exist. Please check again.

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB