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:13084) [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)
failed to udpate any row of <WebshopCart>
failed to udpate any row of <Media>
sql query execution error:

            
BEGIN TRY
    UPDATE customer SET [name]=N'آقای میثم آژمون', [alias]=NULL, [person_or_company]=N'person', [tax_identifier]=NULL, [national_id]=NULL, [phone1]=N'09363635522', [phone2]=N'09140932489', [phone3]=NULL, [email]=NULL, [price_class]=1, [zip]=NULL, [address]=N'سیرجان - خیابان خواجو - نرسیده به 15خرداد - عطر کلبه  ', [tags]=NULL, [city]=N'سيرجان', [province]=N'كرمان', [map_location]=NULL, [bank_account]=NULL, [bank_iban]=NULL, [bank_card1]=NULL, [bank_card2]=NULL, [is_supplier]=0, [is_blocked]=0, [is_public]=1, [customer_code]=N'C590492', [creator]=N'd8acaf3a-2296-4b96-8f36-32996bde8098', [created_at]=1691220486911, [is_starred]=0, is_deleted=0, changed_at=IIF(1734848607469>changed_at, 1734848607469, changed_at), sync_ver=1734849518698 WHERE uuid='3282D68B-FDED-41CD-9CC5-B2E58848C09D' AND changed_at<1734848607469
END TRY
BEGIN CATCH
END CATCH

BEGIN TRY
    UPDATE customer SET [name]=N'خانم نوایی', [alias]=NULL, [person_or_company]=N'person', [tax_identifier]=NULL, [national_id

            {"code":"EREQUEST","originalError":{"sqlstate":"HYT00","code":0,"severity":0,"serverName":"","procName":"","lineNumber":0},"name":"RequestError","number":0,"lineNumber":0,"state":"HYT00","class":0,"serverName":"","procName":""}
        
cannot update bulk RequestError: Query timeout expired
    at handleError (C:\inetpub\TX_Kalaban\node_modules\mssql\lib\msnodesqlv8\request.js:276:21)
    at StreamEvents.emit (node:events:514:28)
    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) {
  code: 'EREQUEST',
  originalError: [Error: [Microsoft][SQL Server Native Client 11.0]Query timeout expired] {
    sqlstate: 'HYT00',
    code: 0,
    severity: 0,
    serverName: '',
    procName: '',
    lineNumber: 0
  },
  number: 0,
  lineNumber: 0,
  state: 'HYT00',
  class: 0,
  serverName: '',
  procName: ''
}
failed to udpate any row of <Media>
sql query execution error:

            
BEGIN TRY
    UPDATE customer SET [name]=N'خانم سلیمانی _ کبودراهنگ', [alias]=NULL, [person_or_company]=N'person', [tax_identifier]=NULL, [national_id]=NULL, [phone1]=N'09186272402', [phone2]=N'09186272403', [phone3]=NULL, [email]=NULL, [price_class]=1, [zip]=N'6561813847', [address]=N'همدان کبودراهنگ روستای روعان انتهای خیابان سید عبدالجبار تحویل به مخابرات روستا', [tags]=NULL, [city]=NULL, [province]=NULL, [map_location]=NULL, [bank_account]=NULL, [bank_iban]=NULL, [bank_card1]=NULL, [bank_card2]=NULL, [is_supplier]=0, [is_blocked]=0, [is_public]=1, [customer_code]=N'C882274', [creator]=N'd8acaf3a-2296-4b96-8f36-32996bde8098', [created_at]=1708583229420, [is_starred]=0, is_deleted=0, changed_at=IIF(1734848607469>changed_at, 1734848607469, changed_at), sync_ver=1734849581726 WHERE uuid='C00449A7-7EA6-41A3-8FD6-A53D9087322D' AND changed_at<1734848607469
END TRY
BEGIN CATCH
END CATCH

BEGIN TRY
    UPDATE customer SET [name]=N'محمد طاها', [alias]=NULL, [person_or_company]=N'person', [t

            {"code":"EREQUEST","originalError":{"sqlstate":"HYT00","code":0,"severity":0,"serverName":"","procName":"","lineNumber":0},"name":"RequestError","number":0,"lineNumber":0,"state":"HYT00","class":0,"serverName":"","procName":""}
        
cannot update bulk RequestError: Query timeout expired
    at handleError (C:\inetpub\TX_Kalaban\node_modules\mssql\lib\msnodesqlv8\request.js:276:21)
    at StreamEvents.emit (node:events:514:28)
    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) {
  code: 'EREQUEST',
  originalError: [Error: [Microsoft][SQL Server Native Client 11.0]Query timeout expired] {
    sqlstate: 'HYT00',
    code: 0,
    severity: 0,
    serverName: '',
    procName: '',
    lineNumber: 0
  },
  number: 0,
  lineNumber: 0,
  state: 'HYT00',
  class: 0,
  serverName: '',
  procName: ''
}
sql query execution error:

            
BEGIN TRY
    UPDATE customer SET [name]=N'آقای شکاری _ سیرجان', [alias]=NULL, [person_or_company]=N'person', [tax_identifier]=NULL, [national_id]=NULL, [phone1]=N'09103741310', [phone2]=NULL, [phone3]=NULL, [email]=NULL, [price_class]=1, [zip]=NULL, [address]=N'سیرجان خ ابن سینا روبروی فروشگاه تهامی پرنده بهاران شکاری', [tags]=NULL, [city]=NULL, [province]=NULL, [map_location]=NULL, [bank_account]=NULL, [bank_iban]=NULL, [bank_card1]=NULL, [bank_card2]=NULL, [is_supplier]=0, [is_blocked]=0, [is_public]=1, [customer_code]=N'C599194', [creator]=N'd8acaf3a-2296-4b96-8f36-32996bde8098', [created_at]=1716715355007, [is_starred]=0, is_deleted=0, changed_at=IIF(1734848607469>changed_at, 1734848607469, changed_at), sync_ver=1734849630831 WHERE uuid='D3C3AF69-8B55-439D-86DB-12DB54CDA698' AND changed_at<1734848607469
