We help IT Professionals succeed at work.

Sub report issue in ireport (Jasper report)

sreejithm
sreejithm asked
on
Hi,

I have designed a report using ireport 3.7.3 The master report includes a sub report. Everything works fine when i run the report in ireport designer. However, when i access the report from the app server, it gives the error "Could not load object from location : \SALES_ORDER_STATUS_subreport1.jasper "
I have copied both the reports in the same folder in the app  server location.  Sales-Order.xml
 SALES-ORDER-STATUS-subreport1.txt

I have attached the xml code for both master and sub report here with.

Kindly assist me on how this issue can be resolved.

Thanks and regards,
Comment
Watch Question

Top Expert 2009
Commented:
"You have to put the files in the same directory and set the parameter SUBREPORT_DIR with the path of the directory where you put them (if it doesn't work try using different separator../ or or //)"

Ref: http://jasperforge.org/plugins/espforum/view.php?group_id=83&forumid=101&topicid=45515

Author

Commented:
HI..i tried this without success..

Author

Commented:
Incomplete solution