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:14644) [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:\inetpub\vhost\otosal.com\app_server\views\urun.ejs:608 606| <a href="/urun/<%=popularitems.nameSEO%>"><%=popularitems.name%></a> 607| </h2> >> 608| <% 609| var totalrating = 0; 610| var rating = 0; 611| if (categoryitems && categoryitems[0].comments && categoryitems[0].comments.length > 0) { Cannot read properties of undefined (reading 'comments') at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\urun.ejs":707:91) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\urun.ejs":677:20) at urun (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at module.exports.itemview (C:\inetpub\vhost\otosal.com\app_server\controller\itemController.js:120:40) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\urun.ejs:608 606| <a href="/urun/<%=popularitems.nameSEO%>"><%=popularitems.name%></a> 607| </h2> >> 608| <% 609| var totalrating = 0; 610| var rating = 0; 611| if (categoryitems && categoryitems[0].comments && categoryitems[0].comments.length > 0) { Cannot read properties of undefined (reading 'comments') at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\urun.ejs":707:91) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\urun.ejs":677:20) at urun (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at module.exports.itemview (C:\inetpub\vhost\otosal.com\app_server\controller\itemController.js:120:40) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\urun.ejs:608 606| <a href="/urun/<%=popularitems.nameSEO%>"><%=popularitems.name%></a> 607| </h2> >> 608| <% 609| var totalrating = 0; 610| var rating = 0; 611| if (categoryitems && categoryitems[0].comments && categoryitems[0].comments.length > 0) { Cannot read properties of undefined (reading 'comments') at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\urun.ejs":707:91) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\urun.ejs":677:20) at urun (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at module.exports.itemview (C:\inetpub\vhost\otosal.com\app_server\controller\itemController.js:120:40) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\urun.ejs:608 606| <a href="/urun/<%=popularitems.nameSEO%>"><%=popularitems.name%></a> 607| </h2> >> 608| <% 609| var totalrating = 0; 610| var rating = 0; 611| if (categoryitems && categoryitems[0].comments && categoryitems[0].comments.length > 0) { Cannot read properties of undefined (reading 'comments') at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\urun.ejs":707:91) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\urun.ejs":677:20) at urun (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at module.exports.itemview (C:\inetpub\vhost\otosal.com\app_server\controller\itemController.js:120:40) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\urun.ejs:608 606| <a href="/urun/<%=popularitems.nameSEO%>"><%=popularitems.name%></a> 607| </h2> >> 608| <% 609| var totalrating = 0; 610| var rating = 0; 611| if (categoryitems && categoryitems[0].comments && categoryitems[0].comments.length > 0) { Cannot read properties of undefined (reading 'comments') at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\urun.ejs":707:91) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\urun.ejs":677:20) at urun (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at module.exports.itemview (C:\inetpub\vhost\otosal.com\app_server\controller\itemController.js:120:40) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\urun.ejs:608 606| <a href="/urun/<%=popularitems.nameSEO%>"><%=popularitems.name%></a> 607| </h2> >> 608| <% 609| var totalrating = 0; 610| var rating = 0; 611| if (categoryitems && categoryitems[0].comments && categoryitems[0].comments.length > 0) { Cannot read properties of undefined (reading 'comments') at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\urun.ejs":707:91) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\urun.ejs":677:20) at urun (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at module.exports.itemview (C:\inetpub\vhost\otosal.com\app_server\controller\itemController.js:120:40) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\urun.ejs:608 606| <a href="/urun/<%=popularitems.nameSEO%>"><%=popularitems.name%></a> 607| </h2> >> 608| <% 609| var totalrating = 0; 610| var rating = 0; 611| if (categoryitems && categoryitems[0].comments && categoryitems[0].comments.length > 0) { Cannot read properties of undefined (reading 'comments') at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\urun.ejs":707:91) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\urun.ejs":677:20) at urun (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at module.exports.itemview (C:\inetpub\vhost\otosal.com\app_server\controller\itemController.js:120:40) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\urun.ejs:608 606| <a href="/urun/<%=popularitems.nameSEO%>"><%=popularitems.name%></a> 607| </h2> >> 608| <% 609| var totalrating = 0; 610| var rating = 0; 611| if (categoryitems && categoryitems[0].comments && categoryitems[0].comments.length > 0) { Cannot read properties of undefined (reading 'comments') at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\urun.ejs":707:91) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\urun.ejs":677:20) at urun (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at module.exports.itemview (C:\inetpub\vhost\otosal.com\app_server\controller\itemController.js:120:40) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) TypeError: C:\inetpub\vhost\otosal.com\app_server\views\urun.ejs:608 606| <a href="/urun/<%=popularitems.nameSEO%>"><%=popularitems.name%></a> 607| </h2> >> 608| <% 609| var totalrating = 0; 610| var rating = 0; 611| if (categoryitems && categoryitems[0].comments && categoryitems[0].comments.length > 0) { Cannot read properties of undefined (reading 'comments') at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\urun.ejs":707:91) at Array.forEach (<anonymous>) at eval ("C:\\inetpub\\vhost\\otosal.com\\app_server\\views\\urun.ejs":677:20) at urun (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:703:17) at tryHandleCache (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:274:36) at exports.renderFile [as engine] (C:\inetpub\vhost\otosal.com\node_modules\ejs\lib\ejs.js:491:10) at View.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\view.js:135:8) at tryRender (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:657:10) at Function.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\application.js:609:3) at ServerResponse.render (C:\inetpub\vhost\otosal.com\node_modules\express\lib\response.js:1048:7) at res.render (C:\inetpub\vhost\otosal.com\node_modules\express-ejs-layouts\lib\express-layouts.js:77:18) at module.exports.itemview (C:\inetpub\vhost\otosal.com\app_server\controller\itemController.js:120:40) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) Application has thrown an uncaught exception and is terminated: MongoServerError: BSON field 'skip' value must be >= 0, actual value '-28' at Connection.onMessage (C:\inetpub\vhost\otosal.com\node_modules\mongodb\lib\cmap\connection.js:231:30) at MessageStream.<anonymous> (C:\inetpub\vhost\otosal.com\node_modules\mongodb\lib\cmap\connection.js:61:60) at MessageStream.emit (node:events:518:28) at processIncomingData (C:\inetpub\vhost\otosal.com\node_modules\mongodb\lib\cmap\message_stream.js:125:16) at MessageStream._write (C:\inetpub\vhost\otosal.com\node_modules\mongodb\lib\cmap\message_stream.js:33:9) at writeOrBuffer (node:internal/streams/writable:572:12) at _write (node:internal/streams/writable:501:10) at Writable.write (node:internal/streams/writable:510:10) at Socket.ondata (node:internal/streams/readable:1009:22) at Socket.emit (node:events:518:28) at addChunk (node:internal/streams/readable:561:12) at readableAddChunkPushByteMode (node:internal/streams/readable:512:3) at Readable.push (node:internal/streams/readable:392:5) at TCP.onStreamRead (node:internal/stream_base_commons:189:23)