An security error when exporting the report as a PDF or other format
Posted: Thu Apr 26, 2012 6:19 pm
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
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