LocalReport (WebForms) and Partial Trust, for PDF Generation
Posted
by
Peet Brits
on Stack Overflow
See other posts from Stack Overflow
or by Peet Brits
Published on 2010-12-30T10:40:45Z
Indexed on
2010/12/30
10:54 UTC
Read the original article
Hit count: 482
My goal is to generate a PDF for display in a web page, either as aspx or with a generic handler. (This will link from a Silverlight page, but this is irrelevant to the problem.)
The problem is that LocalReport (Microsoft.Reporting.WebForms; Microsoft.ReportViewer.WebForms.dll) requires full trust, and our hosting server does not allow full trust. I am aware that ReportViewer has a remote mode that will allow it to run with partial trust, but for that I need a report server url which should probably have full trust as well, which does not solve anything.
So how do I generate PDFs from WebForms in a partially trusted environment?
© Stack Overflow or respective owner