Hi Anil, without a stack trace the best I can provide is an educated guess. To me it looks suspicious that the exception message reads "Source *Log4NetTest.exe* already exists on the local computer.". I would start investigating why the executable name is in the exception message and why the application confirms with an exception that the executable exists on the local computer.
Warm regards, Dominik On Tue, 10 Jan 2023 at 04:41, anil <anil....@gmail.com> wrote: > > > > > Hi Team, > > This is Anil. I am working as a .net Tech Lead and i am using log4net for > logging purposes. > > Below are the version details of the same > > [image: image.png] > > > I am trying to execute the Parllel.Invoke which intiializes the EventLog > Appender as below and calls the ActivateOptions method > > System.Threading.Tasks.Parallel.Invoke(() => CreateEventLogger(), > () => CreateEventLogger(), () => CreateEventLogger()); > > > > private void CreateEventLogger() > { > var eventLogger = new EventLogAppender(); > eventLogger.ActivateOptions(); > } > > I am getting the below error for the first time where the event source is > not created. > > *Source Log4NetTest.exe already exists on the local computer.* > Document > NameValueType > ◢ $exception {"Source Log4NetTest.exe already exists on the local > computer."} System.ArgumentException > we are creating multiple hpc tasks in the HPC job manager which is using > log4net for logging. > > Can you please let us know if there is any fix for this issue? > > Regards, > > Anil > -- Dominik Psenner