Connect Daemon Terminates When Loading

Connect Daemon Terminates When Loading

Windows application logs throws error in the performance counters:


Application: birddog_connect_daemon.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.InvalidOperationException

   at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean)

   at System.Diagnostics.PerformanceCounterLib.get_NameTable()

   at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()

   at System.Diagnostics.PerformanceCounterLib.CounterExists(System.String, System.String, Boolean ByRef)

   at System.Diagnostics.PerformanceCounterLib.CounterExists(System.String, System.String, System.String)

   at System.Diagnostics.PerformanceCounter.InitializeImpl()

   at System.Diagnostics.PerformanceCounter..ctor(System.String, System.String, System.String, Boolean)

   at System.Diagnostics.PerformanceCounter..ctor(System.String, System.String, System.String)

   at wn_contribution_for_ndi.NdiCloudServer..ctor()

   at wn_contribution_for_ndi.Program.get_NdiCloudServer()

   at wn_contribution_for_ndi.Program.Main(System.String[])



According to Microsoft: “This behavior may occur if certain extensible counters corrupt the registry, or if Windows Management Instrumentation (WMI)-based programs modify the registry.»

 

To remedy this:

 

open a cmd as admin and change directory :

 

cd c:\windows\system32

 

then type in

 

lodctr /R  and hit enter

 

Then

 

cd c:\windows\sysWOW64

 

then type in

 

lodctr /R and hit enter

 

and

 

winmgmt.exe /RESYNCPERF and hit enter