Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ApplicationLog
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
ApplicationLog
Divers
Thread ID:
00791804
Message ID:
00791804
Vues:
37
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform