Answered by:
"The Application was unable to start correctly (0xc000007b). Click OK to close the application" when starting Visual Studio 2010

Question
-
Hi,
Visual studio 2010 on my machine is giving me an error"The application was unable to install correctly (0xc000007b). Click OK to close the application". VS has been working fine on my machine for almost half an year without any problem. I haven't changed anything on my machine like install software or anything and suddenly I a m getting this error.
I did a lot of search on internet and haven't found anything that could solve the problem.Operating system on my machine is windows 7.
So far I have done following things to resolve the problem.
- Installed VS2010 several times after the clean uninstall.
- Loaded the devenv.exe in the dependency walker and it is highlighting "MSVCR100.dll" as 64bit instead of 32 bit and the file is located C:\Winsdows\system32. Tried to replaced the file with 32bit version using ubuntu but its still giving me the same
error.
- Checked the event log and it shows lots of windows update. The only one update that shown as failed is "KB958488-v6001-x64.msu" that I have downloaded and installed manually and still VS 2010 is not working.
- I used the process monitor but I am not really good in using it to analyze the cause of problem but it does show lots of name not found error.
Any help to understand what the problem is and how can I fix it without reinstalling windows will be great.
Sunday, May 20, 2012 6:19 PM
Answers
-
Hi Gfazil,
Welcome to the MSDN forum.
From your error 0xc000007b I found that the error means "STATUS_INVALID_IMAGE_FORMAT" which means Bad Image. I have a guess that your disk need to be fix so I suggest you do a disk check before other steps. But it may needs a very long time.
After repair of your DISK if you still have this kind of problem, please feel free to let me know.
Best regards,
Barry Wang [MSFT]
MSDN Community Support | Feedback to us
- Marked as answer by Barry Wang Tuesday, June 5, 2012 9:50 AM
Monday, May 21, 2012 9:41 AM
All replies
-
Hi Gfazil,
Welcome to the MSDN forum.
From your error 0xc000007b I found that the error means "STATUS_INVALID_IMAGE_FORMAT" which means Bad Image. I have a guess that your disk need to be fix so I suggest you do a disk check before other steps. But it may needs a very long time.
After repair of your DISK if you still have this kind of problem, please feel free to let me know.
Best regards,
Barry Wang [MSFT]
MSDN Community Support | Feedback to us
- Marked as answer by Barry Wang Tuesday, June 5, 2012 9:50 AM
Monday, May 21, 2012 9:41 AM -
Hi Barry,
Thanks for your reply.
I did try to repair the drive but its still not working. I think I will go for a re image on my machine.
Thanks a lot for your help.
Regards,
GhazThursday, May 24, 2012 8:41 AM -
Hi Gfazil,
What's your issue now?
I'm doing a follow up here.
Have you fixed you issue by re image?
Thanks,
Barry Wang [MSFT]
MSDN Community Support | Feedback to us
Monday, May 28, 2012 9:58 AM -
Hi Barry,
ReImage does solve the problem. I recently found a solution that doesn't require reimage.
The problem was due to 32/64-bit mismatches of various system dlls required by Visual studio. Somehow the dlls it needs got replaced by 64-bit versions that it couldn’t load.
Replacing the dlls mentioned below from a machine that is working solves the problem:
c:\Windows\SysWOW64\msvcp100.dll
c:\Windows\SysWOW64\msvcp100d.dll
c:\Windows\SysWOW64\msvcr100.dll
c:\Windows\SysWOW64\msvcr100_clr0400.dll
c:\Windows\SysWOW64\msvcr100d.dllThanks
- Proposed as answer by online_jai Sunday, December 16, 2012 6:16 PM
Thursday, August 30, 2012 2:56 PM -
hi Gfazil....I had a same issue.....
how do I replaceing this dll files.....
pls help me.......
Sunday, December 16, 2012 6:16 PM -
Hi,
Do you have access to another machine that's working properly?
If yes, then just copy the files from that machine to yours and launch VS and it will work.
I hope it helps.
Thanks,
GhazalaSunday, December 16, 2012 10:27 PM -
Hi Gfazil,
I got the same error 0x000007b when I wanted to call Matlab Engine in my C code.
However I did get your solution. My system is win7 32bit, and I'm quite confused with how to replace the dll files you mentioned above.
Could you specify a little bit, like to replace them with some other dll files?
Thank you very much.
Emily
Monday, December 17, 2012 9:22 PM -
Hi Emily,
I received this error for Visual studio and the files mentioned are visual studio files.
I don't think so that you have the same issue.
"0x000007B INACCESSIBLE_BOOT_DEVICE" error message is a generic error message and the solution varies from problem to problem.
May be a search on Google for 0x000007b related to MATLAB may be more helpful.
Sorry I couldn't be of more help. I hope you find the solution soon.
Regards
Tuesday, December 18, 2012 9:59 AM -
There are two (2) ways to fix 0xc000007b Error:
Advanced Computer User Solution (manual update):
1) Start your computer and log on as an administrator.
2) Click the Start button then select All Programs, Accessories, System Tools, and then click System Restore.
3) In the new window, select "Restore my computer to an earlier time" option and then click Next.
4) Select the most recent system restore point from the "On this list, click a restore point" list, and then click Next.
5) Click Next on the confirmation window.
6) Restarts the computer when the restoration is finished.
Novice Computer User Solution (completely automated):
1) Download (0xc000007b) repair utility.
2) Install program and click Scan button.
3) Click the Fix Errors button when scan is completed.
4) Restart your computer.Thursday, January 10, 2013 3:44 AM -
Thanks for the hint on replacing SysWOW64\msvcp dlls. It fixed the same problem for me.Thursday, July 25, 2013 6:28 AM
-
My machine didn't have the msvcp100d.dll or mscvr100d.dll so I only replaced 3 of the 5 files mentioned above. It worked great. Thanks Gfazil for the assistance!
- Edited by Tucknology Thursday, September 26, 2013 7:42 PM
Thursday, September 26, 2013 7:42 PM -
"Replacing the dlls mentioned below from a machine that is working solves the problem:"
My OS is win7 64-bit, so shall I select a OK machine of 64-bit or 32-bit?
And I am using visual studio 2010, and build a win32 qt application, the QT is 32-bit.
Friday, October 4, 2013 6:24 AM -
I had the same problem.My problem was that my Visual C++ 2012 was on 32 bit and my C:/Windows:/SysWow64:/freeglut.dll was on 64 bit.Changed it and resolced it :DWednesday, October 9, 2013 8:27 PM
-
You need to install OpenSSL
Tuesday, December 3, 2013 6:03 AM -
hi barry i keep getting this error .. the application was unable to start correctly (0x00007b).. every time i try to play a game !! can you please help me 64bitSunday, March 2, 2014 8:12 AM
-
Hello
I have the same error with only a S/W pkg called Nikon ViewNX2 (64bit). I have done things like registry sweep and clean, chkdsk, repaired .NET 4.5.1, downloaded latest version of C++ redistributable, reinstalled Direct X9.0, Windows update, copied related .dlls like msvcr100, msvcp100 etc, antimalware scan and remove any possible virus. I uninstalled and reinstalled View NX2 several times (the latest version) but I still keep getting the exact same error. I have no issues with any other application except this one only. Short of clean installing Windows 7 (64 bit), which would be a significant task, I have no other fixes yet to try....at my wit's end.
Thanks
Khan
Tuesday, March 11, 2014 5:43 PM -
Hi Gfazil,
I just wanted to thank you as yours was the post that helped me out most in a similar situation. Plex for Home theater wasn't opening for me, claiming msvcp110.dll was missing, even after I installed what I thought was the appropriate Microsoft Visual C++ package. Turns out I installed the 64 bit DLL's, and the program is 32 bit.
Learned something interesting here though (and kinda counter-intuitive) C:\Windows\SysWOW64 is where 32 bit dll's are stored, C:\Windows\System32 is where 64 bit dll's are stored.
So, if anybody in the future has this problem, look to where the program you're trying to open is installed before grabbing the needed dll's from a different PC. if the program's under C:\Program Files (x86) look for the dll's in C:\Windows\SysWOW64. If the program's under C:\Program Files look for the dll's in C:\Windows\System32.
I got lucky and only ended up needing msvcp110.dll and msvcr110.dll to get Plex up and running.
Thanks
- Edited by need-a-thneed Friday, May 16, 2014 8:57 AM attributed the solution to the wrong name
Friday, May 16, 2014 8:50 AM -
Cause:
The cause of this problem is because of the “msvcp110.dll” file located at C:\Windows\SysWOW64 . This file is used by several applications to run, but each have their own version of the file with the same name. So in order run that application, you might replace it with a different msvcp110.dll file which we normally get at .dllfiles website.
So application might not work the next time you try to start it with the mentioned error.
Solution:
Go to C:\Windows\SysWOW64 location and delete the “msvcp110.dll” file. Now try to start the Application and the program will generate a new “msvcp110.dll” file used by it and you should be able to get the application working fine J
Saturday, July 5, 2014 4:50 PM -
"c:\Windows\SysWOW64\msvcp100.dll
c:\Windows\SysWOW64\msvcp100d.dll
c:\Windows\SysWOW64\msvcr100.dll
c:\Windows\SysWOW64\msvcr100_clr0400.dll
c:\Windows\SysWOW64\msvcr100d.dll"
I do not have such folders on Windows 7 and 32 bit. I found 3 of those files only in c:\Windows\System32. Replacing those 3 from a working identical computer + OS did not help.
I also tried the other suggestions on this page and no luck. I can't even reinstall C++ due to exact same error popping up.
The problem impacts multiple programs, but not all. I can't install or uninstall any of them. Windows 7 was recently reinstalled and I have found no hardware errors. The problem started after about 2 months of "clean" working of the OS.
Help is still needed.
Can you recommend a free and safe reimage?
Thanks,
- Edited by White_Mage_3 Saturday, July 12, 2014 4:37 PM
Saturday, July 12, 2014 3:33 AM -
THANK YOU VERY MUCH <33333Saturday, August 2, 2014 12:38 AM
-
I am having the same issues with Visual Studio 2013. Will this fix also take care of VS 2013 or do I need to look else where?Friday, March 11, 2016 2:46 PM
-
Bro if you have the proper working system (64 bit version windows 10), can you upload it to mega or media fire and leave a link please.Tuesday, January 10, 2017 4:25 PM
-
I too have this problem - please help me if you have fixed the problenMonday, September 4, 2017 6:24 AM