Click here to Skip to main content
15,890,527 members
Home / Discussions / C#
   

C#

 
GeneralRe: A question on having multiple source log to an eventlog Pin
LongRange.Shooter7-May-08 4:56
LongRange.Shooter7-May-08 4:56 
GeneralRe: A question on having multiple source log to an eventlog Pin
led mike7-May-08 4:59
led mike7-May-08 4:59 
GeneralRe: A question on having multiple source log to an eventlog Pin
Ashfield7-May-08 5:21
Ashfield7-May-08 5:21 
GeneralRe: A question on having multiple source log to an eventlog Pin
LongRange.Shooter7-May-08 7:18
LongRange.Shooter7-May-08 7:18 
GeneralRe: A question on having multiple source log to an eventlog Pin
Ashfield7-May-08 23:28
Ashfield7-May-08 23:28 
GeneralRe: A question on having multiple source log to an eventlog Pin
leckey7-May-08 6:44
leckey7-May-08 6:44 
GeneralRe: A question on having multiple source log to an eventlog Pin
LongRange.Shooter7-May-08 7:35
LongRange.Shooter7-May-08 7:35 
AnswerRe: A question on having multiple source log to an eventlog Pin
Dave Kreskowiak7-May-08 7:36
mveDave Kreskowiak7-May-08 7:36 
LongRange.Shooter wrote:
I have a service that launches multiple threads. Each thread has a unique purpose and thus they are unique sources. I have a successfully created log file named OneSource and I want all of the sources logging events to that log file.


A possibility exists: Is this service running under the LocalSystem account?? If so, it doesn't have the permissions to execute the EventLog.SourceExists method and will throw a SecurityException. Sources should be created by the service installer, not the service itself.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: A question on having multiple source log to an eventlog Pin
LongRange.Shooter7-May-08 8:20
LongRange.Shooter7-May-08 8:20 
GeneralRe: A question on having multiple source log to an eventlog Pin
Dave Kreskowiak7-May-08 8:28
mveDave Kreskowiak7-May-08 8:28 
QuestionHaving trouble calling legacy 'c' dll Pin
LouMattera7-May-08 4:02
LouMattera7-May-08 4:02 
AnswerRe: Having trouble calling legacy 'c' dll Pin
led mike7-May-08 4:42
led mike7-May-08 4:42 
GeneralRe: Having trouble calling legacy 'c' dll Pin
LouMattera7-May-08 5:07
LouMattera7-May-08 5:07 
GeneralRe: Having trouble calling legacy 'c' dll Pin
led mike7-May-08 5:12
led mike7-May-08 5:12 
GeneralRe: Having trouble calling legacy 'c' dll Pin
LouMattera7-May-08 5:26
LouMattera7-May-08 5:26 
QuestionHow to get a datarow from a datable in C#? Pin
salon7-May-08 3:41
salon7-May-08 3:41 
AnswerRe: How to get a datarow from a datable in C#? Pin
Giorgi Dalakishvili7-May-08 4:08
mentorGiorgi Dalakishvili7-May-08 4:08 
AnswerRe: How to get a datarow from a datable in C#? Pin
LongRange.Shooter7-May-08 4:23
LongRange.Shooter7-May-08 4:23 
GeneralRe: How to get a datarow from a datable in C#? Pin
salon7-May-08 19:54
salon7-May-08 19:54 
Questionobject from/to XML Pin
George_George7-May-08 3:01
George_George7-May-08 3:01 
AnswerRe: object from/to XML Pin
J4amieC7-May-08 3:07
J4amieC7-May-08 3:07 
GeneralRe: object from/to XML Pin
George_George7-May-08 3:45
George_George7-May-08 3:45 
QuestionActive Directory Account Information [modified] Pin
Tim Carmichael7-May-08 2:06
Tim Carmichael7-May-08 2:06 
AnswerRe: Active Directory Account Information Pin
Abhijit Jana7-May-08 3:36
professionalAbhijit Jana7-May-08 3:36 
QuestionHow to generate automated code when implementing an interface in a class? (C#) Pin
Uttam Kumar Unik!7-May-08 2:05
Uttam Kumar Unik!7-May-08 2:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.