Visual Studio 2012 - MSVCR110.dll error - visual-studio

I have a Windows 7 Express, with Visual Studio 2012. When I run it I get this message:
"C:\windows\system32\MSVCR110.dll is either not designed to run on Windows or it contains an error. Try reinstalling the program again using the original installation media or contact your system administrator or the software vendor for support".
I tried these things:
Repairing Visual Studio with installation.
Uninstalling and installing again.
Installing .Net framework manually.
Installing Microsoft Visual C++ 2012 Redistributable
Getting the .dll from a computer with a working Visual Studio 2012.
Using a different installation of Visual Studio.
Nothing worked and I have no idea what's the problem.
The two installations that I've used worked on different computers with the same operating system.
Please I need ideas!!

Do you have Windows 7 Service Pack 1 installed? If Not do that first.
Even after that you have two options:
Remove & Reinstall by downloading a new copy of Visual C++ Redistributable for Visual Studio 2012 Update 4
Check System requirements section carefully it requires Windows 7 Service Pack 1 installed to work.
Reinstall Visual Studio 2012 with Update 4

Related

Unable to Install Visual Studio 2013 on Computer with Visual Studio 2015

I have a Windows 8.1 computer with Visual Studio Community 2015 installed and no other version of Visual Studio. I want to install Visual Studio Community 2013 because this is required to use C++ with Unreal Engine 4. But I get
this error message when I try to install.
So I restarted my computer, and the same error message still shows up. I have tried installing from an executable from the Visual Studio webpage, and from a button in Unreal Engine 4 that opens the Visual Studio 2013 installer. What could be the problem? Thanks.
From memory, you're supposed to be able to install multiple versions of visual studio, provided you install them chronologically.
Make a backup.
Then try uninstalling VS 2015. Then installing VS 2013, then re-installing VS 2015.
Better yet, do this in a virtual machine.
- Additionally; A virtual machine will allow you to install VS 2013 in isolation, so that you won't need to uninstall VS 2015.

Problems installing Visual Studio 2010 Professional on Windows 8.1

I have been trying to install Visual Studio 2010 Professional on my Windows 8.1 laptop and I am having problems. It seems to install and when I look at the applications list I see everything has installed except the Visual Studio 2010 (devenv.exe) application itself. Has anyone had this problem and found a solution for it? I have checked that .NET 2.0, 3.x and 4.x are all installed on the machine and active. The installer shows that it is installing the application but when it's completed the application is no where to be found.
I had the same thing happen to me, because I had SQL Server Data Tools installed, causing the shortcut to be named "sql server Data Tools". Try looking up the executable in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe and manually creating the shortcut on the start screen:
Be sure to install the updates as well:
Visual Studio 2010 SP1
Visual Studio 2010 GDR for Team Foundation Server
Visual Studio 2010 Compatibility Update for Windows 8 and Visual Studio 2012
For an up to date list of patches and service packs see:
https://jessehouwing.net/vsts-tfs-connect-any-visual-studio-version/

Install Visual Studio 2005 on Windows 8

