cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jonasr
Frequent Visitor

Incorrect MIME TYPE in Resources

 

Hi,

 

we have an instance of PBI Report Server to store SSRS and PBIX reports. We would like to also store there as Resources other types of files such as images, html, etc and source these files from reports (such as logos, etc.). According to SSRS documentation, such MIME Types should be supported by the Report Server and rendered in browser. Unfortunately, this does not seem to be the case. If we deploy any such file (tested with HTML, PNG) as Resource to the server (either via Visual Studio or Web Portal), its MIME Type shows in Web Portal "Manage" as application/octet-stream. Therefore, when trying to access it via URL in the browser (or through the Web Portal), it does not render but we are only provided with the option to download the file. Similarly, when we include reference to such image in a SSRS report as External image, it does not render.

 

How do I change the MIME Type of the uploaded file (I also tried to change its extention via Web Portal but the MIME Type did not change)? Or how can I upload the file with correct MIME Type? Do I need to change something in the PBI Report Server config file to solve it?

 

Any help would be much appretiated.

 

Thanks.

1 ACCEPTED SOLUTION
jonasr
Frequent Visitor

Never mind, I just found the answer. The issue can be solved with the same approach as suggested here.

 

https://community.powerbi.com/t5/Report-Server/PNG-images-not-displaying-in-paginated-reports-using-...

 

 

View solution in original post

1 REPLY 1
jonasr
Frequent Visitor

Never mind, I just found the answer. The issue can be solved with the same approach as suggested here.

 

https://community.powerbi.com/t5/Report-Server/PNG-images-not-displaying-in-paginated-reports-using-...

 

 

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.