{ "timestamp": "2026-08-06 03:31:08.7219", "level": "Error", "severity": "ERROR", "TraceId": "1e2bf19e-0776-4491-93ed-e22d9a77b4b6", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\module_record_attachments\\264\\85\\handwritten-signature_2026-08-06_03-31-08-318_b2c0c8d8-a086-4f95-a308-ac8299b149f8.png: System.TypeInitializationException: The type initializer for 'NativeMagickSettings' threw an exception. ---> System.TypeInitializationException: The type initializer for 'X64' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'Magick.Native-Q16-x64.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_SetEnv(IntPtr name, IntPtr value)\r\n   at ImageMagick.Environment.NativeEnvironment.SetEnv(String name, String value)\r\n   at ImageMagick.MagickNET.InitializeConfiguration(ConfigurationFiles configFiles, String newPath)\r\n   at ImageMagick.Environment.NativeMethods.X64..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_Initialize()\r\n   at ImageMagick.Environment.Initialize()\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..ctor()\r\n   at ImageMagick.MagickSettings..ctor()\r\n   at ImageMagick.MagickImage..ctor()\r\n   at IncidentReporter.API.Helpers.DateStamperHelper.AddTimestampToImage(String inputFilePath) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\DateStamperHelper.cs:line 19", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/FileUpload","Route":"/Organisations/264/Modules/85/FileUpload","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-08-06 03:31:17.3135", "level": "Error", "severity": "ERROR", "TraceId": "d160a34e-5b73-43c7-b7a4-3aa5383993b5", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\module_record_attachments\\264\\85\\handwritten-signature_2026-08-06_03-31-17-3117_0263abff-4620-41f9-b6fb-a4ba66dc3feb.png: System.TypeInitializationException: The type initializer for 'NativeMagickSettings' threw an exception. ---> System.TypeInitializationException: The type initializer for 'X64' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'Magick.Native-Q16-x64.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_SetEnv(IntPtr name, IntPtr value)\r\n   at ImageMagick.Environment.NativeEnvironment.SetEnv(String name, String value)\r\n   at ImageMagick.MagickNET.InitializeConfiguration(ConfigurationFiles configFiles, String newPath)\r\n   at ImageMagick.Environment.NativeMethods.X64..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_Initialize()\r\n   at ImageMagick.Environment.Initialize()\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..ctor()\r\n   at ImageMagick.MagickSettings..ctor()\r\n   at ImageMagick.MagickImage..ctor()\r\n   at IncidentReporter.API.Helpers.DateStamperHelper.AddTimestampToImage(String inputFilePath) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\DateStamperHelper.cs:line 19", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/264/Modules/85/FileUpload","Route":"/Organisations/264/Modules/85/FileUpload","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-08-06 05:34:57.4366", "level": "Error", "severity": "ERROR", "TraceId": "61545d0d-2780-4063-8f95-c1facaf805dc", "message": "Unhandled Exception in Web API", "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()", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/AccessControl/Modules/211","Route":"/AccessControl/Modules/211","Query":"","Body":""} }
{ "timestamp": "2026-08-06 05:34:57.4366", "level": "Error", "severity": "ERROR", "TraceId": "c0b3e70d-f712-425d-ad5f-f855a3c43e1e", "message": "Unhandled Exception in Web API", "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()", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Users/6606/Organisations/","Route":"/Users/6606/Organisations/","Query":"","Body":""} }
{ "timestamp": "2026-08-06 05:46:57.1864", "level": "Error", "severity": "ERROR", "TraceId": "dd71b72c-e6da-496c-9837-bea859392813", "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", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Organisations/262/Device/Unassociated","Route":"/Organisations/262/Device/Unassociated","Query":"","Body":""}, "MethodName": "GetUnassociatedIotDeviceById", "EntryPoint": "API", "InputData": null, "TraceId": "dd71b72c-e6da-496c-9837-bea859392813", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-qa-staging-2.oqsha.com\/Organisations\/262\/Device\/Unassociated\",\"Route\":\"\/Organisations\/262\/Device\/Unassociated\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-08-06 05:51:14.5882", "level": "Error", "severity": "ERROR", "TraceId": "a9424097-9251-4173-9d58-7e25593064f4", "message": "Unhandled Exception in Web API", "stackTrace": "System.InvalidOperationException: The given header was not found.\r\n   at System.Net.Http.Headers.HttpHeaders.GetValues(String name)\r\n   at IncidentReporter.API.Handlers.AcmAuthorise.GetToken(HttpActionContext actionContext) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\AcmAuthorise.cs:line 214\r\n   at IncidentReporter.API.Handlers.AcmAuthorise.OnActionExecuting(HttpActionContext actionContext) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Handlers\\AcmAuthorise.cs:line 37\r\n   at System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutingAsync(HttpActionContext actionContext, CancellationToken cancellationToken)\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 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.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.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.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.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Dashboard/Organisation/264","Route":"/Dashboard/Organisation/264","Query":"","Body":""} }
{ "timestamp": "2026-08-06 05:54:59.2994", "level": "Error", "severity": "ERROR", "message": "Unhandled Exception in Web Application", "stackTrace": "System.Web.HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (&).\r\n   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
{ "timestamp": "2026-08-06 06:02:37.0138", "level": "Error", "severity": "ERROR", "TraceId": "30b4426f-819f-4dc5-837a-ef39585e7be8", "message": "Unhandled Exception in Web API", "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()", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Users/5072/FieldStaffOrganisations/","Route":"/Users/5072/FieldStaffOrganisations/","Query":"","Body":""} }
{ "timestamp": "2026-08-06 08:12:08.8521", "level": "Error", "severity": "ERROR", "TraceId": "2fa1b068-d850-4777-8e22-e98c1e137173", "message": "Unhandled Exception in Web API", "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()", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Modules","Route":"/Modules","Query":"","Body":""} }
{ "timestamp": "2026-08-06 08:18:03.0967", "level": "Error", "severity": "ERROR", "TraceId": "ae95ce9e-7b4e-4a55-a260-f894c253c375", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\module_record_attachments\\262\\83\\city_2026-08-06_08-18-03-183_53da0f59-6158-4e65-8097-3533696e093e.jpeg: System.TypeInitializationException: The type initializer for 'NativeMagickSettings' threw an exception. ---> System.TypeInitializationException: The type initializer for 'X64' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'Magick.Native-Q16-x64.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_SetEnv(IntPtr name, IntPtr value)\r\n   at ImageMagick.Environment.NativeEnvironment.SetEnv(String name, String value)\r\n   at ImageMagick.MagickNET.InitializeConfiguration(ConfigurationFiles configFiles, String newPath)\r\n   at ImageMagick.Environment.NativeMethods.X64..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_Initialize()\r\n   at ImageMagick.Environment.Initialize()\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..ctor()\r\n   at ImageMagick.MagickSettings..ctor()\r\n   at ImageMagick.MagickImage..ctor()\r\n   at IncidentReporter.API.Helpers.DateStamperHelper.AddTimestampToImage(String inputFilePath) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\DateStamperHelper.cs:line 19", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/262/Modules/83/FileUpload","Route":"/Organisations/262/Modules/83/FileUpload","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-08-06 11:00:09.8261", "level": "Error", "severity": "ERROR", "TraceId": "a448408c-5b77-4dd4-817b-a8e3c9cf4937", "message": "Unhandled Exception in Web API", "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()", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Logout","Route":"/Logout","Query":"","Body":"***BODY REDACTED FOR SENSITIVE ENDPOINT***"} }
{ "timestamp": "2026-08-06 12:14:55.4896", "level": "Error", "severity": "ERROR", "TraceId": "af899f8e-6956-4389-8229-e4126fb08ec4", "message": "Unhandled Exception in Web API", "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()", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Languages","Route":"/Languages","Query":"","Body":""} }
{ "timestamp": "2026-08-06 12:14:55.4896", "level": "Error", "severity": "ERROR", "TraceId": "8c8393e5-db2e-47be-baf7-ccb2d00c7110", "message": "Unhandled Exception in Web API", "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()", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Modules/APIs","Route":"/Modules/APIs","Query":"","Body":""} }
{ "timestamp": "2026-08-06 12:14:55.5086", "level": "Error", "severity": "ERROR", "TraceId": "5e75d7f4-ef32-4252-a2b4-09db78614ad7", "message": "Unhandled Exception in Web API", "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()", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Organisations/211/PermitToWork/All?SortingColumn=CreatedOn&AssignedToID=20748&FromDate=2026-07-30&ToDate=2026-08-13&Live=true&Pending=true&PermitToWorkStatus=TemporarilySuspended","Route":"/Organisations/211/PermitToWork/All","Query":"?SortingColumn=CreatedOn&AssignedToID=20748&FromDate=2026-07-30&ToDate=2026-08-13&Live=true&Pending=true&PermitToWorkStatus=TemporarilySuspended","Body":""} }
{ "timestamp": "2026-08-06 13:23:44.6161", "level": "Error", "severity": "ERROR", "TraceId": "26570fa0-41bf-4020-ac86-d30029cdd953", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\204\\incidents\\images\\images_af9cf9f0-097a-4cea-a5b2-8dbcaf74e29b.png: System.TypeInitializationException: The type initializer for 'NativeMagickSettings' threw an exception. ---> System.TypeInitializationException: The type initializer for 'X64' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'Magick.Native-Q16-x64.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_SetEnv(IntPtr name, IntPtr value)\r\n   at ImageMagick.Environment.NativeEnvironment.SetEnv(String name, String value)\r\n   at ImageMagick.MagickNET.InitializeConfiguration(ConfigurationFiles configFiles, String newPath)\r\n   at ImageMagick.Environment.NativeMethods.X64..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_Initialize()\r\n   at ImageMagick.Environment.Initialize()\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..ctor()\r\n   at ImageMagick.MagickSettings..ctor()\r\n   at ImageMagick.MagickImage..ctor()\r\n   at IncidentReporter.API.Helpers.DateStamperHelper.AddTimestampToImage(String inputFilePath) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\DateStamperHelper.cs:line 19", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Incidents/77480/UploadMedia","Route":"/Incidents/77480/UploadMedia","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-08-06 13:25:47.0006", "level": "Error", "severity": "ERROR", "TraceId": "df86354e-bc7f-4c5f-8727-74d6a343b37d", "message": "Unhandled Exception in Web API", "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()", "ApiInput": {"Method":"GET","Url":"https://api-qa-staging-2.oqsha.com/Resources/eng?orgId=258","Route":"/Resources/eng","Query":"?orgId=258","Body":""} }
{ "timestamp": "2026-08-06 13:26:34.7410", "level": "Error", "severity": "ERROR", "TraceId": "6828efd1-a6d2-4110-8f15-cc86f876fbe1", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\204\\incidents\\images_c2327d76-9edf-42b8-a27c-e720debbc23f.png: System.TypeInitializationException: The type initializer for 'NativeMagickSettings' threw an exception. ---> System.TypeInitializationException: The type initializer for 'X64' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'Magick.Native-Q16-x64.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_SetEnv(IntPtr name, IntPtr value)\r\n   at ImageMagick.Environment.NativeEnvironment.SetEnv(String name, String value)\r\n   at ImageMagick.MagickNET.InitializeConfiguration(ConfigurationFiles configFiles, String newPath)\r\n   at ImageMagick.Environment.NativeMethods.X64..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_Initialize()\r\n   at ImageMagick.Environment.Initialize()\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..ctor()\r\n   at ImageMagick.MagickSettings..ctor()\r\n   at ImageMagick.MagickImage..ctor()\r\n   at IncidentReporter.API.Helpers.DateStamperHelper.AddTimestampToImage(String inputFilePath) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\DateStamperHelper.cs:line 19", "ApiInput": {"Method":"PUT","Url":"https://api-qa-staging-2.oqsha.com/Organisations/204/Incidents/77480","Route":"/Organisations/204/Incidents/77480","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-08-06 13:26:36.0884", "level": "Error", "severity": "ERROR", "message": "Unhandled Exception in Web Application", "stackTrace": "System.IO.IOException: The process cannot access the file 'D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\incidents\\exports\\OQSHA_Ticket_T_BEAT_NMM_26_00002.pdf' because it is being used by another process.\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)\r\n   at IncidentReporter.API.Helpers.ExportIncidentPDFHelper.ExportIncidentPDFAsByteArray(IncidentDBO incident, String organisationBannerRelativePath, String ticketModuleCustomName, Boolean enableReportedByType) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportIncidentPDFHelper.cs:line 647\r\n   at IncidentReporter.API.BLL.IncidentsBLL.<SendNewIncidentStatusUpdateEmail>d__47.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IncidentsBLL.cs:line 3866\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.Util.SynchronizationHelper.SafeWrapCallback(Action action)" }
{ "timestamp": "2026-08-06 13:33:06.8056", "level": "Error", "severity": "ERROR", "TraceId": "bb7baa8d-9419-4d7d-a128-485fd9e50303", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\module_record_attachments\\262\\83\\Despaired Ghost - 2MB_2026-08-06_13-33-06-336_c84b7331-e30d-4b24-8381-d0179b24ecf5.jpg: System.TypeInitializationException: The type initializer for 'NativeMagickSettings' threw an exception. ---> System.TypeInitializationException: The type initializer for 'X64' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'Magick.Native-Q16-x64.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_SetEnv(IntPtr name, IntPtr value)\r\n   at ImageMagick.Environment.NativeEnvironment.SetEnv(String name, String value)\r\n   at ImageMagick.MagickNET.InitializeConfiguration(ConfigurationFiles configFiles, String newPath)\r\n   at ImageMagick.Environment.NativeMethods.X64..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_Initialize()\r\n   at ImageMagick.Environment.Initialize()\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..ctor()\r\n   at ImageMagick.MagickSettings..ctor()\r\n   at ImageMagick.MagickImage..ctor()\r\n   at IncidentReporter.API.Helpers.DateStamperHelper.AddTimestampToImage(String inputFilePath) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\DateStamperHelper.cs:line 19", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/262/Modules/83/FileUpload","Route":"/Organisations/262/Modules/83/FileUpload","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-08-06 13:33:16.3305", "level": "Error", "severity": "ERROR", "TraceId": "fb76da4a-edec-456a-96e2-e5b80e8cf737", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\module_record_attachments\\262\\83\\House on Bank - 600KB_2026-08-06_13-33-16-3316_fc5ea96a-6c20-47c2-a7a2-152fa11d4d32.jpg: System.TypeInitializationException: The type initializer for 'NativeMagickSettings' threw an exception. ---> System.TypeInitializationException: The type initializer for 'X64' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'Magick.Native-Q16-x64.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_SetEnv(IntPtr name, IntPtr value)\r\n   at ImageMagick.Environment.NativeEnvironment.SetEnv(String name, String value)\r\n   at ImageMagick.MagickNET.InitializeConfiguration(ConfigurationFiles configFiles, String newPath)\r\n   at ImageMagick.Environment.NativeMethods.X64..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_Initialize()\r\n   at ImageMagick.Environment.Initialize()\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..ctor()\r\n   at ImageMagick.MagickSettings..ctor()\r\n   at ImageMagick.MagickImage..ctor()\r\n   at IncidentReporter.API.Helpers.DateStamperHelper.AddTimestampToImage(String inputFilePath) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\DateStamperHelper.cs:line 19", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/262/Modules/83/FileUpload","Route":"/Organisations/262/Modules/83/FileUpload","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-08-06 14:01:20.6813", "level": "Error", "severity": "ERROR", "TraceId": "09c19bdf-cd17-4c98-b8c9-d44cd29a1757", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\module_record_attachments\\262\\83\\Despaired Ghost - 2MB_2026-08-06_14-01-20-120_7c90fa04-91b7-490d-b3b4-f92abbfe8dec.jpg: System.TypeInitializationException: The type initializer for 'NativeMagickSettings' threw an exception. ---> System.TypeInitializationException: The type initializer for 'X64' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'Magick.Native-Q16-x64.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_SetEnv(IntPtr name, IntPtr value)\r\n   at ImageMagick.Environment.NativeEnvironment.SetEnv(String name, String value)\r\n   at ImageMagick.MagickNET.InitializeConfiguration(ConfigurationFiles configFiles, String newPath)\r\n   at ImageMagick.Environment.NativeMethods.X64..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_Initialize()\r\n   at ImageMagick.Environment.Initialize()\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..ctor()\r\n   at ImageMagick.MagickSettings..ctor()\r\n   at ImageMagick.MagickImage..ctor()\r\n   at IncidentReporter.API.Helpers.DateStamperHelper.AddTimestampToImage(String inputFilePath) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\DateStamperHelper.cs:line 19", "ApiInput": {"Method":"POST","Url":"https://api-qa-staging-2.oqsha.com/Organisations/262/Modules/83/FileUpload","Route":"/Organisations/262/Modules/83/FileUpload","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-08-06 17:44:54.2315", "level": "Error", "severity": "ERROR", "TraceId": "fdfc904b-3a3b-40b9-8da8-0145650bdc6d", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\207\\incidents\\Image74_feff34ee-a535-4362-a3bc-b3a4865d7249.jpg: System.TypeInitializationException: The type initializer for 'NativeMagickSettings' threw an exception. ---> System.TypeInitializationException: The type initializer for 'X64' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'Magick.Native-Q16-x64.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_SetEnv(IntPtr name, IntPtr value)\r\n   at ImageMagick.Environment.NativeEnvironment.SetEnv(String name, String value)\r\n   at ImageMagick.MagickNET.InitializeConfiguration(ConfigurationFiles configFiles, String newPath)\r\n   at ImageMagick.Environment.NativeMethods.X64..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.Environment.NativeMethods.X64.Environment_Initialize()\r\n   at ImageMagick.Environment.Initialize()\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..cctor()\r\n   --- End of inner exception stack trace ---\r\n   at ImageMagick.MagickSettings.NativeMagickSettings..ctor()\r\n   at ImageMagick.MagickSettings..ctor()\r\n   at ImageMagick.MagickImage..ctor()\r\n   at IncidentReporter.API.Helpers.DateStamperHelper.AddTimestampToImage(String inputFilePath) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\DateStamperHelper.cs:line 19", "ApiInput": {"Method":"PUT","Url":"https://api-qa-staging-2.oqsha.com/Organisations/207/Incidents/77481","Route":"/Organisations/207/Incidents/77481","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
