iisnode encountered an error when processing the request.

HRESULT: 0x6d
HTTP status: 500
HTTP subStatus: 1013
HTTP reason: Internal Server Error

You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.

In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.

The last 64k of the output generated by the node.exe process to stderr is shown below:

(node:9940) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Warning: For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'yarn add sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
The requested resource isn't a valid image for /img/home/banner-home.jpg AND EXTRACTVALUE(5706,CONCAT(0x5c,0x7162716b71,(SELECT (ELT(5706=5706,1))),0x7170766271)) received text/html; charset=utf-8
The requested resource isn't a valid image for /img/home/banner-home.jpg) AND 5899=CAST((CHR(113)||CHR(98)||CHR(113)||CHR(107)||CHR(113))||(SELECT (CASE WHEN (5899=5899) THEN 1 ELSE 0 END))::text||(CHR(113)||CHR(112)||CHR(118)||CHR(98)||CHR(113)) AS NUMERIC) AND (3274=3274 received text/html; charset=utf-8
The requested resource isn't a valid image for /img/home/banner-home.jpg' AND 5899=CAST((CHR(113)||CHR(98)||CHR(113)||CHR(107)||CHR(113))||(SELECT (CASE WHEN (5899=5899) THEN 1 ELSE 0 END))::text||(CHR(113)||CHR(112)||CHR(118)||CHR(98)||CHR(113)) AS NUMERIC) AND 'apyy'='apyy received text/html; charset=utf-8
The requested resource isn't a valid image for /img/home/banner-home.jpg') AND 5819 IN (SELECT (CHAR(113)+CHAR(98)+CHAR(113)+CHAR(107)+CHAR(113)+(SELECT (CASE WHEN (5819=5819) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(112)+CHAR(118)+CHAR(98)+CHAR(113))) AND ('RwPf'='RwPf received text/html; charset=utf-8
The requested resource isn't a valid image for /img/home/banner-home.jpg AND 9821=(SELECT UPPER(XMLType(CHR(60)||CHR(58)||CHR(113)||CHR(98)||CHR(113)||CHR(107)||CHR(113)||(SELECT (CASE WHEN (9821=9821) THEN 1 ELSE 0 END) FROM DUAL)||CHR(113)||CHR(112)||CHR(118)||CHR(98)||CHR(113)||CHR(62))) FROM DUAL) received text/html; charset=utf-8
The requested resource isn't a valid image for /img/home/banner-home.jpg AND 9821=(SELECT UPPER(XMLType(CHR(60)||CHR(58)||CHR(113)||CHR(98)||CHR(113)||CHR(107)||CHR(113)||(SELECT (CASE WHEN (9821=9821) THEN 1 ELSE 0 END) FROM DUAL)||CHR(113)||CHR(112)||CHR(118)||CHR(98)||CHR(113)||CHR(62))) FROM DUAL)-- dJfD received text/html; charset=utf-8
The requested resource isn't a valid image for /img/home/banner-home.jpg') ORDER BY 1-- ztFL received text/html; charset=utf-8
BadRequestError: request aborted
    at IncomingMessage.onAborted (C:\inetpub\$PROD\www.mapsted.com\serverB\node_modules\raw-body\index.js:231:10)
    at IncomingMessage.emit (node:events:390:28)
    at IncomingMessage._destroy (node:_http_incoming:179:10)
    at _destroy (node:internal/streams/destroy:102:25)
    at IncomingMessage.destroy (node:internal/streams/destroy:64:5)
    at abortIncoming (node:_http_server:596:9)
    at socketOnClose (node:_http_server:590:3)
    at Socket.emit (node:events:402:35)
    at Pipe.<anonymous> (node:net:687:12)
ValidationError: An undefined 'request.ip' was detected. This might indicate a misconfiguration or the connection being destroyed prematurely. See https://express-rate-limit.github.io/ERR_ERL_UNDEFINED_IP_ADDRESS/ for more information.
    at Object.ip (C:\inetpub\$PROD\www.mapsted.com\serverB\node_modules\express-rate-limit\dist\index.cjs:125:13)
    at Object.wrappedValidations.<computed> [as ip] (C:\inetpub\$PROD\www.mapsted.com\serverB\node_modules\express-rate-limit\dist\index.cjs:324:22)
    at Object.keyGenerator (C:\inetpub\$PROD\www.mapsted.com\serverB\node_modules\express-rate-limit\dist\index.cjs:577:20)
    at C:\inetpub\$PROD\www.mapsted.com\serverB\node_modules\express-rate-limit\dist\index.cjs:629:32
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async C:\inetpub\$PROD\www.mapsted.com\serverB\node_modules\express-rate-limit\dist\index.cjs:611:5 {
  code: 'ERR_ERL_UNDEFINED_IP_ADDRESS',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNDEFINED_IP_ADDRESS/'
}
ValidationError: The 'X-Forwarded-For' header is set but the Express 'trust proxy' setting is false (default). This could indicate a misconfiguration which would prevent express-rate-limit from accurately identifying users. See https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/ for more information.
    at Object.xForwardedForHeader (C:\inetpub\$PROD\www.mapsted.com\serverB\node_modules\express-rate-limit\dist\index.cjs:166:13)
    at Object.wrappedValidations.<computed> [as xForwardedForHeader] (C:\inetpub\$PROD\www.mapsted.com\serverB\node_modules\express-rate-limit\dist\index.cjs:324:22)
    at Object.keyGenerator (C:\inetpub\$PROD\www.mapsted.com\serverB\node_modules\express-rate-limit\dist\index.cjs:579:20)
    at C:\inetpub\$PROD\www.mapsted.com\serverB\node_modules\express-rate-limit\dist\index.cjs:629:32
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async C:\inetpub\$PROD\www.mapsted.com\serverB\node_modules\express-rate-limit\dist\index.cjs:611:5 {
  code: 'ERR_ERL_UNEXPECTED_X_FORWARDED_FOR',
  help: 'https://express-rate-limit.github.io/ERR_ERL_UNEXPECTED_X_FORWARDED_FOR/'
}