Our VS 2019 update to v16.11 failed, and now this VS install is unusable. All projects report 'Unloaded' when they are opened.
This is only affecting the server installation. In my Amazon Workspace environment, the update was successful and I can open/build/debug the projects with no problems.
We've attempted to repair, modify and uninstall/reinstall VS 2019 but an 'Access is Denied' error is encountered for each.
We are running all as Admin, my account is a machine admin.
I've found no 'Known Issues' related to this, but the update was just released on 8/10/2021.
Has anyone else encountered this issue?
We resolved the issue by logging in to the server as a 'Local Administrator' and performing the update. Worked like a charm!
Related
After updating from TFS 2018 v3 to DevOps Server 2019.0.1 last weekend I now receive this authentication error when attempting to manage security:
TF30063: You are not authorized to access tfs.
I receive this error when attempting to manage security from the Server Administration Console via Application Tier > Administer Security. I also receive the error when I attempt to set permissions via tfssecurity cli tool. I am in the local administrator group and I am listed in the console administration user section.
I'm trying to set permissions because after the update I received several reports from employees that receive errors when they try to access their projects. Those errors are:
TF40049: You do not have licensing rights to access this feature: Code.
*** Edit: Update
This error reoccurred when I upgraded from 2019 to 2020 RC1. The difference is, this upgrade required a migration of the server- since server requirements changed for the new version of DevOps Server.
I spent 8 hrs working through this issue yesterday, and this is what fixed our problem:
deleted DevOps server cache. (location of cache listed in devops admin console on server)
reboot server.
I deleted the cache off the server based on an article I read with the same error, a user was having security/permissions issues with visual studio and they deleted the vs cache on their local machine and it solved their problem. I don't know if deleting the cache or the reboot would have fixed it independently because I did them both as a single troubleshooting step.
Hope this helps someone.
** Edit: Update 08/13/20 **
After upgrading again, I have ran into the same issue and this does not fix my error anymore. I've tried deleting the server cache, rebooting, reapplying permissions, configuring a new service account, reapplying changes, rebooting again, etc. I still have not found a solution for this error. I cannot schedule backups through the supplied backup scheduler without permissions to manage security settings through the configuration panel.
My TFS 2017 Update 2 on-premise is according to the Marketplace (https://marketplace.visualstudio.com/) running in Connected Mode. Whatever extension I try to install in this mode results in the error message:
Something's gone wrong
We've encountered an error while downloading the extension. Please try
again later.
If I try to install the same extension in my VSTS account it works fine.
If I disconnect my TFS on-premise from the Marketplace the "Install" button changes to "Get it free" and I can get to the download page for the extension and get the extension that way.
The error message gives no clue as to where I should start searching for the root case. Is the Marketplace having issues or is the error on my end? Do I need to open a firewall port? Something else?
I have tried this on two separate connected TFS 2017 Update 2 on-premise installations and get the same behaviour. I have TFS Administrator (Console Admin) rights on both.
Please check the permissions first to make sure you have the correct permissions to install the extensions:
What do I need to install extensions?
Project collection administrators with Edit collection-level
information permissions can install extensions. If you don't have
permissions, you can request extensions instead.
Well, I tested on TFS 2017 Update3 (no update2 on my side) while connected to TFS and everything works as expected, cannot reproduce the issue...
However that might be an temporary network issue, so just as the error message said you can try that again later... If the issue persist, then as a workaround you can download the extension from Marketplace and upload to TFS to install.
You can also try upgrading to TFS 2017 Update 3, it should work for you.
Refer to Install extensions for Team Foundation Server (TFS) for details.
I am getting below error while opening TFS Administrator Console.
The OS on server is - Windows Server 2012 R2 Standard
Does it mean the installation has got corrupt and I need to re-install TFS Server?
I found one solution which solved the error. It was needed to change the below Registry key value to 1 in order to solve the error.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\TeamFoundationServer\16.0\InstalledComponents\ApplicationTier
We just upgraded our TFS 2013 to TFS 2015. We use VS2015 to communicate with it(we were already using it with our TFS2013). The server was not available during the time our IT made the upgrade.
After the ugprade, everybody started to work again with the server but I was seing it as Offline and I finally decided to remove the server and add it again.
When I add it again(200% sure of all the settings), I get this error:
I finally tried to do the same on our "old" installation of Visual Studio 2013(same computer, same account), and it works. I was at least capable to commit all my changes to the server.
I tried to go on the portal and click on `Open in Visual Studio", and I got another error(TFS400324):
Now I'm trying to regain access to TFS2015 with my VS2015. I can access the web portal.
Here is what I tried after some research:
Do a Repair of Visual Studio 2015
Check that I've no weird proxy
Check that there is no available update(already at VS2015 UPD 1)
Clear the cache of all my Internet explorer
Cleared %LocalAppData%\Microsoft\Team Foundation\*.*\Cache
Run VS2015 in admin
Disable my antivirus
Delete registry key HKEY_CURRENT_USER\Software\Microsoft\VSCommon\*.*\ClientServices\TokenStorage
Check that I've no proxy declared in: C:\Windows\Microsoft.NET\Framework\v*.*\Config\machine.config
I did a windows update.
I ran the command devenv.exe /resetuserdata
Any clue what is happening and how to solve it?
VS 2013 can connect to TFS 2015, but VS 2015 can't. So the issue is on client side. Try on another client machine to connect TFS 2015 with VS 2015 to check the result.
Clean the client cache: C:\Users\username\AppData\Local\Microsoft\Team Foundation\5.0\Cache and C:\Users\username\AppData\Local\Microsoft\Team Foundation\6.0\Cache. Make sure both 5.0 and 6.0 folder are cleaned.
Clean server cache on AT machine: C:\Program Files\Microsoft Team Foundation Server 12.0\Application Tier\Web Services_tfs_data, and C:\TfsData\ApplicationTier_fileCache
Remove all credentials in Control Panel\All Control Panel Items\Credential Manager.
Remove TFS server in Team Explorer: go to Manage Connections--Connect to Team Project--Servers, select TFS 2015, remove it and add it.
Connect TFS 2015 with it's IP address, not server name.
This answer will not please to anybody coming here for an answer, but I had to format my computer and do a whole clean install on it.
A little trick might help.
Change port 8080 to another port. I've changed to port 5000
I hope to be useful.
Hi for some reason I cannot connect to TFS anymore.When I try to do that from both te browser and Visual Studio it freezez and I get this error:
TFS is installed localy on my computer and I am using the defaultCollection and user from windows.
I have been using TFS locally for only a month and everything worked perfectly so far.
I have also tryed reseting my PC and uninstalling and reinstalling TFS but it seemes to have no effect.
Has anyone had this problem before?
Check the TFS Server. Make sure the app pool and site are running. Also if you have VS on the TFS Server (you should for this very reason) try connecting from there. If that works, it could be a network issue.