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

后端 未结 20 2208
悲哀的现实
悲哀的现实 2021-02-12 10:59

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

相关标签:
20条回答
  • 2021-02-12 11:39

    Visual Studio Enterprise 2017 Version 15.8.6

    Run cmd as administrator, then:

    cd C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE
    
    devenv /resetuserdata
    
    0 讨论(0)
  • 2021-02-12 11:40

    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
    
    0 讨论(0)
  • 2021-02-12 11:40

    I'm on windows 7 32bits SP1. this worked for me :

    run cmd.exe with elevated privileges (run as administrator). then execute :

    cd c:\program files\microsoft visual studio 15.0\common7\ide
    devenv.exe /resetuserdata
    devenv.exe
    

    before that I tried to give full rights (for my user account and also the weird Account-unknown(S1-5-21-13113034....) ) to these folders: c:\program files\microsoft visual studio 14.0 and c:\users\_myname_\appdata\local\microsoft

    note that when installing visual studio, I changed the default folder name to c:\program files\microsoft visual studio 2015 so maybe it is related to the bug seen later ?

    0 讨论(0)
  • 2021-02-12 11:40

    I had the same problem, and it turned out to be that my password on my local admin account expired. I use a regular account to login to Windows, but run Visual Studio as Administrator. Upon opening Visual Studio as Administrator, it prompts me for my local admin credentials, and because my password had expired, it gives me this error message.

    Solution: Log out of Windows. Switch users, and login as the local admin. Windows will tell you that your password has expired. Change the password, and log out. Log back in as your normal user account, and try running Visual Studio again, this time entering the new admin password.

    0 讨论(0)
  • 2021-02-12 11:40

    Go to regedit. Renaming HKEY_CURRENT_USER\Software\Microsoft\VisualStudio fixed problem for me.

    0 讨论(0)
  • 2021-02-12 11:41

    %programfiles(x86)%\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe should work. The VS version number (12.0) depends on your installed Visual Studio, of course.

    Oh, and if you're on a 32-bit install of Windows, then use:

    %programfiles%\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe
    
    0 讨论(0)
提交回复
热议问题