Access Denied when trying to select a Visual Studio 2017 Extension - visual-studio-2017

I have been using Visual Studio for ages, version after version. Lately I installed VS.2017 but every time I try to install a tool or extension things go wrong. I am using a restricted (non-admin) account as I always have.
Select Tools in the menu bar at the top
Select Extensions and Updates in the drop down menu
Try to select any from the list
When I do that I get a very informative dialog that only says "Access Denied" and nothing else. As a result I cannot install any extensions. In some cases after doing that then I cannot start VS anymore without getting "Unknown Error" which luckily I got rid of thanks to another post in SO.
Why is this happening in the new VS 2017? I never had any problem installing extensions or updates while running a Restricted User Account.

Related

Missing Microsoft.VisualStudio.Component.VC.Tools.x86.x64

I installed Visual Studio 2017 recently. Today, when I tried to create a new C++ Win32 Console Application project, it shows me the New Project wizard again and again. It also displays the following error.
Project 'ConsoleApplication8' could not be loaded because it's missing install components. To fix this launch Visual Studio setup with the following selections:
Microsoft.VisualStudio.Component.VC.Tools.x86.x64
I don't know whether this is a pre-existing problem when I installed Visual Studio , because this is the first time that I attempted to create a C++ console app.
I wanted to reinstall Visual Studio, but unfortunately my DVD is broken. So I need to find another solution.
I've finally resolve problem. thanks Ken White to ensure me.
I ran Setup then click modify and select following mentioned Items. Then I just wait a few minutes.

Cannot access SFTP/Webserver with Visual Studio

After using Notepad++ to develop a website for a while now, I decided to try a more advanced IDE and installed Visual Studio.
In NPP I used the NppFTP plugin to work on my webserver and never had problems doing so. But when I try to acces my code with Visual Studio, weird things happen.
So I click on "Open Website" on the Start Page.
There I select FTP.
When I fill in the same server, port and login data, which still works in Npp, I get an error saying "Rebex FTP/SSL does not support SFTP/SSH protocol.
When I write sftp://aiatlas055.cern.ch instead of aiatlas055.cern.ch, Visual Studio displays an empty dark blue page and starts lagging and being unresponsive.
Can anybody tell my what is the proper way to connect to my webserver ?

Microsoft Visual Studio 2017 is failing to repair itself

I'm trynig to install MVS 2017 because my previous version (2015) broke. By broke I mean it was not able to connect to the internet to check my version or something and it did not let me in. Tried googling it, found nothing.
So here I am, trying to intall MVS 2017. So far nothing but failure is being seen.
My first attempt at installing it kind of worked, it even successfuly loaded up, but had no extensions whatsoever (only Visual C++) and was unable to create any projects, the project window just kept reappearing after I finished configuring my project's settings. While installing it for the first time by the way, there were a couple of windows that popped up, they basically couldn't find the installer for Microsoft Visual C++ 2017 and some "Kits" thing.. It was something along the lines of "The feature you are trying to use is on a network resource that is unavailable. Try selecting the installer from some other directory", but I could find it and clicked "Cancel".
After that I tried repairing MVS with the installer. Same two windows appeared, they still can not find their installers apparently, I clicked "Cancel" like in my first installation attempt and the MVS kept repairing itself for about an hour. Then, in my installation window it said "A restart is required. If needed, any remaining setup will resume automatically after the restart".
So I went ahead and restarted my PC and tried launching MVS. Absolutely nothing changed, there are no extensions that I checked when installing.
I tried googling my error messages and other problems and I ended up doing this:
Cleared my C:\ProgramData\Package Cache folder
Installed Microsoft Visual C++ 2017 manually
Changed the installation directory
Nedless to say, on my previous version of MVS I had quite a lot of extensions installed. Including the lastest version of QT, support for Unity, some other C# stuff and a buch of different extensions for C++ development.
Can somebody please give me a website where I can post my logs to or help a little with my situation.
Thank you.
This might be helpful, Please take a look :
https://social.msdn.microsoft.com/Forums/vstudio/en-US/d5e52eb9-98f3-4c4e-9d37-09e20d2b8d4c/failed-install-vs2017-and-link-of-solution-links-back-to-itself?forum=vssetup

IntelliSense and browsing information will not be available for C++ projects

In Visual Studio trying to create a blank C++ project Win32 Console Application my app Settings are
Console application
Check empty project
Precompiled headers is unchecked
Visual Studio tries to set it all up and then gives me the follow error:
Everything works except project has zero IntelliSense.
Here is what I tried so far:
I tried to install latest version of Microsoft SQL Server Compact 4.0 it keeps telling me the version you are trying to install is an older version and the one I have - is the latest.
There was something about Fallback Location setting it to true, tried that still the same.
Tried to run VS in admin mode, the same error.
Maybe someone had similar problem?
I have had the same problem too. I figured out my problem by install Microsoft SQL Server Compact 3.5 Service Pack 2 for Windows Desktop. The link is https://www.microsoft.com/en-us/download/confirmation.aspx?displaylang=en&id=5783
May it can help you with your problem. good luck
I just had the same problem and solved it by starting Visual Studio as administrator.
The problem appeared, because I had previously started Visual Studio as admin, and the Debug Folder it created wasn't writable then for the normal user.
Otherwise: deletion of the Debug folder would presumably also have fixed the problem.

Visual C++ 2008 Express Edition error creating a new project

I have installed Visual C++ 2008 Express Edition on Vista Home Premium and whenever i try to create a new project, no mater which type(CLR, Console, Win32, Empty project) i get "Creating project 'project name' ... project creation failed." However i can open an existing solution.
So basically my Visual C++ is useless.
Any idea what could i do to get this working? I'd hate to be needed to reinstall the whole OS just to get it working.
I tried uninstalling and installing again multiple times. same error.
Solved following the steps in this guide: http://masteranza.wordpress.com/2008/12/27/solution-vs-c-2008-project-creation-failed-bug/ after a lot of Googleing
Check if You have access rights to the directory in which Your solution is to be saved.