Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Windows

แก้ไข SideBySide Error 59 บนคอมพิวเตอร์ Windows

บน Windows 11 หรือ Windows 10 ขณะตรวจสอบ Event Logs ใน Event Viewer อาจพบ Event ID 59 พร้อมคำอธิบาย Activation context generation failed เมื่อข้อผิดพลาด manifest หรือ policy file เกิดขึ้น มักเมื่อเปิดแอปบางตัวและแอป crash ปัญหานี้มักไม่สังเกตเพราะไม่ส่งผลร้ายแรงต่อระบบ แต่บทความนี้มีข้อเสนอแก้ไข SideBySide Error 59 เพื่อป้องกันปัญหาในอนาคต

แก้ไข SideBySide Error 59 บนคอมพิวเตอร์ Windows

Activation context generation failed for ’C:\KMQQ760\KMQQ.exe”.Error in manifest or policy file “C:\KMQQ760\KMQQ.exe” on linel. Invalid Xml syntax.

Side-by-Side application คืออะไร?

Microsoft Win32 Side-by-Side service จัดการการใช้งานเวอร์ชันต่างๆ ของคอมโพเนนต์เดียวกัน (DLLs, COMs) ที่ติดตั้งและรันบน Windows 11/10 เดียวกัน

SideBySide error คืออะไร?

SideBySide errors เกิดขึ้นเมื่อ Microsoft Visual C++ เวอร์ชันปัจจุบันไม่ backward compatible กับแอปที่ crash โดยปกติจะเกี่ยวข้องกับ Event ID 33 หรือ Event ID 59 สำหรับการวินิจฉายละเอียด ใช้ sxstrace.exe

สาเหตุที่น่าจะเป็นไปได้มากที่สุด:

  • ขาด Visual C++ Redistributable Package
  • ไฟล์ระบบปฏิบัติการที่เกี่ยวข้องเสียหาย
  • ไฟล์ .DLL ของ Bing Bar Extension เสียหาย
  • System File corruption

SideBySide Error 59 – Activation context generation failed

หากเจอปัญหา Activation context generation failed ลองวิธีแก้ไขด้านล่างไม่เรียงลำดับความสำคัญครับ

  1. รัน Windows Store Apps Troubleshooter
  2. Uninstall Bing Bar (ถ้ามี)
  3. รัน SFC และ DISM scan
  4. ติดตั้ง Microsoft Visual C++ Redistributable Packages ที่ขาดหาย
  5. Uninstall และ reinstall แอปที่มีปัญหา
  6. Reset Windows 11/10

มาดูรายละเอียดแต่ละข้อครับ

1] รัน Windows Store Apps Troubleshooter

แก้ไข SideBySide Error 59 บนคอมพิวเตอร์ Windows

เนื่องจาก SideBySide Error 59 เกี่ยวข้องกับแอป เริ่มต้นด้วยการรัน Windows Store Apps Troubleshooter

Windows 11:

  • กด Windows key + I เปิด Settings
  • ไป System > Troubleshoot > Other troubleshooters
  • หา Windows Store Apps ในส่วน Other
  • กด Run
  • ทำตามคำแนะนำ ใช้ fix ที่แนะนำ

Windows 10:

แก้ไข SideBySide Error 59 บนคอมพิวเตอร์ Windows

  • กด Windows key + I เปิด Settings
  • ไป Update and Security
  • คลิก Troubleshooter
  • เลื่อนลงหา Windows Store Apps
  • กด Run the troubleshooter
  • ทำตามคำแนะนำ

2] Uninstall Bing Bar (ถ้ามี)

แก้ไข SideBySide Error 59 บนคอมพิวเตอร์ Windows

Bing Bar เป็น toolbar สำหรับ IE ผสานกับ Bing search engine ใช้ค้นหาวิดีโอ ข่าว แผนที่

สำหรับ error นี้ พบว่า Bing Bar extension พยายามเรียก .dll file ที่เสียหายก็เป็นสาเหตุหนึ่ง หากคุณติดตั้ง Bing Bar ให้ uninstall Bing Toolbar ออกจาก PC

3] รัน SFC และ DISM scan

แก้ไข SideBySide Error 59 บนคอมพิวเตอร์ Windows

System file เสียหายที่ส่งผลต่อ Visual C++ dependencies ก็อาจเป็นสาเหตุ ให้รัน SFC/DISM scan ตามคู่มือแก้ error "The system detected an overrun of a stack-based buffer in this application"

4] ติดตั้ง Microsoft Visual C++ Redistributable Packages ที่ขาดหาย

แก้ไข SideBySide Error 59 บนคอมพิวเตอร์ Windows

Error นี้มักมาจากขาด Visual C++ dependency ที่แอปต้องการ หรือ service เริ่มต้นไม่ได้เพราะขาด Visual C++ Redistributable Package ต้องติดตั้ง package ที่ขาดหาย แล้วรีสตาร์ท โปรแกรมต่างๆ ต้องการ package ต่างกัน ต้องระบุ MSVCR runtime libraries ที่ขาดก่อน

ขั้นตอน:

  • กด Windows key + R เปิด Run dialog
  • พิมพ์ cmd แล้ว CTRL + SHIFT + ENTER เปิด Command Prompt แบบ admin
  • พิมพ์คำสั่งด้านล่าง Enter:
SxsTrace Trace -logfile:SxsTrace.etl
  • เปิดโปรแกรมที่ก่อให้เกิด error
  • รันคำสั่งใน CMD เดียวกัน:
sxstrace Parse -logfile:SxSTrace.etl -outfile:SxSTrace.txt
  • เปิด SxSTrace.txt ด้วย text editor อ่านดู VC++ runtime dependency ไหนขาด
  • ดาวน์โหลดและติดตั้ง Visual C++ Redistributable Package ที่เหมาะสม
  • รีสตาร์ท PC เมื่อติดตั้งเสร็จ

บูทแล้วดูว่าแก้ปัญหาหรือยัง ไม่ได้ลองข้อต่อไป

5] Uninstall และ reinstall แอป

แก้ไข SideBySide Error 59 บนคอมพิวเตอร์ Windows

วิธีที่เป็นไปได้ เนื่องจาก error อาจมาจากแอปที่ crash ตอนเปิด ให้ uninstall แอป (แนะนำ third-party uninstaller) รีสตาร์ท แล้วดาวน์โหลดเวอร์ชันล่าสุดหรือตัวเลือกอื่น ติดตั้งใหม่

6] Reset Windows 11/10

แก้ไข SideBySide Error 59 บนคอมพิวเตอร์ Windows

หากไม่มีวิธีไหนได้ผล ให้ reset Windows 11/10 เลือกเก็บไฟล์ส่วนตัวไว้

ขอให้แก้ปัญหาสำเร็จครับ!

บทความเกี่ยวข้อง: The application has failed to start because its side-by-side configuration is incorrect.

แก้ไข SideBySide Error 59 บนคอมพิวเตอร์ Windows