After successfully (?) installing TFS 2010 (basic configuration), when I click Administer Security on the Application Tier page on the Team Foundation Server Administration Console to add users, I get the following error message:
The server was unable to process request. ---> Team Foundation services are not available from the server.
Technical information (for administrator):
The request could not be processed because the application is not configured correctly. No service host is available for the request.
I have made the same kind of installation on another server without any problems, but I don't understand what the problem is in this server. What do I need to check?
I had the same error after following the MS instructions here: http://msdn.microsoft.com/en-us/library/ms404869(v=VS.100).aspx
I fixed the error by running the following command:
TFSConfig registerDB /SQLInstance:servername /DatabaseName:Tfs_Configuration
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.
When doing Application Tier only installation on TFS, I received the following error at the Configure section of the Application Tier Only Wizard.
TF255356: The following error occurred when configuring the Team Foundation databases: TF246083: The configuration of Team Foundation Server is not valid. You must remap the databases in order to fix the configuration. The following error was received from the server: TF400673: Unable to find any compatible SQL Analysis Services database within the specified instance.
'2' hosts have been given updated connection strings.
.. For more information, see the configuration log.
How do I resolve this error?
Image Link for Application Tier Only Wizard
This problem usually occurs when Move or Clone Team Foundation Server from one hardware to another.
Based on the error message, seems you have not restored the TFS_Analysis database or somthing wrong with the restored TFS_Analysis database.
So, you can try to restore the TFS_Analysis database, then check it again. If the issue still exists there, then you can refer to below thread and following the steps to fix that:
TFS Configuration
Cloning Your TFS Server Part 02 – Prepare Restored Databases
UPDATE:
You have to restore the TFS_Analysis database first, you can not configure the AT without the DB. Alternatively you can do a complete new installation and create a new TFS deployment. See Install TFS on a single server for details.
I host my projects on Visual Studio Team Services cloud TFS. I'm trying to run some TFS command lines (specifically this) but I'm not getting very far. I believe the problem is most likely the format of the URL. My command looks like this (linebreaks added for readability):
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE>
tf status itemspec
/collection:"http://MYACCOUNT.visualstudio.com/DefaultCollection"
/login:MYEMAIL
The error I get in response looks like this:
TF31002: Unable to connect to this Team Foundation Server:
http://MYACCOUNT.visualstudio.com/DefaultCollection.
Team Foundation Server Url:
http://MYACCOUNT.visualstudio.com/DefaultCollection.
Possible reasons for failure include:
- The name, port number, or protocol for the Team Foundation Server is incorrect .
- The Team Foundation Server is offline.
- The password has expired or is incorrect.
Technical information (for administrator):
The remote server returned an error: (404) Not Found.
I've tried it with my password too, but the response is no different. I found this but it did not help me at all. Has anyone been able to run commands against TFS on Visual Studio Team Services?
Please double check the URL. All URLs for Visual Studio Team Services are https, not http. At a minimum, your project collection URL should be:
https://MYACCOUNT.visualstudio.com/DefaultCollection
If you are using https as Ed mentions, then you are failing to authenticate. Don't use the /login option. Tf.exe will pop up the same authentication dialog as VS does when connecting to your Team Services account. You would need to log in with your Microsoft Account (unless you have Azure Active Directory linked to your Team Services account, and then it is your AAD identity). I ran tf.exe on my work account to double check, and I was able to sign in (two factor auth required in my case - all handled by the auth dialog and I did not use the /login option).
when I go to application tier, configure installed features ,start wizard,
it will ask whether I would like to have sharepoint on this machine or not, I go for it and the error displays is:
TF400081: Cannot connect to the Internet. An Internet connection is needed to be able to install SharePoint.
We are using a proxy on the network to access the internet, when I look in the log it says:
Exception Message: The remote server returned an error: (407) Proxy Authentication Required. (type WebException)Status: ProtocolError
Response Status Code: ProxyAuthenticationRequired
how can I run the standard configuration wizard do that it gets authenticated by the proxy?
This is because it's trying to download all the prerequisites for sharepoint. It may just be easier to do an offline install by manually installing the prereqs yourself.
http://blogs.technet.com/b/patrick_heyde/archive/2010/03/02/install-sharepoint-2010-without-internet-access.aspx
There is two ways:
1. switch off require authentication for your server on proxy
install your own intermediate proxy (Proxomitron.info for example) on you work computer and make TFS server to connect to you proxy instead of corporate.
And configure an intermediate proxy to bypass all connection without authentication.
After DCpromoing and then demoting the server that TFS runs on, we cannot use WSS ("Cannot connect to the configuration database") to manage team projects. I believe that if I could find the default permissions that are set up when TFS is first installed on a server that is joined to a domain - in terms of any service accounts that are created and which accounts various services should run as - I would be able to get it back up and running again. Does anybody know the default NT accounts and permissions for Team Foundation Server?
That error sounds like a SharePoint error. This technet article outlines the permissions (server, SQL, registry) that are required for a default WSS install.