I have a report that needs to be delivered with a dynamic custom header. To accomplish this, I used a subreport element that uses a header-type parameter to link to the correct header subreport. This works fine in Jaspersoft Studio, but i cant get it to work on the server itself. I already copied the folder structure thats on the server within my developemnt workspace so that path would be the same on both systems but no luck. I guess I am doing something fundamentally wrong. I have uploaded my header-subreports as individual report units within a headers folder. Then, I uploaded the main Report which should use one of the headers depending on a parameter. No matter how i change the subreport expression, the main report never works, while i can perfectly access the header on its own. Here is some of the things i tried already, if at all they only worked in the dev studio: standard path: "/reports/aaaaa/headers/"+$P{P_HEADER}+".jasper" repo path: "repo:/reports/SecondaryDB/Headers/"+$P{P_HEADER}+".jasper" tried omitting +".jasper" because i cannot see an actual jasper file, just a report unit. tried to replace +".jasper" with +"/Main.jasper" or "/Main.jrxml" tried using single or double backslash instead of forward slash tried using the full external url to the header report none of that seemed to work. A thing I have not tried, including the headers right with the main report. This is because I need to maintain the headers as a single, globally available instance, rather than having compiled copies of them in every single report. Can someone plase give me an example how this can be achieved?