This is a reposting of an article Patrick Roth originally wrote on my Developing for Dynamics GP blog.
It is somewhat coincidental that one of the system techs had a case Friday running into an error launching Dynamics GP 2010 and the release of Microsoft Dynamics GP 10.0 Service Pack 5. What do these events have to do with each other? Read on…
This customer had just installed GP 2010 and it worked correctly on all machines but one. On the one machine, Dynamics GP 2010 refused to launch and instead gave the error:
F:Program Files (x86)Microsoft DynamicsGP2010Dynamics.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.
As suggested by the message, looking in the Application Event Log shows the message:
Activation context generation failed for “F:Program Files (x86)Microsoft DynamicsGP2010Dynamics.exe”. Dependent Assembly Microsoft.VC90.MFC,processorArchitecture=”x86″, publicKeyToken=”1fc8b3b9a1e18e3b”, type=”win32″,version=”9.0.21022.8″ could not be found. Please use sxstrace.exe for detailed diagnosis.
I’ve run across this issue on my own systems so I had a pretty good idea of where to look.
What I’m surprised is why this should happen. As Dynamics GP 2010 is installed; the Visual 2008 C++ Runtime Redistributable should have also been installed as well. Of course I don’t know how GP 2010 was installed – maybe it wasn’t “installed” and just copied?
But in any event, the solution is to load or reload the components again.
On my Windows 7 64 bit machine, if I look in the add/remove programs window I see:
I have a bit newer version of the runtime as well as the ATL Security Update version (though you can’t tell from the name what version is what).
I suggested the customer download and install the 32 bit Microsoft Visual C++ 2008 Redistributable from Microsoft Downloads. And for the heck of it and to get the 32 bit Microsoft Visual C++ 2008 Service Pack 1 Redistributable Package ATL Security Update and install that as well. It can’t hurt and I suspect that it will be required when the Dynamics GP 2010 SP1 ships sometime this fall.
After loading these suggested redistributables, the user could now launch Dynamics GP 2010 successfully.
If we had wanted to dig into this a bit more, we could have done what the initial error message suggested and used the sxstrace.exe utility to trace an application trying to load these components. This post on the Code Project site talks about the side-by-side configuration error message, the technical reasons you’d get this, and a quick review of the sxstrace.exe application.
So what does this have to do with Dynamics GP 10.0 SP5 or am I just trying to get as many links to previous posts as possible by referencing the SP5 release post?
With 10.0 SP5 (10.0.331 runtime), the reason for the bold warning messages on the Dynamics GP 10.0 service pack page is that you need the latest Visual C++ 2005 ATL security update to work. If this wasn’t installed (and we didn’t install it for you as the SP5 install checks for) then you would get this same error that the customer above did on GP 2010 – just for a different version of the components since Dynamics GP 10.0 is built on Visual Studio 2005 and not VS 2008 like GP 2010 is.
Best Regards,
Patrick Roth
Developer Support
This article was originally posted on the Developing for Dynamics GP Blog and has been reposted on http://www.winthropdc.com/blog.
Post from Mark Polino at DynamicAccounting.net
msdynamicsgp.blogspot.com/…/side-by-side-configuration-is-incorrect.html
LikeLike
I try to down load certain e-mail from one paticilar person an I get this message: c;terryconnellappdatalocalmicrosoftwindowstemporary internet. side-by-side configuration is incorrect. please see the application event log for more detail.
LikeLike
Hi Terry
Not sure if your issue is related, but you can try the suggested fix anyway.
David
LikeLike
Hey I'm not sure if it's the same thing but like everything i've downloaded/tried to play it will say side by side error usually the program files (x86) i'm not sure how i should do this it even does it when i try to open skype it says exactly ''C:Program Files (x86)SkypePhoneSkype.exe'' The application has failed to start because it's side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
What should i do?
LikeLike
Hi Daniel
You could try installing the Visual C++ files as described in this post. Otherwise, check with Skype support or on their forums.
David
LikeLike
I am trying to fix this problem on my computer. However when I try to reinstall the components i get the same side by side configuration issue. any suggestions?
LikeLike
Tim,
I assume you mean "after i install the compents" and not _when_ you install the components.
You don't mention what version of GP you are using – it would tell us whether you need the VC 2008 version for GP 2010 as I did above or if you need the VC 2005 version for GP 10.
Assuming that the updates show in your add/remove programs (thus truly installed), then the only resolution to you (and Daniel) would be to run the sxstrace.exe to seewhat the Dynamics.exe or other component is "looking" for. Then verify that you have it installed or find the installation package that will install that component.
LikeLike
I get this for Cyberlink PowerDirector:
C;ProgramFilesCyberlinkPowerdirectorPDR9.ex
The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail.
I'm on a 32-bit Windows Vista.
LikeLike
While I by no means speak for Cyberlink or can tell you how their app was built, I would think the solution is going to be the same.
If you check your application event log in windows, there will be an entry for this application. It will look similar to my screenshot for the error Dynamics GP was getting.
In it it will tell you the assembly and the version that this application is looking for. Now depending on what the file is, you'd then have to load that version of the components on your system.
Since I don't have your app and repro the issue, I can't tell you the version you need.
patrick
LikeLike
got that error message when opening an mp3 audio file after uninstalling iTunes (which gives me an Error 7 message that suggest me to uninstall)
LikeLike
Hello Patrick,
I also have same problem. My project is of vb.net. I installed my project in one of my japanese machine. When i try to run my project .exe file. Its giving me error message saying:
"Side-by-side configuration of the application for this is not correct, could not start the application. For more information, please see the application event log"
I thinks this issue is similar to yours. Can you please guide, is this same or any else?
LikeLike
Rahul,
You might have build your app as a debug executable and so requires the debug components which a typical machine won't have. Try building "retail" and see if that resolves the issue. I didn't mention this in my article because no end users would ever have the debug version of this exe.
If retail also fails, then it is going to be the same solution as this article though perhaps not the same version of whatever assembly it is failing on. You'd have to check the event log to see which specific version of the file is failing and then verify that this version of the dll is loaded on the target machine.
I guess it could be language specific as ou mention a "japanese machine" is giving you the issue but that might just be coincidental.
LikeLike
Dear Patrick
Thank you for your solution for the configuration problem. Now my problem solve and really thank a lot to you
Have a nice day!
LikeLike
Andrew,
You are so very welcome – glad it could help.
LikeLike
I get this error with all programs that i try to open or download been working on it for 2 wks now and don't know what else to do plz help
LikeLike
Bonnie,
I wouldn't be able to diagnose your issue here but if it really is all applications having this issue, you might need to open a support ticket with Microsoft Windows support.
To diagnose this on your own, you'd need to essentially do what i explain above:
1. look in the event log to find the specific version of the file that application(s) cannot find.
2. Look on the Microsoft site to find the version or newer of the file that says it is missing. IT more than likely will be one of the 2008 or 2005 C++ "redistributable"s that aren't up to date.
Or alternately, just use the link above (such as http://www.microsoft.com/…/details.aspx) and download and install that file.
And then in the section at the bottom where it says "Were you looking for" and "What others are downloading" there are also a bunch of redist updates. Download and install all of those as well. You might not need them all and trying the shotgun approach. But without knowing which specific files you are getting errors on it is the best you are going to do.
Patrick
LikeLike
Am getting the same error when importing in sql 2008
please give me solution
LikeLike
Ganesh,
I don't know about your particular situation but if you follow the advice in the blog article that will get you closer to your solution. Or as I suggested to Bonnie in the comments – open a support case with a Microsoft SQL Engineer.
LikeLike
I succeeded repairing my game with that error, simply you just have to install the same version of c++ if you have 64 bit windows, you must install the 32 bit c++ too
LikeLike
My system is Win2k8 r2 64 bit.and i am installed 32 bit application on my machine.
and i have following error………
Activation context generation failed for "C:Program Files (x86)LinguaNextAppsLNInjx64.exe". Dependent Assembly
Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195" could not be found.
Please use sxstrace.exe for detailed diagnosis.
how can i solve
LikeLike
Hi Sadashiv
Blog comments are not an appropriate method for support.
Please use the forums or log a support incident.
Thanks
David
LikeLike
In our environment, we have GP 10.00.1634 installed. So the machine was P2V'd since it was a server 2003 and was then in place upgraded to server 2008R2 x 64 bit. The application started throwing the same side to side configuration error. I m a newbie with the application, I did check the MSVC ++ 2005 and 2008 both were already installed.
Can someone please guide me get rid of this error and make this application work on this new VM please? Does this error has anything to do with DB as the DB as of now is SQL2005?
LikeLike
Hi Abeer
I would suggest contacting Microsoft Support.
David
LikeLike
i got this C:/Users/giygas/Desktop/mugen.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 im on a 32 bit windows 7
LikeLike
oh yea i use a dell latiude d630 so
LikeLike
Believe it or not.. 12+ years after this original post, this article saved me from some serious headache.. Ran into this message after having to install GP 2010 as a maiden setup on a brand new Windows 2019 & SQL 2019 server to perform upgrade of and old GP environment. After downloading the VC++ 2008 libraries, GP started just fine 😁
LikeLike