Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix visual studio error "cannot find one or more components .Please re-install the application" in windows 8.1?

As Alex suggests find devenv.exe and run it . when search for devenv.exe then I found it's there . When I run this file getting error "cannot find one or more components .Please reinstall the application" .I re-installed visual studio thrice still getting same error . How to fix this error . It's visual studio ultimate with update 3 . I don't have ISO file , file automatically downloaded by installer.It's got installed smoothly i.e. without giving any error .

Edit:
Initial question was How to create shortcut on windows 8.1 for visual studio ?
Contents :
Today I installed visual studio 2013 with windows phone SDK and Multi-device Hybrid apps on windows 8.1 .Unfortunately I am unable to find any shortcuts related to any one of the applications which are installed today .

How can I create shortcut or which file should I execute to open IDE ?

One answer would be search in search charm ,it's not there . I tried all methods that i could .

Following folders are there in windows 8.1 program files

C:\Program Files\iTunes
C:\Program Files\iPod
C:\Program Files\Windows Identity Foundation
C:\Program Files\Hyper-V
C:\Program Files\Common Files
C:\Program Files\IIS Express
C:\Program Files\Microsoft Identity Extensions
C:\Program Files\SharePoint Client Components
C:\Program Files\Microsoft SQL Server
C:\Program Files\Application Verifier
C:\Program Files\MSBuild
C:\Program Files\IIS
C:\Program Files\Microsoft Visual Studio 12.0
Many folders are there related to these apps in programfilesx86 .

like image 471
user3919801 Avatar asked Oct 03 '14 09:10

user3919801


People also ask

How can I change install location in Visual Studio 2022?

If you've already installed it and want to change the location, you must uninstall Visual Studio and then reinstall it. In the Shared components, tools, and SDKs section, select the folder where you want to store the files that are shared by side-by-side Visual Studio installations.


3 Answers

Same problem for me. My solution:
Open command prompt as administrator

cd C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE
devenv /resetuserdata
like image 110
Arjan van Dam Avatar answered Oct 14 '22 23:10

Arjan van Dam


I had solved the same issue on VS2012 as following steps:

• Use regedit.exe

• Go to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio

• Delete "11.0_Config" & "11.0 node" notice: 11.0 as your VS version

• Restart VS2012 VS env will be constructed initially.

Hope this help. BR

like image 23
littlefaint Avatar answered Oct 14 '22 21:10

littlefaint


Problem is with security setting . After 2-3 hours of Googling i found many solution but none of them work then i tried these solutions .

There is one  folder in your machine:  "C:\ProgramData". 
Don't worry if you don't see this folder, unhide all the folders, you will find it there.
I did not had the rights on "C:\ProgramData\Microsoft\VisualStudio" .
See if you have full rights on the same.
If your are not able to open this folder, This means that you do not have rights on this.
to give rights follow the steps below :
1) Right click on the folder "VisualStudio."
2) Go to Properties->Security. See if your PC name is there in the user names list, 
if not , then add it.
3) Go to Advanced -> Owner -> Edit -> Other users or groups.  add your PC name,
i.e add yourself as the owner of the folder and give full rights.

Which is found here Application-data-folder-error . I was unable to change security of ProgramData files then i tried this solution .

1. On the root folder, right click, select properties, select security tab.
2. Click Advanced
3. The window that pops up should show the current owner. Click "Change." 
The "Select User or Group" pop up box appears. 
4. In the text box, type in your current user name (you should be an admin), and hit the 
"Check Names" button. Your name will be replaced with the "official" system 
 name (i.e.,preceded by computer name and back slash).
5. Click OK
6. The box disappears, sending you back to the Advanced Security Settings window.
7. A new tick box appears below owner, with the text "Replace owner on subcontainers and 
objects" Select this tick box.
8. I also selected the tick box "Replace all child object permission entries
with inheritable permission entries from this object", but I think I had to run this twice
- once with this box ticked and once without.
9. Make sure that "everyone" appears on the Permission entries window, if not,
click add. The same box that appears in step 4 shows up again. 
Type everyone, click "Check Names" and then "OK"
10. Hit apply

which is found here Permission error.

Finally it works cheers :) Hope it will help to some other .

like image 38
user3919801 Avatar answered Oct 14 '22 22:10

user3919801