API as a source of external image

Zolotoy 226 Reputation points

I want to show an image in my report that is generated on the server. I have an endpoint that does it. It looks like this: https://localhost:5001/getImage. IN the design pan I see the image, but when I run it I get red X. Published report shows nothing at all. Any idea?


SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,818 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Joyzhao-MSFT 15,566 Reputation points

    Hi @Zolotoy ,
    For SSRS reports that reference external images (that is, images that are not stored in the database or in the report itself), I must remind you that for the file path, please make sure that you have the permissions of the SSRS service account and the Unattended account. You may want to consider pulling the files down to your local report server if performance issues prevail when the report retrieves images.
    And is there any information about the operation in the error log file? In addition to displaying red X when running, are there any more error messages?
    Best Regards,

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.