-
Notifications
You must be signed in to change notification settings - Fork 75
How to reference an external image hosted on the report server
Anthony edited this page Sep 1, 2017
·
2 revisions
- Setup an unattended execution account, (See the Execution pane in the Reporting Services Configuration Tool)
- Ensure “everyone” has browse access to the images folder, (or confirm that the user running the report has access to the images folder)
- In your report set the URL of your image with an expression like the following:
=IIf(Globals!ReportServerUrl is nothing, "http://localhost/ReportServer", Globals!ReportServerUrl) + "?%2fimages%2fimage.png"
Two things of interest in this code:
- There is a ? after the http:///ReportServer path
- This expression uses the localhost when in the IDE preview window and the full reportserverUrl when deployed to a server.