question

AsafOren-4835 avatar image
0 Votes"
AsafOren-4835 asked Joyzhao-MSFT answered

Option for openning an excel file with an attachment

Hi People,
We have pics in our DataBase that we present through SSRS when we extract Excel files.
It works perfectly with JPG and PNG, but not PDF.
I know that it's because PDF is not supported by SSRS, as this link mentioned:
https://docs.microsoft.com/en-us/dotnet/api/microsoft.reportingservices.reportrendering.image.mimetype?view=sqlserver-2016

But it there a way I can insert this PDF as an attachment somehow? Or any ideas on how I can present this a PDF file inside an SSRS report?

sql-server-reporting-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

OlafHelper-2800 avatar image
0 Votes"
OlafHelper-2800 answered

Or any ideas on how I can present this a PDF file inside an SSRS report?

That's not possible to present documents like PDF or Word inside a SSRS report.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Joyzhao-MSFT avatar image
0 Votes"
Joyzhao-MSFT answered

Hi @AsafOren-4835
RDL is inherently a format that is used to present extracted data whereas PDF is most often used as a publishing tool of static (e.g. word) documents.
Documents such as pdf cannot be opened in SSRS, and you are unlikely to find any commercial utility to perform the conversion of pdf files to rdl.
Best Regards,
Joy


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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.