NFA Scheduled Reports Stopped Running

Document ID : KB000009282
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Scheduled reports fail to run.  You can see the following error in the Manager Service Log for that day:

0:01:17 5 - Report Scheduler: Running report <REPORTNAME> (ID=<REPORTID#>)

0:01:17 2 - Report Scheduler: Error executing report: ID <REPORTID#>

0:01:17 2 - Report Scheduler - :

Retrieving the COM class factory for component with CLSID {33F5630E-2065-4F75-94B5-5552AA6B5929} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).

System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {33F5630E-2065-4F75-94B5-5552AA6B5929} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).

   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)

   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)

   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)

   at System.Activator.CreateInstance(Type type, Boolean nonPublic)

   at System.Activator.CreateInstance(Type type)

   at NetQoS.ReporterAnalyzer.Business.ReportDefinitions.DynamicInvoke(String progID, String methodName, Object[] parameters)

   at NetQoS.ReporterAnalyzer.Business.ReportDefinitions.StartReport(UInt32 reportID, Boolean isCustomReport, Boolean isScheduled)

   at NetQoS.ReporterAnalyzer.Business.ReportDefinitions.RunReport(UInt32 reportID, Boolean isScheduled)

   at NetQoS.ReporterAnalyzer.Business.ReportSchedulerThread.RunReport(UInt32 reportId)

   at NetQoS.ReporterAnalyzer.Business.BaseReportSchedulerThread.Run(IEmailSchedule schedules)

Cause:

The error in the log is referencing a CLSID value associated with the NetQoS Reporter/Analyzer Query Services service. The most likely cause is that the service is hung.  

Resolution:

Restart the NetQoS Reporter/Analyzer Query Services service and the scheduled reports should be able to run again.