May 13, 2013 at 3:54 PM
Edited May 13, 2013 at 3:58 PM
I installed the SemanticLogging service using the command:
It installed as Manual startup with the account Local Service. I hit Start in the services console and get:
Windows could not start the Enterprise Library Semantic Logging Out-of-Process Service service on Local Computer.
Error 5: Access is denied.
Since I couldn't get SQL working on this machine (see
) I've edited the .xml file to contain just one sink:
And I've granted Modify to LocalService on that folder.
If I try to run this in console mode as me (not elevated), I get an UnauthorizedAccessException, "Only users with administrative privileges, users in the Performance Log Users group, and services running as LocalSystem,
, NetworkService can control event tracing sessions. To grant a restricted user the ability to control trace sessions, add them to the Performance Log Users group." [my emphasis] which suggests that LocalService should be able
to to the ETW so what's the problem?