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:
(node:7064) [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) TypeError: C:\staygamsung\views\detailpage.html:9 7| <div class="product__details__pic__item"> 8| <img class="product__details__pic__item--large" >> 9| src="images/profile/<%=list[0].snsid%>.png" alt="<%=list[0].name%>"> 10| </div> 11| <!-- <div class="product__details__pic__slider owl-carousel"> 12| <img data-imgbigurl="images/profile/<%=list[0].snsid%>.png" Cannot read properties of undefined (reading 'snsid') at eval (C:\staygamsung\views\detailpage.html:12:33) at detailpage (C:\staygamsung\node_modules\ejs\lib\ejs.js:691:17) at tryHandleCache (C:\staygamsung\node_modules\ejs\lib\ejs.js:272:36) at exports.renderFile [as engine] (C:\staygamsung\node_modules\ejs\lib\ejs.js:489:10) at View.render (C:\staygamsung\node_modules\express\lib\view.js:135:8) at tryRender (C:\staygamsung\node_modules\express\lib\application.js:657:10) at Function.render (C:\staygamsung\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\staygamsung\node_modules\express\lib\response.js:1039:7) at res.render (C:\staygamsung\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at Query.<anonymous> (C:\staygamsung\routes\detailpage.js:37:17) TypeError: C:\staygamsung\views\detailpage.html:9 7| <div class="product__details__pic__item"> 8| <img class="product__details__pic__item--large" >> 9| src="images/profile/<%=list[0].snsid%>.png" alt="<%=list[0].name%>"> 10| </div> 11| <!-- <div class="product__details__pic__slider owl-carousel"> 12| <img data-imgbigurl="images/profile/<%=list[0].snsid%>.png" Cannot read properties of undefined (reading 'snsid') at eval (C:\staygamsung\views\detailpage.html:12:33) at detailpage (C:\staygamsung\node_modules\ejs\lib\ejs.js:691:17) at tryHandleCache (C:\staygamsung\node_modules\ejs\lib\ejs.js:272:36) at exports.renderFile [as engine] (C:\staygamsung\node_modules\ejs\lib\ejs.js:489:10) at View.render (C:\staygamsung\node_modules\express\lib\view.js:135:8) at tryRender (C:\staygamsung\node_modules\express\lib\application.js:657:10) at Function.render (C:\staygamsung\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\staygamsung\node_modules\express\lib\response.js:1039:7) at res.render (C:\staygamsung\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at Query.<anonymous> (C:\staygamsung\routes\detailpage.js:37:17) TypeError: C:\staygamsung\views\detailpage.html:9 7| <div class="product__details__pic__item"> 8| <img class="product__details__pic__item--large" >> 9| src="images/profile/<%=list[0].snsid%>.png" alt="<%=list[0].name%>"> 10| </div> 11| <!-- <div class="product__details__pic__slider owl-carousel"> 12| <img data-imgbigurl="images/profile/<%=list[0].snsid%>.png" Cannot read properties of undefined (reading 'snsid') at eval (C:\staygamsung\views\detailpage.html:12:33) at detailpage (C:\staygamsung\node_modules\ejs\lib\ejs.js:691:17) at tryHandleCache (C:\staygamsung\node_modules\ejs\lib\ejs.js:272:36) at exports.renderFile [as engine] (C:\staygamsung\node_modules\ejs\lib\ejs.js:489:10) at View.render (C:\staygamsung\node_modules\express\lib\view.js:135:8) at tryRender (C:\staygamsung\node_modules\express\lib\application.js:657:10) at Function.render (C:\staygamsung\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\staygamsung\node_modules\express\lib\response.js:1039:7) at res.render (C:\staygamsung\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at Query.<anonymous> (C:\staygamsung\routes\detailpage.js:37:17) Application has thrown an uncaught exception and is terminated: Error: ER_BAD_FIELD_ERROR: Unknown column 'undefined' in 'where clause' at Sequence._packetToError (C:\staygamsung\node_modules\mysql\lib\protocol\sequences\Sequence.js:47:14) at Query.ErrorPacket (C:\staygamsung\node_modules\mysql\lib\protocol\sequences\Query.js:79:18) at Protocol._parsePacket (C:\staygamsung\node_modules\mysql\lib\protocol\Protocol.js:291:23) at Parser._parsePacket (C:\staygamsung\node_modules\mysql\lib\protocol\Parser.js:433:10) at Parser.write (C:\staygamsung\node_modules\mysql\lib\protocol\Parser.js:43:10) at Protocol.write (C:\staygamsung\node_modules\mysql\lib\protocol\Protocol.js:38:16) at Socket.<anonymous> (C:\staygamsung\node_modules\mysql\lib\Connection.js:88:28) at Socket.<anonymous> (C:\staygamsung\node_modules\mysql\lib\Connection.js:526:10) at Socket.emit (node:events:519:28) at addChunk (node:internal/streams/readable:559:12) -------------------- at Protocol._enqueue (C:\staygamsung\node_modules\mysql\lib\protocol\Protocol.js:144:48) at Connection.query (C:\staygamsung\node_modules\mysql\lib\Connection.js:198:25) at C:\staygamsung\routes\detailpage.js:20:8