I am currently working on a long-term project for which I need Visual Studio 2005, 2008, 2012 (2010 not necessary). Right now I have Windows 7, but I would really like to upgrade. Is it possible to install all of those versions of Visual Studio on Windows 8?
2012 can obviously installed (and takes away the need for 2010). I already found reports that 2008 is also possible if the 3.5 framework is enabled through Windows Features, but I'm unsure about Visual Studio 2005.
Is it possible and does anybody have any experience with this?
PS: Do not come with solutions as "Why still use 2005, 2008, ...", I really need it.
After installing it on VMWare (Virtualbox gives errors) I've enabled framework 3.5 (which indeed contains 2.0 and 2.5). After that I've installed Visual Studio C# Express Edition. During installation and startup of VS it gives a lot of "This program has been known for comptability problems" warnings and they offer to search help online or to run it as usual. I've always opted to let it run as usual. It installed fine and I could compile and run a Visual C# Windows application.
Visual Studio 2005 Standard installed mostly fine for me. I installed it on Windows 8 on an x64 CPU. It complained a bunch about "known compatibility issues," but if I told it to carry on everything seemed to go fine. The only catch was that "Microsoft SQL Server 2005 Express Edition x64" failed to install. Also, I had to run Visual Studio as administrator the first time so it could finish its setup, but after that I've just run it with my normal account.
Download Windows 8 Enterprise Evaluation and install to VMWare or Virtual Box. It's a 3 month trial and would allow you to test VS2005 plus the others. Once downloaded, it's a fast install. You can download from here: http://msdn.microsoft.com/en-us/evalcenter/jj554510.aspx
For an install of Visual Studio 2005 on Windows 7 as well as Windows 8 I install three things: (1) Visual Studio 2005, (2) Visual Studio 2005 Service Pack 1, and (3) Visual Studio 2005 Service Pack 1 Update for Windows Vista.
The Visual Studio 2005 service packs can be a bit difficult to locate on Microsoft's web site since everything is really about Visual Studio 2012 and later.
When installing Visual Studio 2005, there will be a number of Incompatible warnings displayed. I just click through them to get to the end.
Also I do a custom install and do not install some components: (1) Crystal Reports and (2) SQL Server 2005 Express Edition.
Microsoft Visual Studio 2005 Team Suite Service Pack 1 which seems to be for all editions of Visual Studio 2005 including Professional Edition which I use.
Microsoft Visual Studio 2005 Service Pack 1 Update for Windows Vista is required to update Service Pack 1 to work with Windows Vista and later.
Visual Studio 2005 / 2008 won't install by default on Windows versions later than 7.
In Windows 8.1, go to:
Control Panel > Programs and Features > Turn Windows features on or off
Check the box labeled ".NET 3.5 (Includes 1.0 and 2.0)" and press OK / Apply.
My system has issues with trying to download the files for such programs, and thus there is a way to bypass this error by running a script which installs the files from a Windows installation disc.
Here is the script (for error 0x800F0906, at least):
Dism /online /enable-feature /featurename:NetFx3 /All /Source:D:\sources\sxs /LimitAccess
You can replace /Source:D: with whatever drive letter you may be using for your optical / virtual drive, if needed.

Windows 7 Visual Studio 2005 compatibility

I'm now working on RC Windows 7 and installed Visual Studio 2008 Professional edition. But I need to work with Java programs, and so I needed to work with Visual Studio 2005. I installed Visual Studio 2005 SP1 (VS80sp1-KB926747), but I have the following problem:
"The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch."
I previously had the same problem when I installed the Visual Studio SDK, February2007.
I had a similar problem when I was installing Visual Studio 2005 Professional on a Windows 7 machine.
But here is what I did to fix the problem:
Install Visual Studio 2005 Professional
During the install, a window popped up saying that VS2005 might not be compatible with Windows 7. Ignore this warning and continue.
Install Microsoft® Visual Studio® 2005 Team Suite Service Pack 1
VS80sp1-KB926601-X86-ENU.exe
Link: Microsoft® Visual Studio® 2005 Team Suite Service Pack 1
Install Visual Studio 2005 Service Pack 1 Update for Windows Vista
VS80sp1-KB932232-X86-ENU.exe
Link: Visual Studio 2005 Service Pack 1 Update for Windows Vista
Note:
If you try and install #3 before #2, you will end up with a message that says :
"The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch."
Hope it helps.
BBlake is right look at: https://superuser.com/questions/34190/visual-studio-2005-sp1-refuses-to-install-in-windows-7
It looks like you're trying to install SP1 (the patch) without having first installed Visual Studio 2005 (the application). The SP1 install is only for patching an existing installation.

Windows 7 SDK installation failure

