Hi,
I have an issue when trying to execute a report which is using a subreport twice but with different parameters.
For exemple, I have a main report which is displaying technical specifications for different catégories.
Main report :
- Subreport 1 ( parameter : 'Printer')
- Subreport ( parameter : 'Screen')
It's working when executing it in the Studio but when I publish it on the server and try to execute it, I get an error : "An error occured, please contact your administrator".
Does anybody know how to solve this ??
Thanks!
Can you please paste the log? I don´t think that is enough information for us to work out a solution.
I get this message :
Error filling report net.sf.jasperreports.engine.JRException: Resource not found at : MyDirectory/Subreport1.jasper
I deploy the report ant its subreport with the "publish" button in Jasper Studio. I don't think it's a subreport path issue because with only one instance of it, it's ok. It's only when I put 2 or more instances of the subreport in the main report that the server crashes...