Skip to content

Anti-Virus Causes Report Viewer Unhandled Error

Release Date: 01/23/2020
Version: 8.0 & Up

A user running Elliott 8.2 received the following error when printing a report to the screen. They rebooted the server a few times, but they were still receiving the following errors when printing reports to screen on various workstations:

We first asked them to send us the error log as indicated in the path above (e.g., M:\Elliott7\Log\RVErrors-210121165317.Log). The following is a sample of this log:

1/21/2021 4:53 PM <Unknown>
System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details. The error is: External component has thrown an exception. ---> System.Runtime.InteropServices.SEHException: External component has thrown an exception.
  at El7Net.EL800RV.InitializeComponent()
  at El7Net.EL800RV..ctor() in G:\NSI.SRC\nw82\EL800RV\EL800RV\EL800RV.vb:line 1521
  --- End of inner exception stack trace ---
  at El7Net.My.MyProject.MyForms.Create__Instance__[T](T Instance) in :line 190
  at El7Net.My.MyApplication.OnCreateMainForm() in G:\NSI.SRC\nw82\EL800RV\EL800RV\My Project\Application.Designer.vb:line 35
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
  at El7Net.My.MyApplication.Main(String[] Args) in :line 81

The log message is not specific and there's no clear answer to why the Elliott Report Viewer crashed. We suggested when printing a report, that in the Screen tab the user chooses to view the report in NOTEPAD.EXE instead of the default Report Viewer for now. See sample screen below:

Later on we were able to get their IT to turn off their anti-virus and that appeared to be the culprit.  Elliott runs from <ElliottRoot>\Bin, or Bin?? where ?? is the version number like 85 or 86...etc. If the anti-virus is the issue, your IT can configure to whitelist the folder without disabling the anti-virus.  

Generally speaking, anti-virus software has accounted for many support issues. Sometimes we have customers complaining and asking why our software does not work with their anti-virus software. But the question should really be turned around -- they should be asking their anti-virus software vendor why the anti-virus labels Elliott Business Software's EXE as a threat and stops Elliott from running.  This is like an innocent third party being arrested by the police. Then we blame the third party being arrested by the police, instead of blaming the police who arrested the wrong person.

Please also see the following article:


Feedback and Knowledge Base