kschmitte Posted June 14, 2007 Share Posted June 14, 2007 Hello All, Although I have read the current discussions for Subreports and the "Access is denied" error message when running a report with a subreport, I'm not able to get it running as I want to have it / would expect to get from the manual... I have a simple report as Report Unit & a simple subreport in the Resources folder of the Report Unit. I reference it with the subreport expression"repo:/Test/testreport/Resources/subreport.jrxml"with /Test as a folder in the root directory /testreport as the report unit /Resources as the std. Resources folder of the report unit /subreport.jrxml as the name of my subreport When I put the subreport in the folder /Test it works ... Thanks for any help! Kai Schmitte Link to comment Share on other sites More sharing options...
swood Posted June 14, 2007 Share Posted June 14, 2007 Report Units have the concept of local resources, like your subreport. The URI to these is of the form: repo:<resourceName> ie. no / In your case, try: repo:subreport.jrxml ShermanJasperSoft Link to comment Share on other sites More sharing options...
kschmitte Posted June 15, 2007 Author Share Posted June 15, 2007 Hello Sherman, thanks for the quick answer. Removing the "/" did it ...It looks now as following: "repo:mysubreport.jrxml" I guess this is the only notation I didn't try ...) Thanks, KaiPost edited by: kschmitte, at: 2007/06/14 17:12 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now