SyntaxFix
Write A Post
Hire A Developer
Questions
In my case, it was caused by unhandled exception while creating eventLog source. Use try catch to pin point the cause.