Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ApplicationLog
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
ApplicationLog
Miscellaneous
Thread ID:
00791804
Message ID:
00791804
Views:
38
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?
Brian Burlingame
Software Engineer/Consultant
Olympic Consulting Group
brian.burlingame@ocgworld.com
Next
Reply
Map
View

Click here to load this message in the networking platform