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:12692) [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)
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:393:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at res.set.res.header (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.1\dist\spa\en-GB\main.js:3:2169062)
    at res.send (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.1\dist\spa\en-GB\main.js:3:2163426)
    at E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.1\dist\spa\en-GB\main.js:3:2061934
    at _ZoneDelegate.invoke (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.1\dist\spa\en-GB\main.js:3:2825080)
    at ZoneImpl2.run (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.1\dist\spa\en-GB\main.js:3:2817653)
    at E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.1\dist\spa\en-GB\main.js:3:2836001
    at _ZoneDelegate.invokeTask (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.1\dist\spa\en-GB\main.js:3:2825922)
    at ZoneImpl2.runTask (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.1\dist\spa\en-GB\main.js:3:2818722)
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:393:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at res.set.res.header (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.1\dist\spa\en-GB\main.js:3:2169062)
    at res.send (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.1\dist\spa\en-GB\main.js:3:2163426)
    at E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.1\dist\spa\en-GB\main.js:3:2061934
    at _ZoneDelegate.invoke (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.1\dist\spa\en-GB\main.js:3:2825080)
    at ZoneImpl2.run (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.1\dist\spa\en-GB\main.js:3:2817653)
    at E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.1\dist\spa\en-GB\main.js:3:2836001
    at _ZoneDelegate.invokeTask (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.1\dist\spa\en-GB\main.js:3:2825922)
    at ZoneImpl2.runTask (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.1\dist\spa\en-GB\main.js:3:2818722)