แก้ "The application has failed to start because the side-by-side configuration is incorrect": เมื่อรันโปรแกรมหรือยูทิลิตี้ใน Windows 10 อาจเจอข้อผิดพลาด: "The application has failed to start because the side by side configuration is incorrect please see the application event log or use the command-line sxstrace.exe tool for more detail." สาเหตุมาจากความขัดแย้งระหว่าง C++ run-time libraries กับแอปพลิเคชัน ทำให้โหลดไฟล์ C++ ที่จำเป็นไม่ได้ ไลบรารีเหล่านี้เป็นส่วนหนึ่งของ Visual Studio 2008 หมายเลขเวอร์ชันขึ้นต้นด้วย 9.0
อาจเจอ Error อื่นก่อนหน้า: "This file association does not have a program associated with it for performing this action. Create an association in the Set Association control panel." ส่วนใหญ่เกิดจาก C++ หรือ C run-time libraries ที่ไม่เข้ากัน เสียหาย หรือล้าสมัย บางครั้งจาก System Files ที่เสียหาย
วิธีแก้ Side-by-Side Configuration Incorrect
สร้าง Restore Point ก่อนเพื่อความปลอดภัย
วิธีที่ 1: หา Visual C++ Runtime Library ที่หายไป
- Windows Key + X > Command Prompt (Admin)
- พิมพ์เริ่ม trace mode: SxsTrace Trace -logfile:SxsTrace.etl Enter
- อย่าปิด CMD เปิดแอปที่มีปัญหา คลิก OK ปิด error popup
- กลับ CMD กด Enter หยุด trace mode
- แปลง trace file: sxstrace Parse -logfile:SxSTrace.etl -outfile:SxSTrace.txt
- ไฟล์จะอยู่ที่ C:\Windows\system32\ กด Windows Key + R พิมพ์ %windir%\system32\SxSTrace.txt Enter
- เปิดไฟล์ ดูว่า ต้องการ C++ run time library เวอร์ชันไหน
- ติดตั้งเวอร์ชันนั้นตามวิธีที่ 2
วิธีที่ 2: ติดตั้ง Microsoft Visual C++ Redistributable
เครื่องขาด C++ runtime components ติดตั้ง Visual C++ Redistributable Package ตามระบบ (32-bit หรือ 64-bit) ทั้งหมดด้านล่าง:
- Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
- Microsoft Visual C++ 2008 SP1 Redistributable Package for (x64)
- Microsoft Visual C++ 2010 Redistributable Package (x86)
- Microsoft Visual C++ 2010 Redistributable Package (x64)
- Microsoft Visual C++ 2013 Redistributable Packages (x86 และ x64)
- Visual C++ redistributable 2015 Redistribution Update 3
หมายเหตุ: Uninstall เวอร์ชันเก่าที่มีอยู่ก่อน แล้วค่อยติดตั้งใหม่จากลิงก์ข้างต้น
วิธีที่ 3: รัน SFC Scan
- Windows Key + X > Command Prompt (Admin)
- พิมพ์: sfc /scannow (ล้มเหลวลอง sfc /scannow /offbootdir=c:\ /offwindir=c:\windows)
- หาก SFC error "Windows Resource Protection could not start the repair service" ให้รัน DISM:
DISM.exe /Online /Cleanup-image /Scanhealth DISM.exe /Online /Cleanup-image /Restorehealth
- รีบูทเครื่อง
วิธีที่ 4: รัน Microsoft Troubleshooting Assistant
หาวิธีข้างต้นไม่ได้ ให้รัน Microsoft Troubleshooting Assistant ดาวน์โหลดไฟล์ "CSSEmerg67758" จากลิงก์ Microsoft
วิธีที่ 5: System Restore
- Windows Key + R > sysdm.cpl Enter
- แท็บ System Protection > System Restore
- Next > เลือก Restore Point ที่ต้องการ
- ปฏิบัติตามคำแนะนำ > รีบูท
- อาจแก้ "GTA 4 Seculauncher has failed to start because the side-by-side configuration is incorrect"
System Restore ล้มเหลว ลองบูท Safe Mode แล้วรัน System Restore ใหม่
วิธีที่ 6: อัปเดต .NET Framework
อัปเดต .NET Framework จากลิงก์ Microsoft หาไม่ได้ ลองอัปเดตเป็นเวอร์ชันล่าสุด 4.6.2
วิธีที่ 7: Uninstall Windows Live Essentials
Windows Live Essentials บางครั้งขัดแย้งกับ Windows Services Uninstall จาก Programs and Features หรือ Repair จากโปรแกรมเมนู
วิธีที่ 8: Repair Install Windows 10
วิธีสำรองสุดท้าย In-place Upgrade ซ่อมระบบโดยไม่ลบข้อมูล
บทความแนะนำ:
- แก้ Host Process for Windows Services has stopped working
- แก้ Task Scheduler service is not available error
- วิธีแก้ Windows 10 will not shut down completely
- แก้ Windows Keyboard Shortcuts Not Working
เสร็จสิ้น! คุณได้ แก้ Side-by-Side Configuration Incorrect error เรียบร้อยแล้ว หากยังมีคำถาม สามารถถามได้ในส่วนความคิดเห็นครับ