{ "timestamp": "2026-06-26 01:49:27.7456", "level": "Error", "severity": "ERROR", "message": "The operation was canceled.", "stackTrace": "System.OperationCanceledException: The operation was canceled.\r\n   at System.Threading.CancellationToken.ThrowOperationCanceledException()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()" }
{ "timestamp": "2026-06-26 05:07:34.3126", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 05:12:13.8264", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 05:16:49.7229", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 05:18:03.8057", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 05:19:09.4864", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 05:19:24.1157", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 05:21:22.2944", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 05:28:13.6280", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 05:59:35.4675", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 06:27:16.0051", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 06:29:47.5874", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 06:30:30.7235", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 06:54:43.9963", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:16:22.6369", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:16:23.1380", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:16:25.2142", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:16:25.2142", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:16:29.9152", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:16:29.9152", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:16:32.9114", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:16:32.9161", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:19:05.7099", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:19:05.7242", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:19:17.2153", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:19:17.2153", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:19:28.9738", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:19:28.9738", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:27:02.9327", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:27:02.9352", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:27:04.4185", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:27:04.4217", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:27:04.8462", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:27:04.8582", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:27:05.1023", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:27:05.1023", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:27:05.2743", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:27:05.2783", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:27:05.4326", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:27:05.4366", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:27:05.6323", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:27:05.6427", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:27:09.7511", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:27:09.7628", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:27:10.9770", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:27:10.9858", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:27:13.8940", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:27:13.8940", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:27:14.1078", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:27:14.1078", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:27:14.2592", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:27:14.2631", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:27:20.4840", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:27:20.4840", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:27:23.5232", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:27:23.5232", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:27:23.7181", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:27:23.7181", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:27:23.8713", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:27:23.8741", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:28:54.6765", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Height Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\HeightWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 07:28:54.6765", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:31:35.5449", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:34:19.2124", "level": "Error", "severity": "ERROR", "message": "HealthV2UIDFormatOptions not found in PageFlags.", "stackTrace": "System.InvalidOperationException: HealthV2UIDFormatOptions not found in PageFlags.\r\n   at IncidentReporter.API.BLL.HealthV2Bll.<GenerateHealthV2UidAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\HealthV2Bll.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.HealthV2Bll.<CreateHealthV2Async>d__5.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\HealthV2Bll.cs:line 161" }
{ "timestamp": "2026-06-26 07:34:19.2291", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:36:20.1794", "level": "Error", "severity": "ERROR", "message": "HealthV2UIDFormatOptions not found in PageFlags.", "stackTrace": "System.InvalidOperationException: HealthV2UIDFormatOptions not found in PageFlags.\r\n   at IncidentReporter.API.BLL.HealthV2Bll.<GenerateHealthV2UidAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\HealthV2Bll.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.HealthV2Bll.<CreateHealthV2Async>d__5.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\HealthV2Bll.cs:line 161" }
{ "timestamp": "2026-06-26 07:36:20.1984", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:53:58.1195", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:56:08.9547", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 07:58:58.0717", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 08:07:42.3420", "level": "Error", "severity": "ERROR", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation." }
{ "timestamp": "2026-06-26 08:07:42.3471", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 08:08:06.4661", "level": "Error", "severity": "ERROR", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation." }
{ "timestamp": "2026-06-26 08:08:06.4757", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 08:08:32.7307", "level": "Error", "severity": "ERROR", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation." }
{ "timestamp": "2026-06-26 08:08:32.7368", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 09:18:38.9266", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 09:27:25.1750", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 09:30:14.9869", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 09:35:12.0352", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 09:36:37.6157", "level": "Error", "severity": "ERROR", "message": "Safety Kaizen V2 UID format options not found in organisation preferences", "stackTrace": "System.InvalidOperationException: Safety Kaizen V2 UID format options not found in organisation preferences\r\n   at IncidentReporter.API.BLL.SafetyKaizenV2Bll.<GenerateSafetyKaizenV2UidAsync>d__12.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyKaizenV2BLL.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.SafetyKaizenV2Bll.<CreateSafetyKaizenV2Async>d__5.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyKaizenV2BLL.cs:line 91" }
{ "timestamp": "2026-06-26 09:36:37.6349", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 09:40:33.8236", "level": "Error", "severity": "ERROR", "message": "Safety Kaizen V2 UID format options not found in organisation preferences", "stackTrace": "System.InvalidOperationException: Safety Kaizen V2 UID format options not found in organisation preferences\r\n   at IncidentReporter.API.BLL.SafetyKaizenV2Bll.<GenerateSafetyKaizenV2UidAsync>d__12.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyKaizenV2BLL.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.SafetyKaizenV2Bll.<CreateSafetyKaizenV2Async>d__5.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyKaizenV2BLL.cs:line 91" }
{ "timestamp": "2026-06-26 09:40:33.8317", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 09:40:43.1394", "level": "Error", "severity": "ERROR", "message": "Safety Kaizen V2 UID format options not found in organisation preferences", "stackTrace": "System.InvalidOperationException: Safety Kaizen V2 UID format options not found in organisation preferences\r\n   at IncidentReporter.API.BLL.SafetyKaizenV2Bll.<GenerateSafetyKaizenV2UidAsync>d__12.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyKaizenV2BLL.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.SafetyKaizenV2Bll.<CreateSafetyKaizenV2Async>d__5.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyKaizenV2BLL.cs:line 91" }
{ "timestamp": "2026-06-26 09:40:43.1394", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 09:40:46.2058", "level": "Error", "severity": "ERROR", "message": "Safety Kaizen V2 UID format options not found in organisation preferences", "stackTrace": "System.InvalidOperationException: Safety Kaizen V2 UID format options not found in organisation preferences\r\n   at IncidentReporter.API.BLL.SafetyKaizenV2Bll.<GenerateSafetyKaizenV2UidAsync>d__12.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyKaizenV2BLL.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.SafetyKaizenV2Bll.<CreateSafetyKaizenV2Async>d__5.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\SafetyKaizenV2BLL.cs:line 91" }
{ "timestamp": "2026-06-26 09:40:46.2058", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 09:56:19.0991", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 10:01:17.0992", "level": "Error", "severity": "ERROR", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation." }
{ "timestamp": "2026-06-26 10:01:17.1034", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 10:03:21.3797", "level": "Error", "severity": "ERROR", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation." }
{ "timestamp": "2026-06-26 10:03:21.3797", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 10:11:34.0603", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Electrical Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Electrical Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 10:11:34.0603", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 10:11:53.0321", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Electrical Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Electrical Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 10:11:53.0321", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 10:12:02.3253", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Electrical Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Electrical Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 10:12:02.3253", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 10:23:17.1032", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Electrical Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Electrical Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 10:23:17.1032", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 10:47:10.4301", "level": "Error", "severity": "ERROR", "message": "The operation was canceled.", "stackTrace": "System.OperationCanceledException: The operation was canceled.\r\n   at System.Threading.CancellationToken.ThrowOperationCanceledException()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()" }
{ "timestamp": "2026-06-26 10:47:10.4301", "level": "Error", "severity": "ERROR", "message": "The operation was canceled.", "stackTrace": "System.OperationCanceledException: The operation was canceled.\r\n   at System.Threading.CancellationToken.ThrowOperationCanceledException()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()" }
{ "timestamp": "2026-06-26 10:48:03.6254", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:00:09.8599", "level": "Error", "severity": "ERROR", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation." }
{ "timestamp": "2026-06-26 12:00:10.1876", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:00:26.2371", "level": "Error", "severity": "ERROR", "message": "User details not found for the given user and organisation.", "stackTrace": "System.Exception: User details not found for the given user and organisation." }
{ "timestamp": "2026-06-26 12:00:26.2464", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:02:13.1800", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "System.Exception: An unexpected error occurred.\r\n   at IncidentReporter.API.BLL.IotDevicesBLL.<GetUnassociatedIotDeviceById>d__26.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IotDevicesBLL.cs:line 1299" }
{ "timestamp": "2026-06-26 12:02:13.1800", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:06:31.4943", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "System.Exception: An unexpected error occurred.\r\n   at IncidentReporter.API.BLL.IotDevicesBLL.<GetUnassociatedIotDeviceById>d__26.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IotDevicesBLL.cs:line 1299" }
{ "timestamp": "2026-06-26 12:06:31.4995", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:10:16.8993", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "System.Exception: An unexpected error occurred.\r\n   at IncidentReporter.API.BLL.IotDevicesBLL.<GetUnassociatedIotDeviceById>d__26.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IotDevicesBLL.cs:line 1299" }
{ "timestamp": "2026-06-26 12:10:16.9045", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:12:32.4689", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:12:53.8677", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "System.Exception: An unexpected error occurred.\r\n   at IncidentReporter.API.BLL.IotDevicesBLL.<GetUnassociatedIotDeviceById>d__26.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IotDevicesBLL.cs:line 1299" }
{ "timestamp": "2026-06-26 12:12:53.8677", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:14:59.1119", "level": "Error", "severity": "ERROR", "message": "JSReport render failed. Status: 503. Response: {\"type\":\"about:blank\",\"title\":\"Internal Server Error\",\"status\":503,\"detail\":\"Render failed (400): {\\\"message\\\":\\\"Error when evaluating engine handlebars for template anonymous\\\\n(because) missing helper: \\\\\\\"json\\\\\\\"\\\\n\\\\n(sandbox.js line 14:18)\\\",\\\"stack\\\":\\\"Error: Missing helper: \\\\\\\"json\\\\\\\"\\\\n  at Object.<anonymous> (\/app\/node_modules\/handlebars\/dist\/cjs\/handlebars\/helpers\/helper-missing.js:19:13)\\\\n  at Object\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"SERVICE_UNAVAILABLE\"}", "stackTrace": "System.InvalidOperationException: JSReport render failed. Status: 503. Response: {\"type\":\"about:blank\",\"title\":\"Internal Server Error\",\"status\":503,\"detail\":\"Render failed (400): {\\\"message\\\":\\\"Error when evaluating engine handlebars for template anonymous\\\\n(because) missing helper: \\\\\\\"json\\\\\\\"\\\\n\\\\n(sandbox.js line 14:18)\\\",\\\"stack\\\":\\\"Error: Missing helper: \\\\\\\"json\\\\\\\"\\\\n  at Object.<anonymous> (\/app\/node_modules\/handlebars\/dist\/cjs\/handlebars\/helpers\/helper-missing.js:19:13)\\\\n  at Object\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"SERVICE_UNAVAILABLE\"}\r\n   at IncidentReporter.API.Helpers.JsReportUtils.<RenderPdfAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\JsReportUtils.cs:line 70\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.Helpers.PdfExportSwitchHelper.<TryRenderPdfViaJsReportAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\PdfExportSwitchHelper.cs:line 59" }
{ "timestamp": "2026-06-26 12:14:59.1176", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Electrical Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Electrical Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 12:14:59.1176", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:14:59.1176", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:15:00.6462", "level": "Error", "severity": "ERROR", "message": "JSReport render failed. Status: 503. Response: {\"type\":\"about:blank\",\"title\":\"Internal Server Error\",\"status\":503,\"detail\":\"Render failed (400): {\\\"message\\\":\\\"Error when evaluating engine handlebars for template anonymous\\\\n(because) missing helper: \\\\\\\"json\\\\\\\"\\\\n\\\\n(sandbox.js line 14:18)\\\",\\\"stack\\\":\\\"Error: Missing helper: \\\\\\\"json\\\\\\\"\\\\n  at Object.<anonymous> (\/app\/node_modules\/handlebars\/dist\/cjs\/handlebars\/helpers\/helper-missing.js:19:13)\\\\n  at Object\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"SERVICE_UNAVAILABLE\"}", "stackTrace": "System.InvalidOperationException: JSReport render failed. Status: 503. Response: {\"type\":\"about:blank\",\"title\":\"Internal Server Error\",\"status\":503,\"detail\":\"Render failed (400): {\\\"message\\\":\\\"Error when evaluating engine handlebars for template anonymous\\\\n(because) missing helper: \\\\\\\"json\\\\\\\"\\\\n\\\\n(sandbox.js line 14:18)\\\",\\\"stack\\\":\\\"Error: Missing helper: \\\\\\\"json\\\\\\\"\\\\n  at Object.<anonymous> (\/app\/node_modules\/handlebars\/dist\/cjs\/handlebars\/helpers\/helper-missing.js:19:13)\\\\n  at Object\",\"instance\":\"\/api\/v1\/render\",\"error_code\":\"SERVICE_UNAVAILABLE\"}\r\n   at IncidentReporter.API.Helpers.JsReportUtils.<RenderPdfAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\JsReportUtils.cs:line 70\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.Helpers.PdfExportSwitchHelper.<TryRenderPdfViaJsReportAsync>d__0.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\PdfExportSwitchHelper.cs:line 59" }
{ "timestamp": "2026-06-26 12:15:00.6479", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Electrical Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Electrical Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 12:15:00.6479", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:15:00.6479", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:15:35.3831", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:17:28.6453", "level": "Error", "severity": "ERROR", "message": "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'asc LIMIT 0,10; SELECT FOUND_ROWS()' at line 33", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'asc LIMIT 0,10; SELECT FOUND_ROWS()' at line 33\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)\r\n   at Dapper.SqlMapper.QueryMultipleImpl(IDbConnection cnn, CommandDefinition& command)\r\n   at Dapper.SqlMapper.QueryMultiple(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType)\r\n   at IncidentReporter.DAL.Repositories.OrganisationRepo.GetOrgsForDashboard(DashboardFilter dashboardFilter, Int32& recordCount) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\OrganisationRepo.cs:line 500\r\n   at IncidentReporter.API.BLL.OrganisationBLL.GetOrgsForDashboard(DashboardFilter filter) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\OrganisationBLL.cs:line 104" }
{ "timestamp": "2026-06-26 12:17:28.8856", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:17:34.4750", "level": "Error", "severity": "ERROR", "message": "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'asc LIMIT 10,10; SELECT FOUND_ROWS()' at line 33", "stackTrace": "MySql.Data.MySqlClient.MySqlException (0x80004005): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'asc LIMIT 10,10; SELECT FOUND_ROWS()' at line 33\r\n   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)\r\n   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)\r\n   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()\r\n   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)\r\n   at Dapper.SqlMapper.QueryMultipleImpl(IDbConnection cnn, CommandDefinition& command)\r\n   at Dapper.SqlMapper.QueryMultiple(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType)\r\n   at IncidentReporter.DAL.Repositories.OrganisationRepo.GetOrgsForDashboard(DashboardFilter dashboardFilter, Int32& recordCount) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.DAL\\Repositories\\OrganisationRepo.cs:line 500\r\n   at IncidentReporter.API.BLL.OrganisationBLL.GetOrgsForDashboard(DashboardFilter filter) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\OrganisationBLL.cs:line 104" }
{ "timestamp": "2026-06-26 12:17:34.4750", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:18:15.8605", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:18:42.0388", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:18:53.2554", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:21:31.5037", "level": "Error", "severity": "ERROR", "message": "An unexpected error occurred.", "stackTrace": "System.Exception: An unexpected error occurred.\r\n   at IncidentReporter.API.BLL.IotDevicesBLL.<GetUnassociatedIotDeviceById>d__26.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IotDevicesBLL.cs:line 1299" }
{ "timestamp": "2026-06-26 12:21:31.5037", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:30:30.9189", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:13.5438", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:28.6282", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:30.0636", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:31.6697", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:33.1031", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:34.6437", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:36.1328", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:37.5135", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:38.9501", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:40.2718", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:41.6951", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:43.1323", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:44.5459", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:45.8681", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:47.3809", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:48.7981", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:50.2019", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:51.6151", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:52.9750", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:54.4070", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:56.3075", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:57.7965", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:31:59.2494", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:00.6807", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:02.0767", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:03.3957", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:04.7083", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:06.1525", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:07.5561", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:09.6270", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:11.0304", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:12.4385", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:13.8121", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:15.2149", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:16.6370", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:17.9858", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:19.5089", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:20.9527", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:22.3687", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:23.7322", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:26.1860", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:28.0369", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:29.4010", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 12:32:30.8188", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 13:24:10.5050", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 13:28:18.3696", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 13:33:46.9252", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 13:36:46.1639", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 13:43:54.9522", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 13:44:12.3120", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 14:18:09.5509", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Electrical Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\264\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Electrical Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\264\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\264\\WorkPermitV2\\ElectricalWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 14:18:09.5509", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 15:11:55.7995", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Excavation Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ExcavationWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Excavation Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ExcavationWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ExcavationWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 15:11:55.7995", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 15:25:23.3852", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 15:32:25.9448", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Excavation Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ExcavationWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Excavation Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ExcavationWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ExcavationWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 15:32:25.9620", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 15:32:27.0879", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Excavation Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ExcavationWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Excavation Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ExcavationWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ExcavationWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 15:32:27.0879", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 15:32:33.0550", "level": "Error", "severity": "ERROR", "message": "HTML template missing for Excavation Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ExcavationWork\\ExportWorkPermitV2.html", "stackTrace": "System.IO.FileNotFoundException: HTML template missing for Excavation Work category. Expected HTML template path: D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ExcavationWork\\ExportWorkPermitV2.html\r\nFile name: 'D:\\App-Data\\iis\\api.incidentreporter365.com\\Templates\/PDFs\\259\\WorkPermitV2\\ExcavationWork\\ExportWorkPermitV2.html'\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 89\r\n   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\WorkPermitV2PDFHelper.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at IncidentReporter.API.BLL.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\WorkPermitV2Bll.cs:line 1527" }
{ "timestamp": "2026-06-26 15:32:33.0550", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 15:55:51.4832", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 16:51:50.0023", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 17:00:00.0592", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 17:01:21.4117", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-06-26 17:15:20.7771", "level": "Error", "severity": "ERROR" }
