Here is my reproduce step.
1. Web Server is 64 bit machine
2. Launch IE explorer and conntect a web site to run report. Security zone is 'Internet' zone.
3. Run any report and goto save tool buton and export the report as any format (for example PDF)
4. Click OK on 'Export Settings' dialog
5. An message will appear to inform user that IE blocked this site from downloading files. Right click on the message and select 'Download File...' from the context menu
6. Then have the following error
Root element is missing.
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.Xml.XmlException: Root element is missing.
--------------------------------------------------------------------------------
7. After getting this error, exporting works fine.
8. Also I noticed if I'm using 'Local Intranet' zone, it didn't happen.
Thanks
An security error when exporting the report as a PDF or other format
An security error when exporting the report as a PDF or other format
Hello,
Please try to set this option: StiOptions.Web.ClearResponseHeaders = true;
Also, try to disable caching and data compression on the server side (temporarily for testing).
Thank you.
Please try to set this option: StiOptions.Web.ClearResponseHeaders = true;
Also, try to disable caching and data compression on the server side (temporarily for testing).
Thank you.
An security error when exporting the report as a PDF or other format
With StiOptions.Web.ClearResponseHeaders = true
it doesn't display "Root element is missing" any more. But it still cannot export at the first time.
I couldn't find any solution other than change secruity settings on IE.
it doesn't display "Root element is missing" any more. But it still cannot export at the first time.
I couldn't find any solution other than change secruity settings on IE.
An security error when exporting the report as a PDF or other format
Hello,
We need time to find out the reasons for this behavior, we will let you know about the results.
Thank you.
We need time to find out the reasons for this behavior, we will let you know about the results.
Thank you.
An security error when exporting the report as a PDF or other format
Hello,
We tested the export on the various systems and IIS servers and could not reproduce the error. Could you provide access to your server for testing? (for the first time is enough the URL of the page on which WebViewerFx or WebDesigner is located).
Thank you.
We tested the export on the various systems and IIS servers and could not reproduce the error. Could you provide access to your server for testing? (for the first time is enough the URL of the page on which WebViewerFx or WebDesigner is located).
Thank you.