We help IT Professionals succeed at work.

Only Administrator can view errors logged using Microsoft Enterprise Library 5.0

Lasta
Lasta used Ask the Experts™
on
A .NET 4 application uses Enterprise Library 5.0 for logging exceptions. However, only Administrator is able to see those Errors in Windows 7 Event Viewer (under Windows Logs | Application). What should be added to the installation process to enable regular users to see that log?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2011
Commented:
It is possible to set permissions on the Windows Event Log. This can be done either locally, on each computer, or using Group Policy in Windows Server 2003.
 This may be required since you may want to limit access to the Windows Events Logs to specific users, normally the administrators. You may also need to configure these permissions to allow GFI Events Manager to retrieve the events from the remote computers.
 
Does Windows 7 still assign Event Log permissions via the Registry?
http://stackoverflow.com/questions/2307801/does-windows-7-still-assign-event-log-permissions-via-the-registry

Giving Non Administrators permission to read Event Logs Windows 2003 and Windows 2008
http://blogs.technet.com/b/janelewis/archive/2010/04/30/giving-non-administrators-permission-to-read-event-logs-windows-2003-and-windows-2008.aspx

http://support.microsoft.com/default.aspx?kbid=323076

Commented:
To clarify the issue: I am looking for a solution that would make the error events happening in the [just installed] application visible to non-Administrators via Windows 7 Event Viewer (under Windows Logs | Application).

The application is being installed on a  stand alone Windows 7system. Quite probably, setting certain registry key values as apart of that application's installation is the right thing to do. But Windows 7 has a somewhat different registry key set, with no exact keyss featured in the sources linked from the answer...

Author

Commented:
Hard to solve issue...