title: Unable to see my entry in the Event Viewer
body: <p>I am trying to write an entry into my own application log in the Windows EventViewer.</p>
  
  <p>Here's my code</p>
  
  <pre><code>            string source = "MatrixTaskLaunch";
              string log = "MatrixTaskLauncher";
              string logevent = errorList.ToString();
              if (!EventLog.SourceExists(source))
                  EventLog.CreateEventSource(source, log);
  
              EventLog.WriteEntry(source, logevent);
              EventLog.WriteEntry(source, logevent,
                  EventLogEntryType.Warning, 234);
  </code></pre>
  
  <p>The first time I executed this code it executed the line </p>
  
  <pre><code>EventLog.CreateEventSource(source, log);
  </code></pre>
  
  <p>and continued to step through, thereafter it skips this line and executes the remaining lines to completion, each time. Looking good! The indication is that it has created my log and is putting events in it.</p>
  
  <p>However I can't see my log in the Win7 Event Viewer. The entries are neither under Application, nor in their own log (ie "MatrixTaskLauncher").</p>
  
  <p>Have I missed something? I've tried refreshing the logs in Event Viewer, before someone suggests that!</p>