May 09, 2005

Windows Server 2003 - issue with web service event logging.

I came across one problem when web service tried to enter log in windows event log, an exception occurred related to write access.

This problem caused because of default ACL settings in Windows server 2003. The ACL (Access Control Layer) prohibits web service to write log entries.

This problem can be solved by changing ACL settings in registry:


Locate the CustomSD key and add the following string to the existing value:


Check this KB article too...