Automation Fails with System Error at Initialization

How to resolve the error, thrown when running an automation : System error at initialization?

Issue Overview : When running an automation the following error is thrown - System error at initialization: ….

Troubleshooting Steps:

1.       Try to determine what in the Initialization section is failing

2.       If more detail is needed, try adding a log message that displays the stack trace

a.       This can be done by placing a log message in the exception portion of the automation, or where the Fatal log message is.

b.       For the message, get the exception by using the StackTrace method.

                       i.      SystemException.StackTrace

3.       This should provide enough information to determine what activity is throwing the error message.