Export issue in WebViewerFx

Stimulsoft Ultimate discussion
Post Reply
Togo
Posts: 58
Joined: Wed Jun 19, 2013 4:34 am

Export issue in WebViewerFx

Post by Togo »

Hello

We just discovered a problem in WebViewerFx where an exception will be thrown when the user tries to export the report in certain format after upgrading to the 2013.2 release. For example if the users tries to export the report in Excel or OpenDocument Calc format via the corresponding options under the Save menu, an exception will be thrown. I have tried both the release version 2013.2.1700 and the prerelease 2013.3.1701, and they all exhibits the same problem.

Code: Select all

Exception information: 
    Exception type: InvalidCastException 
    Exception message: Unable to cast object of type 'Stimulsoft.Report.Export.StiExcelExportSettings' to type 'Stimulsoft.Report.Export.StiExcel2007ExportSettings'.
   at Stimulsoft.Report.WebFx.StiExportsClass.ExportReport(Page page, StiReport report, StiExportSettings settings, Boolean saveFileDialog, StiHtmlImageHost htmlImageHost)
   at Stimulsoft.Report.WebFx.StiWebViewerFx.ExportReport(String postString, Boolean email)
   at Stimulsoft.Report.WebFx.StiWebViewerFx.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.AddedControl(Control control, Int32 index)
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Code: Select all

    Stack trace:    at Stimulsoft.Report.WebFx.StiExportsClass.ExportReport(Page page, StiReport report, StiExportSettings settings, Boolean saveFileDialog, StiHtmlImageHost htmlImageHost)
   at Stimulsoft.Report.WebFx.StiWebViewerFx.ExportReport(String postString, Boolean email)
   at Stimulsoft.Report.WebFx.StiWebViewerFx.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.AddedControl(Control control, Int32 index)
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Export issue in WebViewerFx

Post by Vladimir »

Hello,

Thanks for the bug report. We have reproduced the error, fix will be available in the next prerelease build next week.

Thank you.
Anhph68
Posts: 6
Joined: Thu Apr 11, 2013 12:38 pm

Re: Export issue in WebViewerFx

Post by Anhph68 »

Hi,

I have had a problem of WebViewerFx.

When I use Firefox to view StiReport, WebViewerFx show the message: "Connecting to Server", but it then didn't load data for the report.

It did very well in Chrome and IE9. I tested successfully in StiDesigner.

Help me, I need WebViewerFx also can load completely in Firefox.

Has anyone had the same issue?
Untitled.png
Untitled.png (35.07 KiB) Viewed 2076 times
Thank you so much!
:mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen:
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export issue in WebViewerFx

Post by HighAley »

Hello.

Do you use caching or data compression on server side? Please, try to disable it.
Which version do you use?

Thank you.
Post Reply