Hi,
My web application which runs on Windows 2003 server writes to EventLog
during application startup but I get the following exception
Requested registry access is not allowed.
at Microsoft.Win32 .RegistryKey.Op enSubKey(String name, Boolean writable)
at System.Diagnost ics.EventLog.Cr eateEventSource (String source, String
logName, String machineName, Boolean useMutex)
at System.Diagnost ics.EventLog.Wr iteEntry(String message,
EventLogEntryTy pe type, Int32 eventID, Int16 category, Byte[] rawData)
at System.Diagnost ics.EventLog.Wr iteEntry(String message,
EventLogEntryTy pe type, Int32 eventID, Int16 category)
at System.Diagnost ics.EventLog.Wr iteEntry(String message,
EventLogEntryTy pe type, Int32 eventID)
at System.Diagnost ics.EventLog.Wr iteEntry(String message,
EventLogEntryTy pe type)
at VZ.DC.ServicesF actories.DCFact ory..ctor()
I created the EventLog Source manually as suggested in this article
http://support.microsoft.com/default...b;en-us;329291
still no luck.
Any suggestions to resolve this issue?
Thanks In Advance.
Karthik Srinivasan