No pdf save with IE8 by ssl

Stimulsoft Reports.NET discussion
jochen
Posts: 9
Joined: Tue Nov 06, 2007 3:02 am
Location: Germany

No pdf save with IE8 by ssl

Post by jochen »

We use the Stimulsoft Reports.Net. Our webaplication have a preview site to view the reports. Now with the IE8 Browser we can’t save the preview output to pdf or excel. The problem is only when we use the IE8 with ssl (https). If we use no ssl we can save the preview output to pdf or excel. With Firefox and IE9 there is no problem.
The error message is:
“Unable to download ReportPView.aspx from localhost
Unable to open this Internet site. The requested site is either unenviable or cannot be found. Please try again later.”
Have you a solution for us?
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: No pdf save with IE8 by ssl

Post by Vladimir »

Hello,

Please specify which version of the product you are using? Also please indicate if you are using data compression on the server side.

Thank you.
jochen
Posts: 9
Joined: Tue Nov 06, 2007 3:02 am
Location: Germany

Re: No pdf save with IE8 by ssl

Post by jochen »

we have the relase Stiulsoft.Net Version 2012.3. 1500 and i nhave tested with 2013.1.1600.
In the old verison 2010.3.900 there was no problem by save as pdf.

Jochen
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: No pdf save with IE8 by ssl

Post by Vladimir »

Hello,

Please indicate if you are using data compression on the server side. If so, try disabling compression.

As well let us know the value of properties and options that you set.
Try to set the following items (not necessarily all at once, check each option separately):

StiOptions.Web.AllowUseResponseFlush = false;
StiOptions.Web.ClearResponseHeaders = true;
StiReportResponse.ResponseCacheTimeout = 0;
StiOptions.Engine.FullTrust = false;

Thank you.
jochen
Posts: 9
Joined: Tue Nov 06, 2007 3:02 am
Location: Germany

Re: No pdf save with IE8 by ssl

Post by jochen »

Hello
now i have tested all items.
The data compression is off.
And the other items there have have no better results.
By the Option StiOptions.Engine.FullTrust = false; an exeption is set see below

Jochen

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index]
System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index) +12549589
Stimulsoft.Report.Components.StiPagesCollection.get_Item(Int32 index) +28
Stimulsoft.Report.Web.StiWebViewer.RenderHtmlTable() +1136
Stimulsoft.Report.Web.StiWebViewer.RenderContents(HtmlTextWriter output) +2025
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +52
Stimulsoft.Report.Web.StiWebViewer.Render(HtmlTextWriter output) +1945
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +315
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +48
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.Page.Render(HtmlTextWriter writer) +40
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +11436322
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5290
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: No pdf save with IE8 by ssl

Post by Vladimir »

Hello,

We need some time for testing. We will inform you about the results in this forum thread.

Thank you.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: No pdf save with IE8 by ssl

Post by Vladimir »

Hello,

We tested the export report on HTTPS connection, everything works correctly. For testing we used the IIS 7.
Perhaps important any other settings. Please describe the settings of your IIS that affect the export report. We will set them for our test IIS.

Thank you.
jochen
Posts: 9
Joined: Tue Nov 06, 2007 3:02 am
Location: Germany

Re: No pdf save with IE8 by ssl

Post by jochen »

Hello,

We use II7 on Windows 7 or Windows Server 2008 R2 Standard
Server Certificates: create Self-Signed Certificate
Bindings: (Default Web Site Home)
http port: 80
https port: 443 with the self certificate
Settings on the WebSite:
SSL Settings:
Require SSL true
Client certifucates:
Accept
the other parameters are at default.

Thank youu.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: No pdf save with IE8 by ssl

Post by Vladimir »

Hello,

We set the settings that you have described, the error is not reproduced. In the attached file is a test application, please try to run it on your server.
https_test.zip
(5 MiB) Downloaded 205 times
Thank you.
jochen
Posts: 9
Joined: Tue Nov 06, 2007 3:02 am
Location: Germany

Re: No pdf save with IE8 by ssl

Post by jochen »

Hello,
Now I have found a solution for the problem with IE8 and https.
We used the option “StiReportResponse.ResponseCacheTimeout = 0”
With this settings we have the error with the IE8 and https by save a PDF-file.
To set “StiReportResponse.ResponseCacheTimeout = 1” there are no more errors by save as PDF.

Thank you for your help.

Jochen
Post Reply