SSRS Report renders HTML with header and footer embedded images swapped

Cole Smith 0 Reputation points
2023-10-05T20:52:11.5833333+00:00

I've created a report in SSRS (v.15) that has a header and footer defined; I've added two embedded images to the report, one of which I've placed in the header and the other in the footer.

When the report is exported from the report server as a PDF, it looks correct. However, if the report is run through the HTML renderer and gets sent as an email and is viewed in Outlook, it renders with the two images swapped (the header image appears in the footer, and vice-versa).

I've tried removing both images and adding them back in; I've checked the order in which they're present in the report's XML (see attached image, these are correct in the XML). I'm not sure what else to try.

page-code

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.
3,045 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andrzej Strzała 0 Reputation points
    2024-02-25T20:32:20.8033333+00:00

    Have you tried to open it with Outlook for web and see if the behavior is the same?

    I think that as a workaround you can involve using text boxes with background images instead of direct image items. This might be not ideal but maybe solve the issue.

    You can also try renaming the images in your report project to ensure they have distinct and unique names. Additionally, check that the images are correctly referenced in the report's design.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.