Side-by-side configuration error in Visual Studio 2019 - visual-studio

I installed Visual Studio 2019 but when I open it this error occurs:
"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 for more details."
When I try to repair the visual studio this error occurs:
"Error-2146233033: Package is corrupted
Couldn't repair Microsoft.NetCore.TargetingPack.3.1.3.1.0"

I had the exact same issue and I tried the following.
Repair the Microsoft C++ redistributable versions on your machine.
Versions from 2013 onwards have this option by right clicking on it.
For version 2010 and older download the respective version from the MS website.
(This did not fix the issue for me)
Uninstall C++ installations and re-installed them.
Uninstall VS2019 and re-install it.
For me the above approach worked, but I cannot be certain which part fixed the issue.

Related

Error with mscoree.dll when executing Visual Studio

For a few days now, whenever I try to start Visual Studio 2017 I get an error that says that an specified procedure couldnt be found
I have tried the .NET Framework repair form Microsoft and it couldn't find the problem, I have also tried uninstalling and installing Visual Studio 2017 but the installation also throws the error (though it finishes and I can try to open Visual Studio again).
I have tried the .NET Framework installers but they say the framework is already installed so it won't do anything, and I can't find any way to uninstall .NET Framework in Windows 10.
I searched through Google for some versions of the DLL and putting it in the C:\Windows\Microsoft.NET\Framework\v4.0.30319 folder but none have changed anything.

Install SSDT for Visual Studio 2017 community fails on recursion too deep

"Setup Failed" Recursion too deep; stack overflowed 0x800703E9.
I have windows 10 and newest visual studio version. I have tried rebooting to make sure I have as many resources as possible. I have 4g ram.
If the SSDT installer gives you multiple instances of Visual Studio to choose from, try the "new" option.
I ran into this problem trying to install SSDT 15.8.1 on Windows Server 2012 R2 with the latest version of Visual Studio 2017 (v15.8.6) already installed. The SSDT installer gave me 2 options in a dropdown box.
Install tools to this Visual Studio 2017 instance:
Visual Studio 2017
Install new SQL Server Data Tools for Visual Studio 2017
When I chose the first option: Visual Studio 2017 (presumably the existing instance), I ran into the cryptic "recursion too deep" error. I installed the SSRS extension for VS (as suggested by others on Stack Overflow) and tried running the SSDT installer again for the existing Visual Studio 2017 instance. I got the same "recursion" error.
I tried one more time, but this time chose the 'Install new SQL Server Data Tools for Visual Studio 2017' option. This time the install process completed!
Apparently there is an installer inconsistency between the latest versions of SSDT and Visual Studio. The suggested fix is to start with a previous installation of Visual Studio 2017, install the latest SSDT on top of that, and then upgrade Visual Studio. This is a very time consuming fix. It appears this is only necessary for the SSIS components - the SSAS and SSRS pieces are available as Extensions within VS, and I believe they still install successfully from there.
https://developercommunity.visualstudio.com/content/problem/258117/ssdt-failed-to-install-vs-2017-pro-1572.html
Please re-run the VS community 2017 installer or go to Control Panel-Programs and Features, uninstall the previous SSDT version for VS 2017, then re-install it, you can have a look at this similar issue.
If this issue persists, please use http://aka.ms/vscollect to gather the installation logs and find vslogs.zip under the %temp% folder, then upload the file to Onedrive and share the link here.
You should uninstall the current version of SSDT before install a new version.
If your computer have some pages blocked, you could download the specific version offline installer (Download the header, then use SSDT-Setup.exe /layout [Folder]) for the former version and new version of SSDT.
How I got past it:
Uninstall the Visual Studio extensions for Reporting Services (and Analysis Services) projects in case if you going to select them during SSDT set up. Note: remember to run VS as administrator to do the uninstall.
Reboot VS2017 (just out of general principle.)

Can't install Visual Studio 2015 Community

I'll get straight to the point here.
I've been having loads of problems installing Visual Studio 2015 Community recently. I previously had Visual Studio 2012, but decided to uninstall it and install 2015 since I've started using 2015 at college.
Originally I was using Windows 7 Professional when I was having the issues, but it persists with Windows 10. The exact issue is that when I try to install Visual Studio, it progresses a little bit and then stops at "Microsoft Visual C++ 2015 x86 Debug Runtime - 14.0.24210" and then doesn't progress past that. It will keep installing that for as long as I let it, and when I try to stop the download, it will not close and I will have to restart my PC. See here:
1
I contacted Microsoft support, which, I have to say, is appalling, and they recommended that I try to install it after performing a clean boot. I did that, and it seemed to be working, but I got multiple other errors. See here:
2
As I need this programme to help with college work, you can see how this would be a huge inconvenience for me, and since Microsoft support is so terrible, I decided to come here to ask for help.
So, would you please help me figure this out?
Refer to the log file, I found the error message 'The older version of Microsoft Visual C++ 2015 x86 Debug Runtime - 14.0.24210 cannot be removed', you can have a try with the following to troubleshot this issue:
Make sure run the installer as administrator.
Go to Control Panel—Programs and Features and if you can find any versions of Visual C++ 2015 Redistributable, right-click and repair. After that, re-run the VS installer as administrator to repair. If not works, uninstall the installed Visual C++ 2015 Redistributable versions and re-run the VS installer again.
You can also use the MsiInv tool: https://blogs.msdn.microsoft.com/astebner/2005/07/01/using-msiinv-to-gather-information-about-what-is-installed-on-a-computer/ to obtain all Windows Installer products, features and components that Windows Installer thinks are installed on your computer, then manually uninstall the Visual C++ 2015 x86 Debug Runtime - 14.0.24210 by running msiexec /x command. After that, re-run the VS installer as administrator.
Download the Visual C++ 2015 Redistributable from https://www.microsoft.com/en-sg/download/details.aspx?id=48145 and install it, then re-run the VS installer to repair.

Visual Studio Installation Failing

Previously I have Visual Studio 2012 Ultimate version in my system. Its is working fine.
Later I am trying to install 2013 also but it is not installing properly and giving error message like attached image.After that VS2012 also is not working properly. Then I tried to Install Vs2012 also again. But this installation process also giving same error. I can not able to upload image due to reputation.
This is the exact error:
"Visual Studio Core Fetures Fatal error during installing.
Microsoft Visual C++ 2012 Core Libraries Package failed.
Microsoft Visual C++ 2012 Microsoft Foundation Class Library Package failes."
Please help me to install visual studio 2012 & 2013.
Because Visual Studio requires many components to be installed, and if they are not, VS will install them. However, when you uninstall VS, it will not remove these components automatically because it does not record which component is installed by it and which exists before VS is installed. Other applications might need these components to work.
When you uninstall VS2012, you really only remove VS itself. Then you try to install VS2013 and meet an error, and that may be the problem. To make things worse, you did not clean uninstall VS2013 either, which caused the later errors when you try to reinstall VS2012.
You may as well try to clean uninstall VS 2012 and the same goes for VS 2013, just some Google work.
I hope this will help you a little.

Unable to start Visual Studio 2010

Unable to start Visual Studio 2010.
Error
The type name could not be resolved Parameter name: windowtype
Screenshot
The only solution I had in mind is to re-install Visual Studio or Windows.
Is there any other way to remove this error.
As per MSDN, this issue is resolved. Here is the link
http://connect.microsoft.com/VisualStudio/feedback/details/572085/isolated-shell-2010-unable-to-call-com-component-in-exe-before-start
I think downloading and applying the latest service pack and hot fixes (you can get using Windows Update), will do the trick.

Resources