{"id":2756,"date":"2022-08-30T15:27:31","date_gmt":"2022-08-30T15:27:31","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/02\/08\/subreport-in-main-report-ireport4-5-1-and-jasperreport-4-5-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:27:31","modified_gmt":"2022-08-30T15:27:31","slug":"subreport-in-main-report-ireport4-5-1-and-jasperreport-4-5-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/subreport-in-main-report-ireport4-5-1-and-jasperreport-4-5-collection-of-common-programming-errors\/","title":{"rendered":"SubReport in Main Report &#8211; iReport4.5.1 and JasperReport 4.5-Collection of common programming errors"},"content":{"rendered":"<p>Did you deployed the sub-reports to the Jasper Report server?<\/p>\n<pre><code>Error loading object from : repo:SUB_REPORT_NAME\n<\/code><\/pre>\n<p>That means that the main report was not able to find a sub-report named &#8220;SUB_REPORT_NAME&#8221; insife the Jasper Server repository, it looks like you have not deployed the subreports to the server as a resource inside the main report.<\/p>\n<p>In the iReport JS Repository Navigator you should se something like this:<\/p>\n<p>My Report &#8211; Main.jrxml &#8211; Input Controls (folder) &#8211; Resources &#8211; Sub-report-1.jrxml &#8211; Sub-Report-2.jrxml<\/p>\n<p>An internally in the main report you should refer to your sub-reports as:<\/p>\n<pre><code>\n    ....\n    \n    .....\n<\/code><\/pre>\n<p id=\"rop\"><small>Originally posted 2014-02-08 15:59:47. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Did you deployed the sub-reports to the Jasper Report server? Error loading object from : repo:SUB_REPORT_NAME That means that the main report was not able to find a sub-report named &#8220;SUB_REPORT_NAME&#8221; insife the Jasper Server repository, it looks like you have not deployed the subreports to the server as a resource inside the main report. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2756","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2756","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2756"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2756\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}