Quick answer: A manifest inside your executable or one of its DLLs names a side-by-side assembly that Windows cannot resolve, almost always the Visual C++ 2005 or 2008 runtime (Microsoft.VC80.CRT or Microsoft.VC90.CRT) requested by an old middleware DLL. The SideBySide event in the Application log names the exact assembly, version and architecture. Install that redistributable from your installer, or rebuild the old DLL with a current toolset so the dependency disappears.
This message looks like something from 2008, and that is usually what it is: one binary in your package was built with a compiler old enough to need a runtime that Windows locates through a manifest instead of a file name. Your own code can be built with this year’s Visual Studio and still fail, because a single old DLL or helper tool decides it. The dialog also tells you where the answer is, which is rare for a launch error. Below: what side-by-side means, how to read the event log entry and an sxstrace log, and the four ways to fix the build.
- The exact error
- What side-by-side means
- Why a current game still hits it
- Read the event log first
- Trace it with sxstrace
- Find the old binary before players do
- Fix 1: install the runtime the manifest names
- Fix 2: ship the runtime as a private assembly
- Fix 3: remove the dependency
- Fix 4: repair a broken manifest
- What to tell players
- How to confirm the fix
- What a bug reporting SDK can and cannot see here
- Related guides
- Frequently asked questions
The exact error
C:\Games\MyGame\MyGame.exe
The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
This is Win32 error 14001, ERROR_SXS_CANT_GEN_ACTCTX. Started from a console or a launcher, the same sentence is printed or returned by CreateProcess instead of shown in a dialog. When the bad manifest belongs to a DLL that the executable imports, the dialog can instead read:
The application was unable to start correctly (0xc0150002). Click OK to close the application.
Both mean the same thing: before any code ran, Windows read a manifest, tried to resolve the assemblies it lists, and could not. A DLL loaded later with LoadLibrary fails the same way, but silently, with error 14001 in your log.
What side-by-side means
A manifest is a small XML document, embedded in a binary as a resource or sitting beside it as MyGame.exe.manifest. Among other things it can declare dependencies on side-by-side assemblies: versioned libraries identified by name, version, processor architecture and public key token, stored under C:\Windows\WinSxS so several versions can coexist. At process start Windows builds an activation context from the manifest. Every dependentAssembly has to be found, either in WinSxS or as a private assembly in the application folder. One miss, or one XML error, and the process is not created.
Only two Visual C++ generations deliver their runtime this way: Visual C++ 2005 (Microsoft.VC80.*, msvcr80.dll) and 2008 (Microsoft.VC90.*, msvcr90.dll). From Visual C++ 2010 onwards the runtime DLLs are ordinary files that need no manifest. That is why a missing modern runtime gives you a “VCRUNTIME140.dll was not found” dialog and a missing 2008 runtime gives you this one.
Why a current game still hits it
- An old binary in the package. A middleware DLL you have carried between projects for years, a video or audio codec, an embedded Python 2.7 (built with Visual C++ 2008), a bundled command-line tool or an old launcher. Its manifest asks for
Microsoft.VC80.CRTorMicrosoft.VC90.CRT. Nothing guarantees those assemblies exist on a player’s PC; they are there only if Windows or some other installer put them there, which is why it works on your machine. - The manifest asks for a newer build of the runtime than the PC has. Binaries built after Visual Studio 2005’s ATL security update request version
8.0.50727.4053; a PC with only the original SP1 redistributable has8.0.50727.762. Visual C++ 2008 binaries built with_BIND_TO_CURRENT_VCLIBS_VERSIONrequest9.0.30729.xinstead of the default9.0.21022.8. - The wrong architecture is installed. A request for
processorArchitecture="x86"is only satisfied by the x86 redistributable, even on 64-bit Windows, andamd64only by the x64 one. - A debug runtime shipped by mistake.
Microsoft.VC90.DebugCRTorMicrosoft.VC80.DebugCRTin the event means a debug build of a library went into the package. The debug CRT is not redistributable and exists only on machines with that Visual Studio installed. - A malformed manifest. Hand-edited XML that no longer parses, a version that is not four numbers, a Common Controls dependency with
processorArchitecture="x86"in a 64-bit build, or a stale external.manifestfile left beside the executable. - A damaged component store. The assembly is supposed to be installed and Windows still cannot load it. Rare, and a player-side repair.
Read the event log first
Do what the dialog says. On the affected PC open Event Viewer > Windows Logs > Application and find the newest Error whose source is SideBySide. Or in PowerShell:
Get-WinEvent -FilterHashtable @{LogName='Application'; ProviderName='SideBySide'} -MaxEvents 5 | Format-List TimeCreated, Id, Message
The typical entry is event ID 33:
Activation context generation failed for "C:\Games\MyGame\OldVideo.dll". Dependent Assembly Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.
Everything you need is in that one line: the file whose manifest failed (not always the executable), the assembly name (VC80 is 2005, VC90 is 2008; CRT, MFC, ATL and OpenMP are separate assemblies), the architecture and the version. Other IDs from the same source, such as 35, 59, 63 and 80, cover manifest and policy errors, for example “Error in manifest or policy file ... Invalid Xml syntax” or “Component identity found in manifest does not match the identity of the component requested”. Read the text; the number matters less.
Trace it with sxstrace
When the event is vague, or a player cannot find it, sxstrace records the whole resolution. It ships with Windows and needs a Command Prompt opened with Run as administrator:
sxstrace trace -logfile:%TEMP%\sxs.etl
Start the game, dismiss the error, return to the console and press Enter to stop the trace. Then convert it to text:
sxstrace parse -logfile:%TEMP%\sxs.etl -outfile:%TEMP%\sxs.txt
notepad %TEMP%\sxs.txt
The parsed log walks through every manifest and reference. Search it for ERROR:
INFO: Parsing Manifest File C:\Games\MyGame\OldVideo.dll.
INFO: Reference: Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"
INFO: Resolving reference Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
ERROR: Cannot resolve reference Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
ERROR: Activation Context generation failed.
End Activation Context Generation.
The lines between show where Windows looked, including the private-assembly paths inside the game folder, which is useful when you ship the runtime app-local and it is still not found.
Find the old binary before players do
You do not need a failing PC to know whether your package has this dependency. From a Developer Command Prompt in the build folder, list every binary that imports a 2005 or 2008 runtime DLL:
for /r %f in (*.exe *.dll) do @(dumpbin /dependents "%f" | findstr /i "msvcr80 msvcp80 msvcr90 msvcp90" >nul && echo %f)
A hit on msvcr90d.dll or msvcr80d.dll is a debug build. To read what a binary’s manifest requests, extract it with the Windows SDK’s manifest tool:
mt.exe -inputresource:MyGame.exe;#1 -out:MyGame.extracted.manifest
mt.exe -inputresource:OldVideo.dll;#2 -out:OldVideo.extracted.manifest
Resource 1 is the usual ID for an executable and 2 for a DLL. In PowerShell put the -inputresource argument in quotes, because ; ends a statement there. Sysinternals sigcheck -m MyGame.exe prints the same manifest without the SDK.
Fix 1: install the runtime the manifest names
Match the version in the event to a redistributable:
| Assembly version requested | Redistributable that provides it |
|---|---|
8.0.50608.0 | Any Visual C++ 2005 redistributable (the default request of 2005 builds, redirected by policy) |
8.0.50727.42 | Visual C++ 2005 |
8.0.50727.762 | Visual C++ 2005 SP1 |
8.0.50727.4053 | Visual C++ 2005 SP1 ATL Security Update |
8.0.50727.6195 | Visual C++ 2005 SP1 MFC Security Update |
9.0.21022.8 | Visual C++ 2008 |
9.0.30729.1 | Visual C++ 2008 SP1 |
9.0.30729.4148 | Visual C++ 2008 SP1 ATL Security Update |
9.0.30729.6161 | Visual C++ 2008 SP1 MFC Security Update |
You do not have to hit the row exactly. Each redistributable installs publisher policy that redirects requests for older versions of the same generation to the newest one installed, so the last package of each line (the MFC Security Update) satisfies every earlier request. What never works is a package older than the request, or the wrong architecture.
Ship it instead of hoping it is there. On Steam, open the Redistributables tab under Installation in the Steamworks App Admin panel, tick the Visual C++ entry for the year you need and publish; Steam then installs it when necessary. For other stores, run the redistributable from your installer, in the architecture the event names. Both generations are long out of Microsoft support, which is a reason to treat this fix as a stopgap.
Fix 2: ship the runtime as a private assembly
If you cannot run an installer (a zip on itch.io), the runtime can live in the game folder. Copy the assembly folder from the old Visual Studio’s VC\redist\x86 (or amd64) directory next to the binary that carries the manifest:
MyGame\
MyGame.exe
OldVideo.dll
Microsoft.VC90.CRT\
Microsoft.VC90.CRT.manifest
msvcr90.dll
msvcp90.dll
msvcm90.dll
Two rules. Keep the folder intact, manifest included: loose copies of msvcr90.dll beside the executable are not an assembly. And make the versions agree: the version in the private Microsoft.VC90.CRT.manifest should be the one the binary requests. A binary that asks for 9.0.21022.8 beside the SP1 folder, which is 9.0.30729.x, is the usual mismatch, and Microsoft’s answer for it is an application configuration file with a bindingRedirect. At that point Fix 1 or Fix 3 is less work. A copy installed in WinSxS is still preferred over your private one.
Fix 3: remove the dependency
This is the fix that ends the support tickets. If you have the source of the old library, rebuild it with a current toolset: the manifest dependency goes away and it uses the same vcruntime140.dll and Universal CRT as the rest of the game. If you cannot move it forward, rebuild it with the static runtime (/MT) so it needs no runtime assembly at all. If it is closed-source middleware, ask the vendor for a current build; a library last compiled in 2008 has other problems waiting. For a debug CRT hit, ship the release build of that library.
Fix 4: repair a broken manifest
When the event says “Error in manifest or policy file”, the XML is the problem. Validate it:
mt.exe -manifest MyGame.exe.manifest -validate_manifest
Check that every version has four numeric parts, that there is one manifest and not an embedded one plus a stale external file (on current Windows the embedded one wins), and that architecture-specific dependencies use processorArchitecture="*" so the same text works for 32-bit and 64-bit builds:
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls"
version="6.0.0.0" processorArchitecture="*"
publicKeyToken="6595b64144ccf1df" language="*"/>
</dependentAssembly>
</dependency>
What to tell players
- Verify the game files in Steam, or re-extract the download into an empty folder.
- Install the Microsoft Visual C++ 2008 SP1 and 2005 SP1 redistributables, both the x86 and x64 packages, from Microsoft’s “latest supported Visual C++ Redistributable downloads” page, then restart.
- If it still fails, open Event Viewer, go to Windows Logs, Application, select the newest error with the source SideBySide and send its text. It names the exact component that is missing.
- If the redistributable itself will not install, run
sfc /scannowandDISM /Online /Cleanup-Image /RestoreHealthfrom an administrator Command Prompt and try again.
Players should never copy files into C:\Windows\WinSxS by hand. It does not register the assembly and can break Windows servicing.
How to confirm the fix
Run the dumpbin /dependents loop on the final package; an empty result means no 2005 or 2008 runtime is referenced. If you chose Fix 1 or Fix 2, install the build on a clean Windows virtual machine with no Visual Studio and none of your other games, launch it, and check that the Application log has no new SideBySide error. Test both a 64-bit and, if you support it, a 32-bit build, since each needs its own architecture of the assembly.
What a bug reporting SDK can and cannot see here
Activation context generation happens before the process exists, so the game cannot report its own side-by-side failure, and neither can Bugnet. The useful parts are around it. When the old DLL is loaded on demand, the game does start, the load fails with error 14001 and your code logs it; the Bugnet SDKs for Unity and Godot file logged errors automatically with the OS version, game version and recent log lines, and in Unreal you can call ReportBug from the code path that handles the failed load. A broken video or audio plug-in then shows up as one grouped report instead of “cutscenes are black”. For the launch dialog, publish a known-issue entry on the project’s public tracker titled with the error text and carrying the player steps, and attach the event text a player sends you to that entry’s report.
Related guides
- How to Fix “VCRUNTIME140.dll was not found” (and VCRUNTIME140_1.dll) for Your Game
- How to Fix “MSVCP140.dll was not found” Errors for Your Game’s Players
- How to Fix “The application was unable to start correctly (0xc000007b)” for Your Game
- How to Fix “The procedure entry point could not be located in the dynamic link library” for Your Game
- How to Fix “api-ms-win-crt-runtime-l1-1-0.dll is missing” for Your Game
Frequently asked questions
What does “side-by-side configuration is incorrect” mean?
A manifest in the program or one of its DLLs lists a side-by-side assembly, and Windows could not find that assembly or could not parse the manifest. Most often the missing assembly is the Visual C++ 2005 or 2008 runtime, in the specific architecture the manifest requests.
Which Visual C++ redistributable fixes the side-by-side error?
The one named in the SideBySide event in the Application log. Microsoft.VC80.CRT means Visual C++ 2005 and Microsoft.VC90.CRT means 2008, and processorArchitecture says x86 or x64. Installing the newest 2015 to 2022 redistributable does not help, because that generation is not a side-by-side assembly.
How do I use sxstrace?
Open Command Prompt with Run as administrator, run sxstrace trace -logfile:sxs.etl, start the program so the error appears, press Enter to stop, then run sxstrace parse -logfile:sxs.etl -outfile:sxs.txt and search the text file for ERROR. It names the reference that could not be resolved.
Why does my game need a Visual C++ 2008 runtime when I build with a current Visual Studio?
One binary in the package was built with the older compiler: a third-party library, a codec, an embedded scripting runtime or a helper tool. Its own manifest requests the old runtime regardless of how the rest of the game was built.
Do Visual C++ 2010 and later runtimes use side-by-side assemblies?
No. Starting with Visual C++ 2010 the runtime DLLs are ordinary files found through the normal DLL search, with no manifest dependency. Only the 2005 and 2008 runtimes are located through WinSxS, which is why only they produce this error.
The SideBySide event names the file, the assembly, the version and the architecture. Read it before installing anything, because the newest redistributable is not the one this error wants.