TFS 2017 Administrator Console not opening, giving error for assembly - tfs

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

Related

Visual Studio 2019 v16.11 update failed: Access is denied

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!

Error while installing SQL Server 2017 Express showing sqlncli.msi is missing in some path

I am trying to install SQL Server 2017 Express, but it is throwing this error:
sqlncli.msi is not found in the path
Screenshot illustrating the sqlncli.msi error:
I had the same issue, if you click cancel the next error should say something about a package from SQL Server 2012 Native Client is missing.
I then tried to install the sqlncli from https://www.microsoft.com/en-us/download/details.aspx?id=50402 and it said I already have a new version. I had to unistall "Microsoft SQL Server 2012 Native Client" on add or remove programs, and install the sqlncli again from the website I mention and it all worked out.
I had the same problem.
My solution, I uninstalled SQL Server 2012 Native Client and reinstall the SQL Server 2017.
The first two answers are more helpful and straight forward. Another way of installing sqlncli.msi is installing Microsoft SQL Server 2012 SP4 Feature Pack. It contains many packages including sqlncli.msi, which adds an additional value to your SQL server.
If you download only the native client as per #fpp.jesus's answer and if you want to install it using the command-line for some reason, the following command will be helpful.
msiexec /i sqlncli.msi ADDLOCAL=ALL APPGUID={0CC618CE-F36A-415E-84B4-FB1BFF6967E1}
'ADDLOCAL=All' argument will install SDK components along with the client components.

Error Integrating TFS 2017 U3 with SQL Server 2016 Reporting Services

When I try to integrate TFS 2017 U3 with SQL Server 2017 Reporting Services, from TFS Administration Console, an error appear. Please see screenshot.
In the event viewer of TFS server, I see registered this error:
DCOM was unable to communicate with the computer servername using any of the configured protocols; requested by PID
1080 (C:\Program Files\Microsoft Team Foundation Server 2018\Tools\TfsMgmt.exe).
Error Image
I have had checked the following:
Windows Firewall is not blocking port 80
Reporting service is started
User Account has required permissions
WMI is running on the report Server
TFS databases are in the same server than reporting services and the TFS service is running without any problem.
Please, any idea how to revolve this error will be very appreciated
I was wrong when placing the error text messaage. I had performed a test from TFS 2018 that's the reason why I wrote with that description eror, but the productive environment is with TFS 2017 U3 and the error message is the same thing; the difference is the path where TfsMgmt.exe is located.
Thanks for your attention.
Audberto

Running my asp.net 4.5 web application under visual studio 2012 will raise the following error:- HTTP Error 500.0 - Internal Server Error

I am working on an asp.net mvc 4 web application (using .net 4.5). and i am using Visual Studio professional 2012. now when i run the project inside VS-2012 i will get the following error:-
HTTP Error 500.0 - Internal Server Error
Although i am hosting the same application under IIS-8 and it is working well. but if i run the same web application inside Visual studio i will get the above error. i am using windows server 2012 r2.
can anyone adivce why my project is not working when i try running it inside VS? and this problem appeared all of a sudden i mean last week i was able to run the application without any problem..
Thanks
here is the event viewer errors regarding my problem , one related to iis-express, while the other related to VS:-
An application has reported as being unhealthy. The worker process
will now request a recycle. Reason given: An error message detailing
the cause of this specific request failure can be found in the
application event log of the web server. Please review this log entry
to discover what caused this error to occur. . The data is the error.
Windows cannot access the file for one of the following reasons:
there is a problem with the network connection, the disk that the file
is stored on, or the storage drivers installed on this computer; or
the disk is missing. Windows closed the program Microsoft Visual
Studio 2012 because of this error.
Program: Microsoft Visual Studio 2012 File:
Have u checked the "most likely causes". Possibly it is permissions issue. You may need to check startup project or you may need to review your web.config file

TFS31002: Unable to connect to this Team Foundation Server

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.

Resources