Windows Side-by-Side Configuration Error — Detailed SxS Fix Guide
Errorapplication
Overview
Detailed guide to fixing Windows Side-by-Side (SxS) configuration errors preventing applications from starting due to missing or mismatched Visual C++ runtime manifests.
Key Details
- Side-by-Side (SxS) assembly allows multiple versions of DLLs to coexist on the same system
- The error 'The application has failed to start because its side-by-side configuration is incorrect'
- The application manifest specifies which exact version of runtime DLLs it requires
- Event Viewer > Application log > SideBySide source shows the specific missing assembly
- Most commonly involves MSVCR/MSVCP (Visual C++ Runtime) version mismatches
Common Causes
- Required Visual C++ Redistributable version not installed
- Visual C++ Redistributable corrupted after partial uninstallation
- Application compiled with a specific VC++ version not available on the system
- Multiple VC++ Redistributable versions conflicting in the WinSxS store
- Corrupted WinSxS component store preventing assembly resolution
Steps
- 1Check Event Viewer > Application log > SideBySide source for the exact missing assembly name and version
- 2Install all Visual C++ Redistributable versions: 2005, 2008, 2010, 2012, 2013, 2015-2022 (both x86 and x64)
- 3Repair existing redistributables: Control Panel > Programs > select VC++ Redist > Change > Repair
- 4Use sxstrace to diagnose: sxstrace Trace -logfile:sxstrace.etl then sxstrace Parse -logfile:sxstrace.etl -outfile:sxstrace.txt
- 5Run sfc /scannow to repair corrupted WinSxS components
- 6Reinstall the failing application to restore its manifest and dependencies
Tags
side-by-sidesxsvisual-cppmanifestassembly
Related Items
More in Application
windows-C0000005-access-violationWindows Error 0xC0000005 — Access Violation
Errorwindows-C000007B-bad-image-formatWindows Error 0xC000007B — Bad Image Format
Errorwindows-C0000142-application-init-failedWindows Error 0xC0000142 — Application Init Failed
Errorwindows-SxS-Error-side-by-side-configuration-errorWindows Error SxS-Error — Side-by-Side Configuration Error
Warningwindows-DLL-Missing-dll-not-foundWindows Error DLL-Missing — DLL Not Found
Warningwindows-app-runtime-r6025Windows Runtime Error R6025 — Pure Virtual Function Call
WarningFrequently Asked Questions
Check Event Viewer > SideBySide events for the exact version. When in doubt, install all versions (2005-2022) in both x86 and x64. Get them from Microsoft's official download page.