Fix ERROR_SXS_CORRUPT_ACTIVATION_STACK (0X00003702)
This error means Windows can't load side-by-side assemblies for a program. I'll walk you from a quick flush to a deeper fix.
What's happening here?
You're seeing ERROR_SXS_CORRUPT_ACTIVATION_STACK (0X00003702) — a nasty one that usually pops up when launching a program, often after a Windows update or a software install that went sideways. The activation context stack is basically Windows' way of tracking which DLLs and assemblies your app needs. When that stack gets corrupted, the app crashes before it even starts.
I've seen this most often with older games, Adobe apps, and custom business software. The fix is usually simpler than you'd think.
The quick fix (30 seconds)
This clears the cached SXS assembly information. Nine times out of ten, this alone solves it.
- Open Command Prompt as Administrator (right-click Start, choose Command Prompt (Admin) or Terminal (Admin)).
- Type this and hit Enter:
reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\SideBySide /f
Then run the same command for the local machine hive:
reg delete HKLM\Software\Microsoft\Windows\CurrentVersion\SideBySide /f
Now restart your app. If it works, you're done. This flushes a corrupt cached activation stack without touching anything else.
The moderate fix (5 minutes)
If the quick fix didn't cut it, the real culprit is often a messed-up Visual C++ Redistributable package. These are the backbone for most Windows apps, and a botched update is a common trigger for error 0X00003702.
- Open Programs and Features (press Win+R, type
appwiz.cpl, hit Enter). - Scroll down and uninstall ALL Microsoft Visual C++ Redistributable packages. Yes, all of them — from 2005 through 2022. Don't worry, you'll reinstall them fresh.
- Reboot your PC.
- Download the latest Visual C++ Redistributable all-in-one package from Microsoft's official site. I recommend using the direct link for the 2022 version — it includes the latest security fixes.
- Install it, reboot again.
Now test your app. If it still fails, move on.
The advanced fix (15+ minutes)
This is the nuclear option — we're going to run System File Checker and then rebuild the SXS store manually. I've used this on Windows 10 22H2 and Windows 11 23H2 with great success.
- Open Command Prompt as Administrator.
- Run SFC first — it's fast and sometimes catches the corruption early:
sfc /scannow
Let it finish. It'll say "Windows Resource Protection found corrupt files but was unable to fix some of them" — that's normal.
- Now run DISM with the RestoreHealth option:
dism /online /cleanup-image /restorehealth
This takes 10-15 minutes depending on your internet speed. DISM will pull fresh SXS files from Windows Update. Don't cancel it.
- After DISM completes, run SFC again:
sfc /scannow
This time it should report no integrity violations.
- Reboot, then re-run those two registry delete commands from the quick fix — just to be safe.
If your app still throws 0X00003702 after all this, the issue is likely with the app itself, not Windows. Uninstall the app completely, reboot, and reinstall it from scratch. I've seen this with a handful of Steam games and one particular SAP client.
One more thing
If you're on a corporate machine with Group Policy locked down, those registry deletions might fail. In that case, contact your IT admin and ask them to delete the SideBySide keys under HKLM — they might have a script for deployment.
Also, if you're running Windows 7 or 8.1, the DISM command syntax is slightly different: use dism /online /cleanup-image /restorehealth /source:C:\RepairSource\Windows /limitaccess where you point to your installation media. But honestly, upgrade to Windows 10 or 11 — Microsoft ended support for those versions years ago.
Was this solution helpful?