Hi, guys I'm trying to upload main report with a subreport to a jasper server. There is an image in my subreport and i have renamed it as "repo: SS-PU.jpg" also the subreport is named the same way:
"repo: subreport.jrxml" . But i get this error
Repository file resource /reports/PeU_test/ExamProtocol_blank31_files/SS-PU.jpg could not be loaded
If i try to upload the subreport without an image there is no problem it works but i need the picture to be inside the subreport ...
In short can some one tell me how to upload a subreport to a main report with an image inside the subreport.
Well first of all I know jasper is sensitive to using "-" in any resource. Rather use "_".
Do you load the sub report onto jasper as a resource and then when you load your main reports you point to your subreport?
If you do load you're subreport onto repo then do you load the image as a resource as well.
Can you test the subreport seperatly in jasperserver to see if you have a path issues or incorrect load of resource onto jaspeserver?
If repo: does not work try the direct to resource first to test and see if same issue persist.