Network Management

Error displays when generating a report

This article addresses an error that displays when you generate a report. Error: ERROR ReportingLogger - (null) Error during fetching url: https://HOSTNAME:443/Orion/Report.aspx?ReportID=1 using PDF type System.ArgumentNullException: Value cannot be null.

First published date

10/23/2018 2:57 PM

Last published date

2/15/2020 12:47 PM

Overview

When you schedule a report, the report fails and generates the following error: 

ERROR ReportingLogger - (null) Error during fetching url: https://HOSTNAME:443/Orion/Report.aspx?ReportID=1 using PDF type
System.ArgumentNullException: Value cannot be null.

 

On the View Report page, the Export to PDF button is functional (which was depreciated in NPM 12.2). However, when you use the Report Schedule, it always fails, no matter what report is used with the same error.

 

When you check the  Orion Core Business Layer log file located at: (C:\ProgramData\SolarWinds\Logs\Orion\Core.BusinessLayer.log), the following error displays in the log:

 

INFO SolarWinds.Orion.Security.ProcessRunner - (null) stderr: 
Unhandled Exception: System.TypeInitializationException: The type initializer for 'EO.Pdf.Runtime' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'EO.Base, Version=16.0.55.0, Culture=neutral, PublicKeyToken=e92353a6bf73fffc' or one of its dependencies. The system cannot find the file specified.
at EO.Pdf.Runtime..cctor()
--- End of inner exception stack trace ---
at EO.Pdf.Runtime.AddLicense(String license)
at ExportToPdfCmd.HTMLExporter.Export(Dictionary`2 parameters)
at ExportToPdfCmd.Program.Main(String[]args

 

Product section

Orion Platform

Cause

Missing DLL files - Usually related to Permission or 3rd party software (such as Anti Virus). In this case, Two files were missing in the Program Files directory that should have been there.

Resolution

  1. Navigate to:
    c:\inetpub\SolarWinds\bin\
  2. Copy all eo files to:
    c:\Program Files (x86)\SolarWinds\Orion\

If the Issue persists: 

1. Backup all eo. files to another folder (New folder on Desktop) on:
[Default Install path] c:\Program Files (x86)\SolarWinds\Orion\

2. On the Orion server, Navigate to:
c:\inetpub\SolarWinds\bin\
Copy all eo. files to (replace if needed):
[Default Install path] c:\Program Files (x86)\SolarWinds\Orion\


3. Restart Orion services using Orion service manager