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:4172) [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)
(node:4172) [DEP0126] DeprecationWarning: timers.active() is deprecated. Please use timeout.refresh() instead.
(node:4172) [DEP0096] DeprecationWarning: timers.unenroll() is deprecated. Please use clearTimeout instead.
(node:4172) [DEP0095] DeprecationWarning: timers.enroll() is deprecated. Please use setTimeout instead.
Database error: Error: ER_CON_COUNT_ERROR: Too many connections
SQL statement: SELECT id, label, url, image FROM box WHERE page_id = ? AND active = 1 ORDER BY sequence
SQL args: [8226]
Database error: Error: ER_CON_COUNT_ERROR: Too many connections
SQL statement: SELECT * FROM link WHERE page_id = ? AND active = 1 ORDER BY sequence
SQL args: [8226]
Database error: Error: ER_CON_COUNT_ERROR: Too many connections
SQL statement: SELECT * FROM welfare_video WHERE page_id = ? AND active = 1 ORDER BY sequence
SQL args: [8226]
Database error: Error: ER_CON_COUNT_ERROR: Too many connections
SQL statement: SELECT * FROM quote WHERE page_id = ? AND active = 1 ORDER BY sequence
SQL args: [8226]
Database error: Error: ER_CON_COUNT_ERROR: Too many connections
SQL statement: SELECT * FROM video WHERE page_id = ? AND active = 1 ORDER BY sequence
SQL args: [8226]
Database error: Error: ER_CON_COUNT_ERROR: Too many connections
SQL statement: SELECT id, name, telephone, email, address, map_url, image FROM region WHERE page_id = ? AND active = 1 ORDER BY sequence
SQL args: [8226]
Database error: Error: ER_CON_COUNT_ERROR: Too many connections
SQL statement: SELECT name, url, image, summary, logo_image, tags FROM front_end_page WHERE parent_id = ? AND active = 1 ORDER BY sequence
SQL args: [8226]
Database error: Error: ER_CON_COUNT_ERROR: Too many connections
SQL statement: SELECT url, name FROM front_end_page WHERE parent_id = 7592 AND active = 1 ORDER BY sequence
SQL args: [8226]
Database error: Error: ER_CON_COUNT_ERROR: Too many connections
SQL statement: SELECT id, url, category_id, name, image, price FROM product WHERE active = 1 ORDER BY name
SQL args: undefined
Database error: Error: ER_CON_COUNT_ERROR: Too many connections
SQL statement: SELECT id, name FROM category WHERE active = 1 ORDER BY sequence
SQL args: undefined
Database error: Error: ER_CON_COUNT_ERROR: Too many connections
SQL statement: SELECT url, name FROM front_end_page WHERE parent_id = 9 AND active = 1 ORDER BY sequence
SQL args: undefined
Database error: Error: ER_CON_COUNT_ERROR: Too many connections
SQL statement: SELECT id, url, pdf_file, category, feature_image, name, featured, category, ages, image, description, type FROM resource WHERE active = 1
SQL args: undefined
Database error: Error: ER_CON_COUNT_ERROR: Too many connections
SQL statement: SELECT id, name, url FROM front_end_page WHERE id = 7573 AND active = 1
SQL args: undefined
Database error: Error: ER_CON_COUNT_ERROR: Too many connections
SQL statement: SELECT image, alt FROM banner WHERE page_id = ? AND active = 1 ORDER BY sequence
SQL args: [8219]
Database error: Error: ER_CON_COUNT_ERROR: Too many connections
SQL statement: SELECT url, name FROM front_end_page WHERE parent_id = 7592 AND active = 1 ORDER BY sequence
SQL args: [8226]
Application has thrown an uncaught exception and is terminated:
Error: ER_CON_COUNT_ERROR: Too many connections
    at Handshake.Sequence._packetToError (C:\Program Files\iisnode\www\britishwool\node_modules\mysql\lib\protocol\sequences\Sequence.js:52:14)
    at Handshake.ErrorPacket (C:\Program Files\iisnode\www\britishwool\node_modules\mysql\lib\protocol\sequences\Handshake.js:130:18)
    at Protocol._parsePacket (C:\Program Files\iisnode\www\britishwool\node_modules\mysql\lib\protocol\Protocol.js:279:23)
    at Parser.write (C:\Program Files\iisnode\www\britishwool\node_modules\mysql\lib\protocol\Parser.js:76:12)
    at Protocol.write (C:\Program Files\iisnode\www\britishwool\node_modules\mysql\lib\protocol\Protocol.js:39:16)
    at Socket.<anonymous> (C:\Program Files\iisnode\www\britishwool\node_modules\mysql\lib\Connection.js:103:28)
    at Socket.emit (node:events:527:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    --------------------
    at Protocol._enqueue (C:\Program Files\iisnode\www\britishwool\node_modules\mysql\lib\protocol\Protocol.js:145:48)
    at Protocol.handshake (C:\Program Files\iisnode\www\britishwool\node_modules\mysql\lib\protocol\Protocol.js:52:23)
    at Connection.connect (C:\Program Files\iisnode\www\britishwool\node_modules\mysql\lib\Connection.js:130:18)
    at Connection._implyConnect (C:\Program Files\iisnode\www\britishwool\node_modules\mysql\lib\Connection.js:461:10)
    at Connection.query (C:\Program Files\iisnode\www\britishwool\node_modules\mysql\lib\Connection.js:206:8)
    at Query._callback (C:\Program Files\iisnode\www\britishwool\server_code\database.js:31:23)
    at Query.Sequence.end (C:\Program Files\iisnode\www\britishwool\node_modules\mysql\lib\protocol\sequences\Sequence.js:88:24)
    at C:\Program Files\iisnode\www\britishwool\node_modules\mysql\lib\protocol\Protocol.js:398:18
    at Array.forEach (<anonymous>)
    at C:\Program Files\iisnode\www\britishwool\node_modules\mysql\lib\protocol\Protocol.js:397:13