Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
cat66 Absent Member.
Absent Member.
2350 views

side by side config error

I am getting an error on a 64 bit Win 7 machine 'application failed to start because its side by side configuration is incorrect' can anyone tell me what causes this and how to fix it/?

0 Likes
4 Replies
Micro Focus Expert
Micro Focus Expert

RE: side by side config error

That's a system error, indicating a problem with the side-by-side DLL configuration for the application.

Side-by-side, or SxS, is a ... controversial ... feature Microsoft added to Windows in an attempt to relieve the so-called "DLL Hell" problem, or at least break DLL handling in new and exciting ways.

Windows now has a directory named %windir%\winsxs which contains a huge number of subdirectories (18000+ on this machine), each with a particular version of some DLL. Applications have "manifests" which tell Windows just what versions of various DLLs they want, and Windows will look for those versions of those DLLs under winsxs. This lets the system have multiple versions of a DLL "side by side", hence the name.

The manifest can be linked into the application program (or DLL, when one DLL depends on another), or it can be a separate file. If your application is named foo.exe, for example, it may have a file named foo.exe.manifest. When the manifest is a separate file, it has to be in the same directory as the executable file it applies to.

There are myriad online articles about the "side by side configuration is incorrect" error message. See for example this one, from Microsoft, for Access 2010: support.microsoft.com/.../2525435.

As that article implies, there may be more information in the Windows Application Event Log. Start the Windows Event Viewer, open the Application log, try to run your program again, and refresh the log view - there may be a new message with additional information.

Unfortunately there are various reasons why this problem can occur. Sometimes installing a newer version of the Microsoft C runtime ("Visual C redistributable package"), which can be downloaded from Microsoft, will fix it.

0 Likes
cat66 Absent Member.
Absent Member.

RE: side by side config error

Thank you I will investigate further, but now on another application which has been running with no problems for a while, we now get the error 'Component comctl32.ocx or one of its dependencies is not correctly registered a file is missing or invalid' . Have never some across this before, any ideas what might cause it? The application works on 32 bit machines but causes this error on a 64 bit machine

0 Likes
ShanePrice Absent Member.
Absent Member.

RE: side by side config error

We have run into this and solved the issue by installing the appropriate Visual C++ Redistributable Package.

I will point out a couple of specifics to add to Michael's excellent description because the vcredist package you use is dependent on the runtime.

1) You state that you are getting the error on a 64-bit machine.  If you are using the 32-bit runtime, you have to install the 32-bit vcredist (vcredist_x86.exe) to address the issue.   The 64-bit vcredist (vcredist_x64.exe) won't help even though you running on a 64-bit system.

2) The version of vcredist you need is dependent on the version of the runtime you are using.  If I remember correctly, the version 8.x runtimes required the 2005 vcredist.  The current runtime (9.2.2) requires the 2010 vcredist (for Visual C++ 10.0).

For the 32-bit 9.2.2 runtime, you can download vcredist_x86 2010 SP1 at:

www.microsoft.com/.../details.aspx

For the 64-bit 9.2.2 runtime, you can download vcredist_x64 2010 SP1 at:

www.microsoft.com/.../details.aspx

0 Likes
Micro Focus Expert
Micro Focus Expert

RE: side by side config error

I'm afraid I don't know much about OCX registration. Some online conversations suggest that "regsvr32 comctl32.ocx" (run from an administrator command prompt) might fix the issue.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.