iisnode encountered an error when processing the request.
HRESULT: 0x2 HTTP status: 500 HTTP subStatus: 1002 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:
2026-09-25T12:43:28.082Z ERROR Database connection failed (ELOGIN). 2026-09-25T12:43:28.082Z ERROR [ai/platform] settings could not be loaded: Login failed for user 'db_express_erp'. 2026-09-25T12:43:28.082Z ERROR [startup] failed - server was not opened; database unavailable (ELOGIN). 2026-09-25T12:43:28.082Z ERROR (node:231372) [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)