Spot on, thanks.  We prefer to run it as a console, so logs are quick to 
view.  A quick setting to run as administrator for the shortcut fixed it.  
Thanks for the thought.

On Monday, June 25, 2018 at 2:18:05 PM UTC-4, Ruben Willems wrote:
>
> Hi
>
> this has to do with security on the eventlog.
> If you google for 
> *The source was not found, but some or all event logs could not be 
> searched.  Inaccessible logs: Security *
> you'll find the answer
>
>
> basically is means that the current user does not have the right to create 
> a new source name in the eventlog.
> running the service as an admin user, or as local system should solve it.
>
>
>
> with kind regards
> Ruben Willems
>
> On 25 June 2018 at 16:58, Dan Winsor <[email protected] <javascript:>> 
> wrote:
>
>> Hi all,
>>
>> Apologies if this has already been answered, but I poked around and 
>> wasn't able to find anything.  I'm building out a new CCNet machine running 
>> Windows 10.  I ported my config files from a prior Win7 based machine, so 
>> they should be sane, but when I start up the console, I get the following 
>> error:
>>
>> log4net:ERROR XmlHierarchyConfigurator: Could not create Appender 
>> [EventLogAppender] of type [log4net.Appender.EventLogAppender]. Reported 
>> error follows.
>> System.Security.SecurityException: The source was not found, but some or 
>> all event logs could not be searched.  Inaccessible logs: Security.
>>    at System.Diagnostics.EventLog.FindSourceRegistration(String source, 
>> String machineName, Boolean readOnly)
>>    at System.Diagnostics.EventLog.SourceExists(String source, String 
>> machineName)
>>    at log4net.Appender.EventLogAppender.ActivateOptions()
>>    at 
>> log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseAppender(XmlElement
>>  
>> appenderElement)
>> The Zone of the assembly that failed was:
>> MyComputer
>> log4net:ERROR XmlHierarchyConfigurator: Appender named [EventLogAppender] 
>> not found.
>>
>> I'm not sure if this has to do with execution permissions by the user 
>> that owns the console or exactly what that means.  Any pointers would be 
>> appreciated.
>>
>> -- 
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "ccnet-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ccnet-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to