I'm experiencing a lot of confusion about how to properly configure permissions so that my business objects can write to the event log using mmApplicationLog. Whenever my objects call "WriteLog", the following expression fails in the "mmLogAdapterEventLog" object:
"if (!EventLog.SourceExists(appName, this.Machine))..."
It appears to raise an exception whose message says, "Requested registry access is not allowed." I've done some research and found some threads stating that special permissions need to be granted to the aspnet_wp process in the registry for the EventLog. I've tried this with no success.
Does anyone have any step-by-step guidelines for configuring the logging properly?