Jump to content
JasperReports Library 7.0 is now available ×

Subreport / Access is denied in "Resources" folder


kschmitte

Recommended Posts

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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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,

 

Kai

Post edited by: kschmitte, at: 2007/06/14 17:12

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...