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:5284) [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)
Unhandled application error: TypeError: C:\Inetpub\vhosts\aractech.com\httpdocs\views\course-detail.ejs:322
    320|     <p class="hero-subtitle">Send a fast enquiry about this course and the academy team will get back to you.</p>
    321|     <form id="quick-request-form" class="quick-request-form">
 >> 322|       <input type="hidden" name="course" value="<%= page.quickRequest.course %>" />
    323|       <input type="hidden" name="courseUrl" value="<%= page.quickRequest.courseUrl %>" />
    324|       <input type="hidden" name="courseCode" value="<%= page.quickRequest.courseCode %>" />
    325|       <div class="register-grid">

Cannot read properties of undefined (reading 'course')
    at eval ("C:\\Inetpub\\vhosts\\aractech.com\\httpdocs\\views\\course-detail.ejs":413:44)
    at course-detail (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\ejs\lib\ejs.js:703:17)
    at tryHandleCache (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\ejs\lib\ejs.js:274:36)
    at exports.renderFile [as engine] (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\ejs\lib\ejs.js:491:10)
    at View.render (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\express\lib\view.js:135:8)
    at tryRender (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\express\lib\application.js:657:10)
    at Function.render (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\express\lib\application.js:609:3)
    at ServerResponse.render (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\express\lib\response.js:1049:7)
    at renderPage (C:\Inetpub\vhosts\aractech.com\httpdocs\app.js:1071:29)
    at C:\Inetpub\vhosts\aractech.com\httpdocs\app.js:5683:5 {
  path: 'C:\\Inetpub\\vhosts\\aractech.com\\httpdocs\\views\\course-detail.ejs'
}
Unhandled application error: TypeError: C:\Inetpub\vhosts\aractech.com\httpdocs\views\course-detail.ejs:322
    320|     <p class="hero-subtitle">Send a fast enquiry about this course and the academy team will get back to you.</p>
    321|     <form id="quick-request-form" class="quick-request-form">
 >> 322|       <input type="hidden" name="course" value="<%= page.quickRequest.course %>" />
    323|       <input type="hidden" name="courseUrl" value="<%= page.quickRequest.courseUrl %>" />
    324|       <input type="hidden" name="courseCode" value="<%= page.quickRequest.courseCode %>" />
    325|       <div class="register-grid">

Cannot read properties of undefined (reading 'course')
    at eval ("C:\\Inetpub\\vhosts\\aractech.com\\httpdocs\\views\\course-detail.ejs":413:44)
    at course-detail (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\ejs\lib\ejs.js:703:17)
    at tryHandleCache (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\ejs\lib\ejs.js:274:36)
    at exports.renderFile [as engine] (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\ejs\lib\ejs.js:491:10)
    at View.render (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\express\lib\view.js:135:8)
    at tryRender (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\express\lib\application.js:657:10)
    at Function.render (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\express\lib\application.js:609:3)
    at ServerResponse.render (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\express\lib\response.js:1049:7)
    at renderPage (C:\Inetpub\vhosts\aractech.com\httpdocs\app.js:1071:29)
    at C:\Inetpub\vhosts\aractech.com\httpdocs\app.js:5683:5 {
  path: 'C:\\Inetpub\\vhosts\\aractech.com\\httpdocs\\views\\course-detail.ejs'
}
Unhandled application error: TypeError: C:\Inetpub\vhosts\aractech.com\httpdocs\views\course-detail.ejs:322
    320|     <p class="hero-subtitle">Send a fast enquiry about this course and the academy team will get back to you.</p>
    321|     <form id="quick-request-form" class="quick-request-form">
 >> 322|       <input type="hidden" name="course" value="<%= page.quickRequest.course %>" />
    323|       <input type="hidden" name="courseUrl" value="<%= page.quickRequest.courseUrl %>" />
    324|       <input type="hidden" name="courseCode" value="<%= page.quickRequest.courseCode %>" />
    325|       <div class="register-grid">

Cannot read properties of undefined (reading 'course')
    at eval ("C:\\Inetpub\\vhosts\\aractech.com\\httpdocs\\views\\course-detail.ejs":413:44)
    at course-detail (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\ejs\lib\ejs.js:703:17)
    at tryHandleCache (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\ejs\lib\ejs.js:274:36)
    at exports.renderFile [as engine] (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\ejs\lib\ejs.js:491:10)
    at View.render (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\express\lib\view.js:135:8)
    at tryRender (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\express\lib\application.js:657:10)
    at Function.render (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\express\lib\application.js:609:3)
    at ServerResponse.render (C:\Inetpub\vhosts\aractech.com\httpdocs\node_modules\express\lib\response.js:1049:7)
    at renderPage (C:\Inetpub\vhosts\aractech.com\httpdocs\app.js:1071:29)
    at C:\Inetpub\vhosts\aractech.com\httpdocs\app.js:5683:5 {
  path: 'C:\\Inetpub\\vhosts\\aractech.com\\httpdocs\\views\\course-detail.ejs'
}