monika.sudam.mali Posted July 25, 2019 Share Posted July 25, 2019 Hello ,I have a report with an image on it.I have set the property of the image to "repo:/organizations/resources/images/Custom/Background.png"I deployed the report with the help of the "repository server" to jasperserver.I uploaded the image to the Resource/images/Custom/ folder.On executing the report i am getting the following errorThe server has encountered an error. Please excuse the inconvenience.Error MessageRepository file resource "path" could not be loadedCan anyone help me regarding this issue. ThanksMonika Link to comment Share on other sites More sharing options...
prusyn Posted July 26, 2019 Share Posted July 26, 2019 What user are you trying to execute the report as? Only superuser can see absolute path to resources, like /organizations/org_name/path/to/resource/To make report available for the user from the organization, you need to specify relative path to the resource. If the absolute path is repo:/organizations/org_name/path/to/resource/ then relative path would be repo:/path/to/resource/ Link to comment Share on other sites More sharing options...
monika.sudam.mali Posted August 1, 2019 Author Share Posted August 1, 2019 I have used this path (repo:/organizations/org_name/path/to/resource/)In studio this path is working fine but throwing error on server. 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