level: Error

severity: ERROR

stackTrace:
System.Web.HttpException (0x80004005)
   at System.Web.Util.FileUtil.CheckSuspiciousPhysicalPath(String physicalPath)
   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)


stackTrace:
System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.API.Helpers.AttachmentsHelper.IsDateStamperExtension(String extension) in D:\osmosys\oqsha\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\AttachmentsHelper.cs:line 163
   at IncidentReporter.API.Helpers.AttachmentsHelper.SaveAttachment(Attachment attachment, String baseFolder) in D:\osmosys\oqsha\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\AttachmentsHelper.cs:line 98
   at IncidentReporter.API.BLL.AttendanceBLL.<CaptureAttendanceByFaceRecognition>d__19.MoveNext() in D:\osmosys\oqsha\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\AttendanceBLL.cs:line 892


stackTrace:
System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at IncidentReporter.API.BLL.AttendanceBLL.<CreateAttendance>d__9.MoveNext() in D:\osmosys\oqsha\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\AttendanceBLL.cs:line 131


message: The file path you provided is not Valid

stackTrace:
System.Exception: The file path you provided is not Valid
   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)
   at IncidentReporter.API.Helpers.ExportIncidentPDFHelper.ExportIncidentPDF(IncidentDBO incident, String organisationBannerRelativePath, String outputAbsoluteFilePath, String ticketModuleCustomName, Boolean enableReportedByType) in D:\osmosys\oqsha\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\ExportIncidentPDFHelper.cs:line 620


stackTrace:
System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at IncidentReporter.API.Helpers.OsmoguardApiHelper.<GetAsync>d__1`1.MoveNext() in D:\osmosys\oqsha\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\OsmoguardApiHelper.cs:line 17
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at IncidentReporter.API.BLL.OrganisationBLL.<GetConnectedOrgsByUserIdAsync>d__13.MoveNext() in D:\osmosys\oqsha\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\OrganisationBLL.cs:line 391