SharePoint Experts, Information Architects, Expert Witness

SICG provides a broad array of business and technology consulting from architecture to design to deployment of global systems with a focus on surfacing data in the enterprise. We focus on the "How", not just the possible. Contact me direct: david_sterling@sterling-consulting.com or call 704-873-8846 x704.

Search This Blog

Tuesday, January 13, 2009

Cannot write to the Event Log from SharePoint or .NET Application

You may find when working with posting events to the Event Log that they fail - this can happen when using SICG's SharePoint Helper as well as any .NET application you happen to be building.

The problem is that (depending on the system settings), the ASPNET account does not have the correct permissions - to correct:

Open the Registry Editor (regedit), locate the following entry:

HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/EventLog

Right click on this and grant the ASPNET account Full Control.