Skip to content

How to reference an external image hosted on the report server

Anthony edited this page Sep 1, 2017 · 2 revisions
  1. Setup an unattended execution account, (See the Execution pane in the Reporting Services Configuration Tool)
  2. Ensure “everyone” has browse access to the images folder, (or confirm that the user running the report has access to the images folder)
  3. 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:

  1. There is a ? after the http:///ReportServer path
  2. This expression uses the localhost when in the IDE preview window and the full reportserverUrl when deployed to a server.