“Cannot open log for source” - Windows 7 - .NET web service - event log
问题 I have a .NET web service that is trying to log to the Windows Event Log. However, when I try to send a SOAP request to a web method in this web service, I get back this error in the SOAP response: System.InvalidOperationException: Cannot open log for source 'MySource'. You may not have write access. ---> System.ComponentModel.Win32Exception: Access is denied I've tried Googling around for a solution. This one describes editing a registry key that does not exist for me in Windows 7 64-bit;