If you create an Event Log entry from an ASP.Net application using
with an unregistered value for the Source parameter, you may raise the exception
System.Security. SecurityException: Requested registry access is not allowed.
This can be solved by creating a registry Key with the Source name under
manually or via an installer application, as described in MS KnowledgeBase article 329291. Another possibility is to create a .reg file and import it into the registry.