000037539 - Getting an error when exporting a record or report in RSA Archer as HTML with images excluded

Document created by RSA Customer Support Employee on Jun 4, 2019
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000037539
Applies ToRSA Product Set: Archer
RSA Product/Service Type: RSA Archer (On-Premise)
RSA Version/Condition: 6.x
 
Issue
  1. Open a record in any application/questionnaire OR Run any report
  2. Click on “Export” button (top right).
    User-added image
     
  3. Click on “HTML File” option
    User-added image
  4. Click on “Exclude all images in the export file” option, click “OK”.
    User-added image
     
  5. The following error message will be shown: “An error has occurred during the export process. The export file cannot be completed. Contact your system administrator.”
    User-added image

    In the logs you see the following error:

     




    <TraceData>
                <DataItem>
                    <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
                        <TraceIdentifier>Archer.NET</TraceIdentifier>
                        <Description>Object reference not set to an instance of an object.</Description>
                        <AppDomain>/LM/W3SVC/1/ROOT/RSAarcher-2-132028499458247716</AppDomain>
                        <Exception>
                            <ExceptionType>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                            <Message>Object reference not set to an instance of an object.</Message>
                            <Source>ArcherTech.Web.Modules.Foundation</Source>
                            <StackTrace>   at ArcherTech.Web.Modules.Foundation.Views.PrintExportPresenter.ExportRecord(SessionContext sessionContext, PrintExportCriteria printExportCriteria)</StackTrace>
                        </Exception>
                    </TraceRecord>
                </DataItem>
            </TraceData>


     

ResolutionThis issue can be fixed by adding HTML to the Whitelist in the Archer Control Panel under the Installation Settings -> File Creation Restriction tab.

User-added image

Attachments

    Outcomes