So not sure why I didn't think to check the Windows event log until now. Here is the information when the task fails.
See the Wndows Error Report attached.
Log Name: Application
Source: Windows Error Reporting
Date: 4/19/2016 8:03:59 PM
Event ID: 1001
Description:
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: logicity desktop.exe
P2: 1.8.9.0
P3: 56f2f060
P4: System.Windows.Forms
P5: 2.0.0.0
P6: 54d46ec6
P7: 48bb
P8: 96
P9: System.InvalidOperationException
P10:
Attached files:
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_logicity desktop_bc8d318a76921ac60bb60bb772accc65c27c20_66d80303
Analysis symbol:
Rechecking for solution: 0
Report Id: 8694757d-06a4-11e6-9413-000e0c6f8e62
Report Status: 4
Event Xml:
<Event xmlns="
schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Error Reporting" />
<EventID Qualifiers="0">1001</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2016-04-20T03:03:59.000000000Z" />
<EventRecordID>947</EventRecordID>
<Channel>Application</Channel>
<Computer>AUTOMATION1</Computer>
<Security />
</System>
<EventData>
<Data>
</Data>
<Data>0</Data>
<Data>CLR20r3</Data>
<Data>Not available</Data>
<Data>0</Data>
<Data>logicity desktop.exe</Data>
<Data>1.8.9.0</Data>
<Data>56f2f060</Data>
<Data>System.Windows.Forms</Data>
<Data>2.0.0.0</Data>
<Data>54d46ec6</Data>
<Data>48bb</Data>
<Data>96</Data>
<Data>System.InvalidOperationException</Data>
<Data>
</Data>
<Data>
</Data>
<Data>C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_logicity desktop_bc8d318a76921ac60bb60bb772accc65c27c20_66d80303</Data>
<Data>
</Data>
<Data>0</Data>
<Data>8694757d-06a4-11e6-9413-000e0c6f8e62</Data>
<Data>4</Data>
</EventData>
</Event>