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:

Warning: connect.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
(node:40944) [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)
Tue, 30 Apr 2024 12:27:34 GMT tedious deprecated Passing non-number values for options.port will throw an error in future tedious versions. Please pass a number instead. at apps\Templates\api\node_modules\mssql\lib\tedious.js:212:23
Tue, 30 Apr 2024 12:27:34 GMT tedious deprecated Passing non-number values for options.port will throw an error in future tedious versions. Please pass a number instead. at apps\Temis\api\v1\node_modules\mssql\lib\tedious.js:212:23
Warning: connect.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
Tue, 30 Apr 2024 12:27:38 GMT tedious deprecated The default value for `options.encrypt` will change from `false` to `true`. Please pass `false` explicitly if you want to retain current behaviour. at apps\tp\wdp\node_modules\mssql\lib\tedious.js:212:23
Tue, 30 Apr 2024 12:27:38 GMT tedious deprecated The default value for `options.encrypt` will change from `false` to `true`. Please pass `false` explicitly if you want to retain current behaviour. at apps\tp\WDPAdmin\node_modules\mssql\lib\tedious.js:212:23
(node:40944) Warning: Accessing non-existent property 'count' of module exports inside circular dependency
(node:40944) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency
(node:40944) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency
(node:40944) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency
Tue, 30 Apr 2024 12:44:18 GMT express deprecated req.param(name): Use req.params, req.body, or req.query instead at apps\Templates\api\api.js:689:28
Tue, 30 Apr 2024 12:44:18 GMT tedious deprecated The `IntN` data type is internal and will be removed. at apps\Templates\api\node_modules\mssql\lib\tedious.js:63:20
Tue, 30 Apr 2024 12:44:18 GMT tedious deprecated The `BitN` data type is internal and will be removed. at apps\Templates\api\node_modules\mssql\lib\tedious.js:71:40
Tue, 30 Apr 2024 14:37:34 GMT express deprecated req.param(name): Use req.params, req.body, or req.query instead at apps\Temis\api\Hermes\api.js:689:28
(node:40944) UnhandledPromiseRejectionWarning: ConnectionError: Connection is closed.
    at E:\Websites\iisnode\www\NodeProject\node_modules\mssql\lib\main.js:1569:17
    at processTicksAndRejections (internal/process/task_queues.js:79:11)
(node:40944) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:40944) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:40944) UnhandledPromiseRejectionWarning: ConnectionError: Connection is closed.
    at E:\Websites\iisnode\www\NodeProject\node_modules\mssql\lib\main.js:1569:17
    at processTicksAndRejections (internal/process/task_queues.js:79:11)
(node:40944) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:40944) UnhandledPromiseRejectionWarning: ConnectionError: Connection is closed.
    at E:\Websites\iisnode\www\NodeProject\node_modules\mssql\lib\main.js:1569:17
    at processTicksAndRejections (internal/process/task_queues.js:79:11)
(node:40944) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:40944) UnhandledPromiseRejectionWarning: ConnectionError: Connection is closed.
    at E:\Websites\iisnode\www\NodeProject\node_modules\mssql\lib\main.js:1569:17
    at processTicksAndRejections (internal/process/task_queues.js:79:11)
(node:40944) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)