Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Unable to write to Application Event log › Re: Unable to write to Application Event log
August 5, 2010 at 8:48 PM
#25538
Hi,
If you are using the overloaded method EventLog.WriteEntry Method (String, String), then make sure that the first parameter, which is the event source associated with your event log, is already created and configured on the machine. Or is it a typo in that value?
If your event source is not present, then you can configure it using an EventLogInstaller or using the CreateEventSource method. See the following MSDN article:
http://msdn.microsoft.com/en-us/library/6w20x90k.aspx
Daniel.