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:

MongoDB bağlantı hatası: MongooseServerSelectionError: connect ECONNREFUSED ::1:27017, connect ECONNREFUSED 127.0.0.1:27017
    at _handleConnectionErrors (C:\siteler\qrmenu\node_modules\mongoose\lib\connection.js:1165:11)
    at NativeConnection.openUri (C:\siteler\qrmenu\node_modules\mongoose\lib\connection.js:1096:11) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'Unknown',
    servers: Map(1) { 'localhost:27017' => [ServerDescription] },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: null,
    maxElectionId: null,
    maxSetVersion: null,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined
}
(node:4476) [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)
Application has thrown an uncaught exception and is terminated:
MongoServerSelectionError: connect ECONNREFUSED ::1:27017, connect ECONNREFUSED 127.0.0.1:27017
    at Topology.selectServer (C:\siteler\qrmenu\node_modules\mongodb\lib\sdam\topology.js:321:38)
    at async Topology._connect (C:\siteler\qrmenu\node_modules\mongodb\lib\sdam\topology.js:200:28)
    at async Topology.connect (C:\siteler\qrmenu\node_modules\mongodb\lib\sdam\topology.js:152:13)
    at async topologyConnect (C:\siteler\qrmenu\node_modules\mongodb\lib\mongo_client.js:233:17)
    at async MongoClient._connect (C:\siteler\qrmenu\node_modules\mongodb\lib\mongo_client.js:246:13)
    at async MongoClient.connect (C:\siteler\qrmenu\node_modules\mongodb\lib\mongo_client.js:171:13)
    at async MongoClient.connect (C:\siteler\qrmenu\node_modules\mongodb\lib\mongo_client.js:360:16)