System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security
问题 I am trying to create a Windows Service, but when I try and install it, it rolls back giving me this error: System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security. I don't know what this means - my application has the bare minimum since I am just testing things out first. My Installer Code: namespace WindowsService1 { [RunInstaller(true)] public partial class ProjectInstaller : System.Configuration.Install