Important notes

Review the following examples for targeted solutions to common errors.

Application crash

If the application crashes, retrieve the error message from the windows event log and the log file in the C:\Users\<user_name>\AppData\Roaming\IBM Task Mining Agent\logs folder.

The following codeblock is an example of an XML file with an error message:

Log Name:      Application
Source:        .NET Runtime
Date:          7/4/2023 3:15:54 PM
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      IBM-PF36KYZC
Description:
Application: TaskMining.Agent.UI.exe
CoreCLR Version: 7.0.723.27404
.NET Version: 7.0.7
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Exception:
   at TaskMining.Agent.UI.Program.Run(String[] args) in C:\src\tm-agent-ui-react\src\TaskMining.Agent.UI\Program.cs:line 55
   at TaskMining.Agent.UI.Program.Main(String[] args) in C:\src\tm-agent-ui-react\src\TaskMining.Agent.UI\Program.cs:line 45

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name=".NET Runtime" />
    <EventID Qualifiers="0">1026</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2023-07-04T13:15:54.9293159Z" />
    <EventRecordID>112244</EventRecordID>
    <Correlation />
    <Execution ProcessID="48440" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>IBM-PF36KYZC</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Application: TaskMining.Agent.UI.exe
CoreCLR Version: 7.0.723.27404
.NET Version: 7.0.7
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Exception:
   at TaskMining.Agent.UI.Program.Run(String[] args) in C:\src\tm-agent-ui-react\src\TaskMining.Agent.UI\Program.cs:line 55
   at TaskMining.Agent.UI.Program.Main(String[] args) in C:\src\tm-agent-ui-react\src\TaskMining.Agent.UI\Program.cs:line 45
</Data>
  </EventData>
</Event>