I seem to be completely unable to install the Windows 7 SDK onto my machine, and the only solution I've found on the web is to make a swathe of registry changes. I've done this - still no success.
This is the reported error:
A problem occurred while installing selected Windows SDK components.
Installation of the "Microsoft Windows SDK for Windows 7" product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.
Please attempt to resolve the problem and then start Windows SDK setup again. If you continue to have problems with this issue, please visit the SDK team support page at http://go.microsoft.com/fwlink/?LinkId=130245.
Click the View Log button to review the installation log.
To exit, click Finish.
There is no Samples directory to refer too, and the SDK support team don't appear to live there any longer.
How do I fix this problem?
Microsoft now has a knowledge base article called Windows SDK Fails to Install with Return Code 5100 that describes this problem and its fix:
This issue occurs when you install the Windows 7 SDK on a computer that has a newer version of the Visual C++ 2010 Redistributable installed. The Windows 7 SDK installs version 10.0.30319 of the Visual C++ 2010 Redistributable.
The error message is located in the log file, which can be opened through the View Log button in the installer. Otherwise, it can be found here: %userprofile%\AppData\Local\Temp\ or %temp%. The log file is most likely called SDKSetup_7.xxxxx.log.
Solution: Uninstall any existing Visual C++ 2010 redistributable.
I just had this problem, and I looked at the solution at Ctrl+F5, Fix Problem Installing Windows SDK for Windows 7, but it didn't work.
I googled around and found the page Installing Visual C++ 2010 and Windows SDK for Windows 7: offline installer and installation troubleshooting and the advice there worked. Basically you could have one of several problems, and you have to look in the log file to see what's going on. In my log file I had:
6:17:07 PM Saturday, October 01, 2011: C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\SFX\vcredist_x64.exe installation failed with return code 5100
so as that above web page suggested, I uninstalled both copies of the Visual C++ 2010 Redistributable Package that I had (both x86 and x64), and then when I ran the Windows 7 SDK installer again, it worked.
Although you might have a different problem than me. Try the solutions at the Ctrl+F5 and patheticcockroach.com websites that I linked.
I hoped this helped!
All of these (and other) solutions have failed completely for me so I figured out another.
You need the offline installation package (mine was x64), and you need to manually install only the samples. Opening the ISO-file with, for example, 7-Zip from location Setup\WinSDKSamples_amd64 and running WinSDKSamples_amd64.msi did this for me.
Then you just use the normal setup file to REPAIR the installation and choose whatever components you wish.
You should really check the log. It seems that quite a few components can cause the Windows SDK installer to fail to install with this useless error message. For instance it could be the Visual C++ Redistributable Package as mentioned there.
I have had this same problem with the x64 version installation. It relates (in my case at least) to the dexplore.exe installation. I uninstalled dexplore, reinstalled it, did a heap of registry changes, etc. as per various blogs and SDKs all to no avail. What finally fixed it for me was editing this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer\DisableBrowse
I changed the value to 0. Once the SDK had installed (quite happily this time) I set the value back to 1.
What alerted me to the possible error was the following in the SDK setup log:
12:19:42 PM Friday, 8 January 2010: SFX C:\Program Files\Microsoft SDKs\Windows\v7.0\Setup\SFX\dexplore.exe installation started with log file C:\TEMP\Microsoft Windows SDK for Windows 7_dd2d9383-116d-441f-85b3-7c16aeb3568e_SFX.log
12:19:47 PM Friday, 8 January 2010: C:\Program Files\Microsoft SDKs\Windows\v7.0\Setup\SFX\dexplore.exe installation failed with return code 1625
And this in the dexplore installation logfile:
MSI (s) (E4:7C) [12:19:46:680]: Machine policy value 'DisableBrowse' is 1
MSI (s) (E4:7C) [12:19:46:680]: Adding new sources is not allowed.
MSI (s) (E4:7C) [12:19:46:680]: Warning: rejected attempt to add new source 'c:\eb66d60e4283bfc2986755fa\' (product: {6753B40C-0FBD-3BED-8A9D-0ACAC2DCD85D})
MSI (s) (E4:7C) [12:19:46:680]: MSI_LUA: Elevation prompt disabled for silent installs
MSI (s) (E4:7C) [12:19:46:680]: Note: 1: 1729
MSI (s) (E4:7C) [12:19:46:680]: Product: Microsoft Document Explorer 2008 -- Configuration failed.
I hope this is of assistance in your situation.
One of the things to also keep in mind is that when you have Visual Studio 2010 SP1 installed some C++ compilers and libraries may have been removed. There's been an update made available by Microsoft to make sure those are brought back to your system.
Install this update to restore the Visual C++ compilers and libraries
that may have been removed when Visual Studio 2010 Service Pack 1
(SP1) was installed. The compilers and libraries are part of the
Microsoft Windows Software Development Kit for Windows 7 and the .NET
Framework 4 (later referred to as the Windows SDK 7.1).
Also, when you read the VS2010 SP1 README you'll also notice that some notes have been made in regards to the Windows 7 SDK (See section 2.2.1) installation. It may be that one of these conditions may apply to you and therefore may need to uncheck the C++ compiler-checkbox as the SDK installer will attempt to install an older version of compilers ÓR you may need to uninstall VS2010 SP1 and re-run the SDK 7.1 installation, repair or modification.
Condition 1: If the Visual C++ Compilers checkbox is selected when the
Windows SDK 7.1 is installed, repaired, or modified after Visual
Studio 2010 SP1 has been installed, the error may be encountered and
some selected components may not be installed.
Workaround: Clear the Visual C++ Compilers checkbox before you run the
Windows SDK 7.1 installation, repair, or modification.
Condition 2: If the Visual C++ Compilers checkbox is selected when the
Windows SDK 7.1 is installed, repaired, or modified after Visual
Studio 2010 has been installed but Visual Studio 2010 SP1 has not been
uninstalled, the error may be encountered.
Workaround: Uninstall Visual Studio 2010 SP1 and then rerun the
Windows SDK 7.1 installation, repair, or modification.
However, even then I found that I still needed to uninstall any existing Visual C++ 2010 redistributables, as has been suggested by mgrandi.
I could never get the Windows 7 SDK to install either, and it suggested I remove the latest SDK and Visual Studio 2012 Express. That didn't work.
There was also something about .NET 3.5. I installed the Server 2008 SDK with .NET 3.5, uninstalled Visual Studio 2010 redistributables and made sure redistributables were unchecked in the installation options.
Also, you need the .NET 4 framework already installed, which you can download from Microsoft's site. Then it worked.
Uninstalling all C++ redistributables and unchecking the C++ option worked for me. Note that I have VS2010 SP1, and VS2012 installed already.
mgrandi provided a very good resource and answer. I followed similar guidelines and by removing 'leftover' components managed to solve the problem.
As a reference, take a look at Windows SDK for Windows 7 and .NET Framework 4 Release Notes.
This downloads the release notes of the SDK (you should also have it on your computer after trying to install the SDK), and in the section 'Installing and Uninstalling the Windows SDK' you can see that Microsoft recommend cleaning some mess after them.
I installed Visual Studio 2012 and installed Visual Studio 2010 service package 1 and tried installing the SDK again, and it worked. I don't know which of them solved the problem.
I'm having the same error as this "Windows 7 SDK installation failure":
After finding out, I've got the solution.
It may also happen that the SDK installation runs through with a "success" message at the end, but nothing was actually installed. The only way to really find out whether the SDK was installed is to check the respective directory. C:Files\Microsoft SDKs\Windows\v7.1 or C:Files (x 86) SDKs\Windows\v7.1. If the subdirectory "v 7.1" was created and has some content, the SDK was installed. The solution for this problem is the same as for the issue with the error message: Uninstall Microsoft Visual C++ 2010 Redistributable (see below).
Resolution: Uninstall Microsoft Visual C++ 2010 Redistributable installations prior to Windows SDK installation.
Before the installation, I had the following Microsoft Visual C++ 2010 Redistributable installations. Note that the x 64 version is updated.
Microsoft Visual C++ 2010 Redistributable x 64-Microsoft Corporation 10.0.40219 15.2 MB 10.0.40219
Microsoft Visual C++ 2010 Redistributable-x 86 10.0.30319 Microsoft Corporation 11.0 MB 10.0.30319
I'd like to add that removing the Visual C++ 2012 Redistributable may be necessary, too. I removed both the Visual C++ 2012 Redistributable x84 and x64 and then my installation worked.
Do you have access to a PC with Windows 7, or a PC with the SDK already installed?
If so, the easiest solution is to copy the C:\Program Files\Microsoft SDKs\Windows\v7.1 folder from the Windows 7 machine to the Windows 8 machine.

Resources