Another event log has already registered a source with this name
An attempt was made to write an entry to an event log where the specified source is registered with another event log.
You must set the Source property of your EventLog component instance before your component writes an entry to a log. When this happens, the system checks that the source you specified is registered with the event log to which the component is writing, and calls CreateEventSource if needed.
To correct this error
Remove the association of the source with the first log using the DeleteEventSource or the DeleteEventSource method.
Register the source with the new log.
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for