The application stopped due to an unhandled exception. The application %1 was stopped because it threw the following exception ...

The application stopped due to an unhandled exception.

The application %1 was stopped because it threw the following exception while running: %2.
Cause: Startup errors.
Resolution:
Check the events prior to this to resolve the unhandled exception.