Hello,
when i use StiReportResponse.ResponseAsPdf(page, report, true), the browser gets an unreadable PDF document as result.
The problem occurs only on a certain server with Windows Server 2008R2 and IIS 7.5.7600. Used browsers are IE9,IE10 and FF 20.
The Stimulsoft dlls have the Version 2012.3.1500.0.
Before the update, we used Stimulsoft dlls with Version 2010.3.900.0 and everything worked fine.
We use the Stimulsoft Version 2012.3.1500.0 on other servers and workstations without any problems.
Are there any Stimulsoft or IIS parameters which could cause the problem on this server?
With best regards
Martin
Sti...ResponseAsPdf() produces unreadable PDF after update
Re: Sti...ResponseAsPdf() produces unreadable PDF after upda
Hello,
we use a gzip compression for all pages of our web application. If i turn off the compression, download of reports works.
With best regards
Martin
we use a gzip compression for all pages of our web application. If i turn off the compression, download of reports works.
With best regards
Martin
Re: Sti...ResponseAsPdf() produces unreadable PDF after upda
Hello,
Please try to set the following static option:
If this does not help, please try the following option:
Also in this issue can help the following option:
Thank you.
Please try to set the following static option:
Code: Select all
StiOptions.Web.ClearResponseHeaders = true;
Code: Select all
StiReportResponse.ResponseCacheTimeout = 0;
Code: Select all
StiOptions.Web.AllowUseResponseFlush = false;
Re: Sti...ResponseAsPdf() produces unreadable PDF after upda
Thanks for your quick response.
The combination of StiOptions.Web.ClearResponseHeaders and StiReportResponse.ResponseCacheTimeout with the recommended values solved my problem.
If somebody else has the same problem: don't forget to clear the browser cache, if you change the values of the Stimulsoft properties.
With best regards
Martin
The combination of StiOptions.Web.ClearResponseHeaders and StiReportResponse.ResponseCacheTimeout with the recommended values solved my problem.
If somebody else has the same problem: don't forget to clear the browser cache, if you change the values of the Stimulsoft properties.
With best regards
Martin
Re: Sti...ResponseAsPdf() produces unreadable PDF after upda
Hello,
Thank you for the information.
Let us know if you need any additional help.
Thank you for the information.
Let us know if you need any additional help.