File Upload Error on HelpDesk

Creation date: 2/2/2023 11:21 AM    Updated: 2/2/2023 11:21 AM
Question:

I get the error below on the helpdesk.

Category: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer
EventId: 0
SpanId: 199437e810db5a0e
TraceId: 49e0408d0b9e697c42fe413fdb3a189d
ParentId: 0000000000000000
RequestId: 8000601c-0001-ef00-b63f-84710c7967bb
RequestPath: /File/FileUpload
ActionId: 538077da-e6b6-486c-bedf-74fa40cfc6dd
ActionName: HelpDesk.Controllers.FileController.FileUpload (HelpDesk)

Increasing the MaxRequestBodySize conflicts with the max value for IIS limit maxAllowedContentLength. HTTP requests that have a content length greater than maxAllowedContentLength will still be rejected by IIS. You can disable the limit by either removing or setting the maxAllowedContentLength value to a higher limit.

Answer:

It's a warning, that you can ignore. To get rid of it, simply edit the web.config file like described here: https://support.jitbit.com/helpdesk/KB/View/3193851
Solving problems with on-premises version of Jitbit Helpdesk ticketing system