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:
sql query execution error: SELECT TOP 1 grp.*, media.url logo_media_url, [plan].max_users AS max_users, storage.value AS storage_capacity, bandwidth.value AS bandwidth_capacity, webshop.fa_title AS webshop_plan_title_fa, webshop.en_title AS webshop_plan_title_en, webshop.fa_short_desc AS webshop_plan_short_desc_fa, webshop.en_short_desc AS webshop_plan_short_desc_en, stg.uuid AS workgroup_setting_id FROM Workgroup grp LEFT JOIN Media [media] ON [media] .uuid = grp.logo_media_id AND media.is_deleted=0 LEFT JOIN KalabanPlan [plan] ON [plan] .name = grp.plan_name LEFT JOIN KalabanPlanConfig storage ON storage .name = grp.storage_plan LEFT JOIN KalabanPlanConfig bandwidth ON bandwidth.name = grp.bandwidth_plan LEFT JOIN KalabanPlanConfig webshop ON webshop .name = grp.webshop_plan LEFT JOIN WorkgroupSetting stg ON stg .owner = grp.uuid WHERE grp.uuid = N'EA26A032-5DC9-41CD-A28F-4A7FF5D43DE3' {"code":"EREQUEST","originalError":{"sqlstate":"40001","code":1205,"severity":13,"serverName":"SERVER-WIN","procName":"","lineNumber":2},"name":"RequestError","number":1205,"lineNumber":2,"state":"40001","class":13,"serverName":"SERVER-WIN","procName":""} RequestError: Transaction (Process ID 153) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. at handleError (C:\inetpub\TX_Kalaban\node_modules\mssql\lib\msnodesqlv8\request.js:276:21) at StreamEvents.emit (node:events:514:28) at StreamEvents.emit (node:domain:488:12) at C:\inetpub\TX_Kalaban\node_modules\msnodesqlv8\lib\reader.js:83:20 at Array.forEach (<anonymous>) at Query.routeStatementError (C:\inetpub\TX_Kalaban\node_modules\msnodesqlv8\lib\reader.js:73:19) at C:\inetpub\TX_Kalaban\node_modules\msnodesqlv8\lib\reader.js:239:12 at C:\inetpub\TX_Kalaban\node_modules\msnodesqlv8\lib\driver.js:191:13 at Immediate.<anonymous> (C:\inetpub\TX_Kalaban\node_modules\msnodesqlv8\lib\driver.js:167:9) at process.processImmediate (node:internal/timers:478:21)