![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Unable to create an Event Log entry I am attempting to make an event log entry, but get the following exception: System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. The code is: if (!EventLog.SourceExists("VCS 2005 Recipes")) { EventLog.CreateEventSource("VCS 2005 Recipes", "Application"); } EventLog.WriteEntry("VCS 2005 Recipes", "A simple test event.", EventLogEntryType.Information, 1, 0, new byte[] { 10, 55, 200 } ); Any help will be appreciated. TIA |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unable to create VPN | Jeff Viola | Vista networking & sharing | 3 | 02-06-2008 05:48 PM |
| custom action, error 2869, want to create sql express db and init registry entry | rmgalante | Vista General | 2 | 09-14-2007 06:53 AM |
| Unable to access event log | Darth Haxor | Vista security | 1 | 05-25-2007 02:36 PM |
| Unable to access Event Log | Darth Haxor | Vista security | 3 | 05-24-2007 10:19 AM |
| Unable to fetch the Event Log - Event Description | Vineet Das | Vista security | 4 | 08-24-2006 01:52 AM |