Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

RDLC Render fails when a TextBox is made bold

$
0
0

I have a web application that includes RDLCs. I made a change to an RDLC to make a Text Box with a fixed string bold. As a result, it works with some data set values, but others cause Acrobat Reader to throw a "There was an error opening this document. The file is damaged and could not be repaired" error.

I have changed the LocalReport.Render call to include "<DeviceInfo><EmbedFonts>None</EmbedFonts></DeviceInfo>" as the second argument, but this did not work.

Note that this is being developed with VS 2019, but the RDLC targets SQL Server 2008.

How can I fix this?


Viewing all articles
Browse latest Browse all 1418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>