Unable to write to Application Event log

Home Page Forums BizTalk 2004 – BizTalk 2010 Unable to write to Application Event log

Viewing 1 reply thread
  • Author
    Posts
    • #25535

      I have a simple orchestration with a receive shape, expression shape and send shape.   I have this line in the expression shape

      System.Diagnostics.EventLog.WriteEntry(“TEst”,”Test”);

      The orchestration works fine.  The file passes thru the receive location to the send location.  I do not get any errors saying that it can’t write to the log. 

      Does anyone have any ideas what I should check.   The user that runs the isolated host is in the local admin group.     I am running on xp 64 bit os.  BizTalk 2009

    • #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.

       

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.