Jump to content
We've recently updated our Privacy Statement, available here ×

Error when running a main report using a subreport twice


valeria_g

Recommended Posts

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! 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...