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:7972) [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 ReferenceError: window is not defined
    at IntercomComponent2.ngAfterViewInit (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:1301646)
    at callHookInternal (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:53578)
    at callHook (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:53938)
    at callHooks (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:53328)
    at executeInitAndCheckHooks (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:52660)
    at refreshView (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:126911)
    at detectChangesInView$1 (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:128475)
    at detectChangesInViewIfAttached (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:128030)
    at detectChangesInEmbeddedViews (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:127735)
    at refreshView (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:125633)
ERROR ReferenceError: window is not defined
    at IntercomComponent2.ngAfterViewInit (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:1301646)
    at callHookInternal (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:53578)
    at callHook (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:53938)
    at callHooks (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:53328)
    at executeInitAndCheckHooks (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:52660)
    at refreshView (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:126911)
    at detectChangesInView$1 (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:128475)
    at detectChangesInViewIfAttached (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:128030)
    at detectChangesInEmbeddedViews (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:127735)
    at refreshView (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:125633)
ERROR ReferenceError: window is not defined
    at IntercomComponent2.ngAfterViewInit (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:1301646)
    at callHookInternal (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:53578)
    at callHook (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:53938)
    at callHooks (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:53328)
    at executeInitAndCheckHooks (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:52660)
    at refreshView (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:126911)
    at detectChangesInView$1 (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:128475)
    at detectChangesInViewIfAttached (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:128030)
    at detectChangesInEmbeddedViews (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:127735)
    at refreshView (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:125633)
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.14\dist\spa\en-GB\main.js:3:2185696)
    at res.send (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:2180060)
    at E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:2078572
    at _ZoneDelegate.invoke (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:2841714)
    at ZoneImpl2.run (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:2834287)
    at E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:2852635
    at _ZoneDelegate.invokeTask (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:2842556)
    at ZoneImpl2.runTask (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:2835356)
ERROR ReferenceError: window is not defined
    at IntercomComponent2.ngAfterViewInit (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:1301646)
    at callHookInternal (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:53578)
    at callHook (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:53938)
    at callHooks (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:53328)
    at executeInitAndCheckHooks (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:52660)
    at refreshView (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:126911)
    at detectChangesInView$1 (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:128475)
    at detectChangesInViewIfAttached (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:128030)
    at detectChangesInEmbeddedViews (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:127735)
    at refreshView (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:125633)
ERROR ReferenceError: window is not defined
    at IntercomComponent2.ngAfterViewInit (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:1301646)
    at callHookInternal (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:53578)
    at callHook (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:53938)
    at callHooks (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:53328)
    at executeInitAndCheckHooks (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:52660)
    at refreshView (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:126911)
    at detectChangesInView$1 (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:128475)
    at detectChangesInViewIfAttached (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:128030)
    at detectChangesInEmbeddedViews (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:127735)
    at refreshView (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:125633)
ERROR ReferenceError: window is not defined
    at IntercomComponent2.ngAfterViewInit (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:1301646)
    at callHookInternal (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:53578)
    at callHook (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:53938)
    at callHooks (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:53328)
    at executeInitAndCheckHooks (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:52660)
    at refreshView (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:126911)
    at detectChangesInView$1 (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:128475)
    at detectChangesInViewIfAttached (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:128030)
    at detectChangesInEmbeddedViews (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:127735)
    at refreshView (E:\Octopus\Applications\Iver\Production\OJXFrontendSPA\24.11.14\dist\spa\en-GB\main.js:3:125633)