Closed MatthiasKohl closed 9 years ago
When you run the addin's installer, it adds the trace topic to the system. If you have never run the installer and copy the files into your addins directory directly, you'll get this error. Can you confirm that this error goes away if you install using the installer or if you run the client as admin once?
Thanks for the clarification. I verified and indeed, the error goes away when using the installer.
I'm getting the following exception every time the add-in loads.
This is in the constructor of the add-in when the Traclib is initialized:
Exception caught attempting to change event log source: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security. Top Exception Type=System.Security.SecurityException Source=System Message=The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security. StackTrace: at System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly, Boolean wantToCreate) at System.Diagnostics.EventLog.SourceExists(String source, String machineName, Boolean wantToCreate) at System.Diagnostics.EventLog.SourceExists(String source) at VidyoIntegration.TraceLib.TraceLibBase.SetEventLogSource(String source) in c:\Users\matthias.kohl\Documents\Projects & Documentation\Vidyo\AppDevEMEA\src\VidyoIntegration\Common\TraceLib\TraceLibBase.cs:line 145
In the code, this exception is already commented, but I think this should be addressed and either removed (no-one is going to run the client/desktop as admin anyway) or the exception should not be traced as an exception, since it's really expected behavior.