END TRY
BEGIN CATCH
END CATCH

BEGIN TRY
    UPDATE customer SET [name]=N'آقای یاری _ اندیشه', [alias]=NULL, [person_or_company]=N'person', [tax_identifier]=NULL, [national_id]=NU

            {"code":"EREQUEST","originalError":{"sqlstate":"HYT00","code":0,"severity":0,"serverName":"","procName":"","lineNumber":0},"name":"RequestError","number":0,"lineNumber":0,"state":"HYT00","class":0,"serverName":"","procName":""}
        
cannot update bulk RequestError: Query timeout expired
    at handleError (C:\inetpub\TX_Kalaban\node_modules\mssql\lib\msnodesqlv8\request.js:276:21)
    at StreamEvents.emit (node:events:514:28)
    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) {
  code: 'EREQUEST',
  originalError: [Error: [Microsoft][SQL Server Native Client 11.0]Query timeout expired] {
    sqlstate: 'HYT00',
    code: 0,
    severity: 0,
    serverName: '',
    procName: '',
    lineNumber: 0
  },
  number: 0,
  lineNumber: 0,
  state: 'HYT00',
  class: 0,
  serverName: '',
  procName: ''
}
sql query execution error:

            
DECLARE @trg TABLE (uuid uniqueidentifier);

WITH src AS (
    SELECT [uuid], [name], [parent_directory], [created_at], [tags], [media_id], [changed_at], [sync_ver], [is_deleted] FROM [directory] AS src
    WHERE owner='1624BC08-2C13-4D4D-9104-5CE314021729' AND sync_ver>0
)

SELECT (
    SELECT * FROM src
    WHERE
        sync_ver>1734848934037
        AND is_deleted = 0
        AND NOT EXISTS (SELECT uuid FROM @trg AS trg WHERE src.uuid=trg.uuid)
    FOR JSON AUTO, INCLUDE_NULL_VALUES)
AS [new_to_client]
,
(SELECT (
    SELECT uuid FROM src
    WHERE
        sync_ver>1734848934037
        AND is_deleted = 1
    FOR JSON AUTO, INCLUDE_NULL_VALUES)
) AS [deleted]
,
(SELECT IIF(OBJECT_ID('tempdb..##MissingPKs') IS NULL, NULL, (
    SELECT [column], [value] FROM ##MissingPKs
    WHERE [table]='directory' AND owner='1624BC08-2C13-4D4D-9104-5CE314021729'
    FOR JSON AUTO, INCLUDE_NULL_VALUES)
)) AS [missing_pks_in_server]
,
(SELECT
    LOWER(CONVERT(VARCHAR(32),HASHBYTES('MD5', LOWER((
 

            {"code":"EREQUEST","originalError":{"sqlstate":"42S02","code":208,"severity":16,"serverName":"SERVER-WIN","procName":"","lineNumber":4},"name":"RequestError","number":208,"lineNumber":4,"state":"42S02","class":16,"serverName":"SERVER-WIN","procName":""}
        
sql query execution error:

            
BEGIN TRY
    UPDATE customer SET [name]=N'خانم شقایق تبریزی', [alias]=NULL, [person_or_company]=N'person', [tax_identifier]=NULL, [national_id]=NULL, [phone1]=N'09021893340', [phone2]=NULL, [phone3]=NULL, [email]=NULL, [price_class]=1, [zip]=N'9461753141', [address]=N'خراسان شمالی شیروان _ خیابان گلستان ۱۳ پلاک ۹ ', [tags]=NULL, [city]=NULL, [province]=NULL, [map_location]=NULL, [bank_account]=NULL, [bank_iban]=NULL, [bank_card1]=NULL, [bank_card2]=NULL, [is_supplier]=0, [is_blocked]=0, [is_public]=1, [customer_code]=N'C941515', [creator]=N'd8acaf3a-2296-4b96-8f36-32996bde8098', [created_at]=1718192924240, [is_starred]=0, is_deleted=0, changed_at=IIF(1734848607469>changed_at, 1734848607469, changed_at), sync_ver=1734849670847 WHERE uuid='1D3299A2-055C-4739-B0A0-880A7E0C6855' AND changed_at<1734848607469
END TRY
BEGIN CATCH
END CATCH

BEGIN TRY
    UPDATE customer SET [name]=N'آقای نوربخش _ اندیمشک', [alias]=NULL, [person_or_company]=N'person', [tax_identifier]=NULL, [national_id]=NUL

            {"code":"EREQUEST","originalError":{"sqlstate":"HYT00","code":0,"severity":0,"serverName":"","procName":"","lineNumber":0},"name":"RequestError","number":0,"lineNumber":0,"state":"HYT00","class":0,"serverName":"","procName":""}
        
cannot update bulk RequestError: Query timeout expired
    at handleError (C:\inetpub\TX_Kalaban\node_modules\mssql\lib\msnodesqlv8\request.js:276:21)
    at StreamEvents.emit (node:events:514:28)
    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) {
  code: 'EREQUEST',
  originalError: [Error: [Microsoft][SQL Server Native Client 11.0]Query timeout expired] {
    sqlstate: 'HYT00',
    code: 0,
    severity: 0,
    serverName: '',
    procName: '',
    lineNumber: 0
  },
  number: 0,
  lineNumber: 0,
  state: 'HYT00',
  class: 0,
  serverName: '',
  procName: ''
}