{ "timestamp": "2026-10-20 10:50:50.0603", "level": "Error", "severity": "ERROR", "message": "Unhandled Exception in Web Application", "stackTrace": "System.Web.HttpException (0x80004005)\r\n   at System.Web.Util.FileUtil.CheckSuspiciousPhysicalPath(String physicalPath)\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
{ "timestamp": "2026-10-20 10:50:50.1578", "level": "Error", "severity": "ERROR", "message": "Unhandled Exception in Web Application", "stackTrace": "System.Web.HttpException (0x80004005)\r\n   at System.Web.Util.FileUtil.CheckSuspiciousPhysicalPath(String physicalPath)\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
{ "timestamp": "2026-10-20 10:51:07.7865", "level": "Error", "severity": "ERROR", "TraceId": "652c790e-dce6-4d37-8e49-782777f90a18", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\attendance\\checkOutPhoto_d9c70848-a574-4d02-bff0-8d9cc584a587.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://osmosys-api-staging.oqsha.com/Organisations/3/Attendance","Route":"/Organisations/3/Attendance","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-10-20 10:51:08.5069", "level": "Error", "severity": "ERROR", "message": "Unhandled Exception in Web Application", "stackTrace": "System.Web.HttpException (0x80004005)\r\n   at System.Web.Util.FileUtil.CheckSuspiciousPhysicalPath(String physicalPath)\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
{ "timestamp": "2026-10-20 10:51:08.5453", "level": "Error", "severity": "ERROR", "message": "Unhandled Exception in Web Application", "stackTrace": "System.Web.HttpException (0x80004005)\r\n   at System.Web.Util.FileUtil.CheckSuspiciousPhysicalPath(String physicalPath)\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
{ "timestamp": "2026-10-20 10:51:59.2471", "level": "Error", "severity": "ERROR", "TraceId": "88c83bfa-6fc8-491b-a1f6-4c9af860a7a4", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\attendance\\checkInPhoto_2888f1d1-2cdb-48c2-b207-0dbc4dc90da2.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://osmosys-api-staging.oqsha.com/Organisations/3/Attendance","Route":"/Organisations/3/Attendance","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-10-20 10:52:07.5492", "level": "Error", "severity": "ERROR", "TraceId": "a86f7f5c-f15f-4d0c-9316-2f16d1887dd5", "message": "[DateStamper] Exception occurred while processing file D:\\App-Data\\iis\\api-qa-staging.oqsha.com\\api-qa-staging.oqsha.com\\attachments\\attendance\\checkOutPhoto_e8156681-70b8-4fd7-be4f-f681816dd367.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://osmosys-api-staging.oqsha.com/Organisations/3/Attendance","Route":"/Organisations/3/Attendance","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-10-20 10:52:07.8595", "level": "Error", "severity": "ERROR", "message": "Unhandled Exception in Web Application", "stackTrace": "System.Web.HttpException (0x80004005)\r\n   at System.Web.Util.FileUtil.CheckSuspiciousPhysicalPath(String physicalPath)\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
{ "timestamp": "2026-10-20 10:52:07.8947", "level": "Error", "severity": "ERROR", "message": "Unhandled Exception in Web Application", "stackTrace": "System.Web.HttpException (0x80004005)\r\n   at System.Web.Util.FileUtil.CheckSuspiciousPhysicalPath(String physicalPath)\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
{ "timestamp": "2026-10-20 14:47:18.5481", "level": "Error", "severity": "ERROR", "TraceId": "ac092fdb-7a86-4d7d-bbdf-5596f1ae3d9f", "message": "Unhandled Exception in Web API", "stackTrace": "System.Web.Http.HttpResponseException: Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details.\r\n   at System.Web.Http.ModelBinding.FormatterParameterBinding.ReadContentAsync(HttpRequestMessage request, Type type, IEnumerable`1 formatters, IFormatterLogger formatterLogger, CancellationToken cancellationToken)\r\n   at System.Web.Http.ModelBinding.FormatterParameterBinding.ReadContentAsync(HttpRequestMessage request, Type type, IEnumerable`1 formatters, IFormatterLogger formatterLogger)\r\n   at System.Web.Http.ModelBinding.FormatterParameterBinding.<ExecuteBindingAsyncCore>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.Web.Http.Controllers.HttpActionBinding.<ExecuteBindingAsyncCore>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":"POST","Url":"https://osmosys-industries-pvt-api-staging.oqsha.com/login","Route":"/login","Query":"","Body":"***BODY REDACTED FOR SENSITIVE ENDPOINT***"} }
{ "timestamp": "2026-10-20 14:47:23.4784", "level": "Error", "severity": "ERROR", "TraceId": "a11a7c83-7fb2-4cfd-9ba1-d9af5b1158c9", "message": "Unhandled Exception in Web API", "stackTrace": "System.Web.Http.HttpResponseException: Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details.\r\n   at System.Web.Http.ModelBinding.FormatterParameterBinding.ReadContentAsync(HttpRequestMessage request, Type type, IEnumerable`1 formatters, IFormatterLogger formatterLogger, CancellationToken cancellationToken)\r\n   at System.Web.Http.ModelBinding.FormatterParameterBinding.ReadContentAsync(HttpRequestMessage request, Type type, IEnumerable`1 formatters, IFormatterLogger formatterLogger)\r\n   at System.Web.Http.ModelBinding.FormatterParameterBinding.<ExecuteBindingAsyncCore>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.Web.Http.Controllers.HttpActionBinding.<ExecuteBindingAsyncCore>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":"POST","Url":"https://osmosys-industries-pvt-api-staging.oqsha.com/login","Route":"/login","Query":"","Body":"***BODY REDACTED FOR SENSITIVE ENDPOINT***"} }
{ "timestamp": "2026-10-20 17:29:12.0739", "level": "Error", "severity": "ERROR", "message": "Unhandled Exception in Web Application", "stackTrace": "System.Web.HttpException (0x80004005)\r\n   at System.Web.Util.FileUtil.CheckSuspiciousPhysicalPath(String physicalPath)\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
{ "timestamp": "2026-10-20 17:29:12.1418", "level": "Error", "severity": "ERROR", "message": "Unhandled Exception in Web Application", "stackTrace": "System.Web.HttpException (0x80004005)\r\n   at System.Web.Util.FileUtil.CheckSuspiciousPhysicalPath(String physicalPath)\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
