The Application Failed To Start Because Its Side-by-Side Configuration is Incorrect | Windows OS Hub (2024)

Windows OS Hub / Windows 10 / The Application Failed To Start Because Its Side-by-Side Configuration is Incorrect

If you see the “The application has failed to start because its side-by-side configuration is incorrect” error when trying to start an app in Windows, this means that the program cannot start due to missing dependencies. The components required to run the app are damaged or not installed on the computer. In this article, we’ll show how to check an application’s manifest file and resolve dependencies by finding a library or a package to be installed for the app to start correctly.

Most often the problem occurs when running portable apps or games because they use libraries of the Microsoft Visual C++ Redistributable (vc_redist.x86.exe, vc_redist.x64.exe) that are not installed on a computer or corrupted. However, before installing all Visual C++ Redistributable versions on your computer without thinking, we will try to find out exactly which library the app needs by its manifest file.

The Application Failed To Start Because Its Side-by-Side Configuration is Incorrect | Windows OS Hub (1)

Contents:

  • How to Analyze an App Manifest in Windows?
  • Microsoft Visual C++ Redistributable Troubleshooting
  • Repair System Files in Windows

How to Analyze an App Manifest in Windows?

Let’s try to start the makeappx.exe application on a computer having no Windows SDK installed.

The Makeappx.exe allows to create UWP app packages in *.msix, *.appx, *.msixbundle, or *.appxbundle formats.

Obviously, the tool doesn’t start and returns an error:

Program 'makeappx.exe' failed to run: 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+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException+ FullyQualifiedErrorId : NativeCommandFailed

The Application Failed To Start Because Its Side-by-Side Configuration is Incorrect | Windows OS Hub (2)

Note the ResourceUnavailable message, it directly points to the fact that the app is missing something to run.

The list of components and libraries an app needs to run is specified in the app manifest. The app manifest may be stored as a separate XML file or embedded directly into the application’s executable (.exe) file.

You can view the EXE file manifest using the free Manifest View or Resource Hacker tool.

We showed how to use Resource Hacker to view and edit an app manifest in the article How to suppress UAC elevation prompt?.

As you can see, the Dependency section in the app manifest contains a reference to the Microsoft.Windows.Build.Appx.AppxPackaging.dll. The application cannot work without this library file.

The Application Failed To Start Because Its Side-by-Side Configuration is Incorrect | Windows OS Hub (3)

You can also trace application startup using the SxSTrace.exe.

Open a new command prompt and start data collection using the command :

sxstrace.exe Trace -logfile:c:\tmp\makeapp_sxtracesxs.etl

Tracing started. Trace will be saved to file c:\tmp\makeapp_sxtracesxs.etl.Press Enter to stop tracing...

Then run the problem app. When the “The application has failed to start because its side-by-side configuration is incorrect” error appears, stop the tracing by pressing ENTER in the sxstrace window.

The Application Failed To Start Because Its Side-by-Side Configuration is Incorrect | Windows OS Hub (4)

Convert the ETL log file into a more convenient TXT format:

sxstrace.exe Parse -logfile:c:\tmp\makeapp_sxtracesxs.etl -outfile:c:\tmp\makeapp_sxtracesxs.txt

Open the resulting TXT file in the Notepad (or any other text editor) and find the lines with errors. You can also grep for errors in the text file with PowerShell:

Get-Content c:\tmp\makeapp_sxtracesxs.txt | Where-Object { $_.Contains("ERROR") }

As you can see, the error points to the same DLL file shown in the app manifest:

INFO: End assembly probing.ERROR: Cannot resolve reference Microsoft.Windows.Build.Appx.AppxPackaging.dll,version="0.0.0.0".ERROR: Activation Context generation failed.

The Application Failed To Start Because Its Side-by-Side Configuration is Incorrect | Windows OS Hub (5)

Additionally, you can analyze the SideBySide dependency errors with the event logs. If the error occurs, the following event is written to the Application log:

EventID: 33Source: SideBySide

The error description mentions a library file or a component necessary to run an app.

Activation context generation failed for "C:\ps\test\makeappx.exe". Dependent Assembly Microsoft.Windows.Build.Appx.AppxPackaging.dll,version="0.0.0.0" could not be found. Please use sxstrace.exe for detailed diagnosis.

The Application Failed To Start Because Its Side-by-Side Configuration is Incorrect | Windows OS Hub (6)

Then open Google and search for information on this dll. In my example, the library file is a part of the MSIX Toolkit from Windows SDK (Redist.x86). Download and install the components you have found to let the app start correctly.

Microsoft Visual C++ Redistributable Troubleshooting

In most cases, the “incorrect side-by-side configuration” error is related to a missing or corrupted version of the Microsoft Visual C++ Redistributable library.

In this case, the following error will appear both in sxstrace log and in the app manifest:

Error: Cannot resolve reference ERROR: Cannot resolve reference Microsoft.VC90.MFC, processorArchitecture="amd64", publicKeyToken="1fc8b3b9a1e18e3b", type="win32",version="9.0.21022.8".

We get the following information from this message: the app needs an x64-bit Microsoft.VC90.MFC 9.0.21022. A quick search in Google shows that it is Microsoft Visual C++ 2008 Redistributable. Download and install this MVC version from the Microsoft website.

In the same way, you can get other Microsoft Visual C++ versions by their values in the Version field:

Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017, and 2019.14.0.x or newer
Microsoft Visual C++ 2013 Redistributable12.0.x
Microsoft Visual C++ 2012 Redistributable11.0.x
Microsoft Visual C++ 2010 Redistributable10.0.x
Microsoft Visual C++ 2008 Redistributable9.0.x

Repair System Files in Windows

If you understand that the app startup error is related to one of the Windows system files, check and repair Windows system image files and components using SFC and DISM:

sfc /scannow
DISM.exe /Online /Cleanup-image /Scanhealth
DISM.exe /Online /Cleanup-image /Restorehealth

The Application Failed To Start Because Its Side-by-Side Configuration is Incorrect | Windows OS Hub (2024)

References

Top Articles
Latest Posts
Article information

Author: Neely Ledner

Last Updated:

Views: 6076

Rating: 4.1 / 5 (62 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Neely Ledner

Birthday: 1998-06-09

Address: 443 Barrows Terrace, New Jodyberg, CO 57462-5329

Phone: +2433516856029

Job: Central Legal Facilitator

Hobby: Backpacking, Jogging, Magic, Driving, Macrame, Embroidery, Foraging

Introduction: My name is Neely Ledner, I am a bright, determined, beautiful, adventurous, adventurous, spotless, calm person who loves writing and wants to share my knowledge and understanding with you.