Cannot connect TFS - visual-studio

I want to connect to TFS through the Team Explorer in Visual Studio 2015.
So, my problem is that I cannot connect because of a wrong authentication (valid username and password, valid privileges).
I think the reason for that is the Domain but I never joined one because I use a normal version of Windows 10 Enterprise. Could it depend on installed features like WCF? I did really intensive research but I'm not able to find any information to solve my problem.
Here is a screenshot of the Login-Dialog:

On premise TFS only supports Windows auth (either local or domain).
If your TFS server and VS are installed on the same machine, you could use your local account with enough permission to connect TFS server directly.
If your TFS server and VS are installed on the different machine, and since you haven't joined domain. Suggest you to join domain : This is the easiest to setup, user-wise. All you have to do is be a member of the domain and a member in a team project. Another option is using Visual Studio Team Service (TFS in the cloud) for this. It's currently free and uses Microsoft live accounts instead. Which you can access it everywhere on the internet.

First I want to thank you for your support.
I'm sorry that this comes late but I already solved my problem.
I obviously just forgot to put a Backslash in front of my username so that I don't use the domain of my local computer.

Related

Visual Studio Online Access

Visual Studio Online is available in Azure for creating Team Projects on cloud. Now what i have a doubt is if we can restrict the access of VSO from just corporate network or not? If yes how can we achieve that? Can anyone provide links or steps to configure it? Can Azure Active Directory help in this case?
For eg: There is XYZ Company that wants its developers to work with VSO only while they are on premise of the office. When they go home or outside corporate's network he/she must not be able to access or make changes in VSO.
Any help will be appreciated.!!
I think you can do it via using Azure Active Directory.
As we know that Azure AD can be integrated with an existing Windows Server Active Directory, giving organizations the ability to leverage their existing on-premises identity. Please check:
http://blogs.technet.com/b/ad/archive/2014/08/04/connecting-ad-and-azure-ad-only-4-clicks-with-azure-ad-connect.aspx
If the Visual Studio Online account is connected to an active directory, only users in that directory can get access to your account.
Please check the following two links for the details:
https://www.visualstudio.com/get-started/setup/manage-organization-access-for-your-account-vs
http://nakedalm.com/use-corporate-identities-existing-vso-accounts/

Can't edit the TFS buid definition through the VPN

I am an administrator on TFS. If I am in the office (connected to the domain directly) I can change the build definition easily, but when I use VPN it says "Downloading Custom Assemblies" and never finishes downloading. What is the problem with that? Does anybody encounter this issue?
Is it the same machine? If not make sure you have upgraded VS 2013 to at least update 2, I've seen this problem with vanilla VS 2013 installations.
If it is the same machine you could try adding the URL for the TFS server to the trusted sites in your internet options.
If that doesn't work then it's probably a proxy server preventing the download of binary files. You need to speak to your network team and ask them for some help

Can't access TFS 2008 (TF31003) but Team Foundation Web System works

I've looked through existing Stack Overflow questions and haven't found anything that matches my situation.
I'm running TFS 2008 and am unable to connect using Team Explorer in Visual Studio 2010 (error message TF31003: Either you have not entered the necessary credentials or your user account does not have permission to connect to the TFS server at servername).
I am authenticating via a domain account and have confirmed that other TFS users cannot access the server with their credentials either. I have Team Foundation Web System set up on the same server and the same users can log in without problems. That tells me that the server is up and the data is accessible, just not via Visual Studio. I've also checked firewall states -- completely disabling all firewalls (my machine and the server) has no effect.
Is there something obvious I'm missing about why Visual Studio won't authenticate users? (Yes, I've tried restarting my development machine and the TFS server.)

Expose MS Team Foundation Server 11 from home computer to Internet

Please help me with my noobish problem
I have laptop at home. I installed MS Windows Server 8 Beta on it, Visual Studio 11 Beta and MS Team Foundation Server 11 only for version control of my application, which I want to change at home (where my laptop-server is) and at work (where my another Visual Studio 11 Beta is).
So my major problem is that I can't easily expose my [home] TFS Server on Internet that I can see it from my work computer :(
I installed TFS Proxy, which generated a proxy URL for me like this: http://win-jnkseeeq4rl:8081/ (which works on LAN)
But of course, I can't get it to work on another (work) computer through Internet, because it doesn't resolve this kind of host.
At home I've got WiFi-router through which my laptop connected.
I think I must expose some ports on it, but I don't know how and is this a main problem really.
Thank you everyone for answers!!!
I run a TFS at home to support my consulting and have setup Remote Access Services using the PPTP protocol to run my inbound VPN. You generally just have to enable PPTP passthrough (GRE protocol) and forward TCP/1723 to your RAS server.
I also use Dynamic DNS to help find my public IP if it ever changes.
But I have to be honest, have you considered just using the TFSPreview.com service instead? I haven't switched over completely yet because I've already built my infrastructure and it's still a beta service but I could see myself doing it in the future.
Have you looked at the walkthrough here => http://msdn.microsoft.com/en-us/library/bb668967.aspx
There is a similar question here, How to access VS 2010 TFS over the internet from remote office

Source Server support on VMs with VMWare Lab Manager and TFS?

My company is interested in better integrating our investment in VMWare with our TFS deployment. Currently the company is running TFS2005 SP1, VS2010, and we have a sizeable SAN that we would like to use in environment reproduction similar to what is offered in TFS2010 Lab Management.
Of the features offered by TFS2005, we are currently leveraging only TF Version Control--work items and build automation are handled by separate systems. However, we would like to use the TFS-integrated Symbol/Source server in order to accurately debug the different versions of our product, and that's where we're running into difficulty.
The VMs deployed in VMWare are not joined to the corporate domain, and this means that we run into difficulty when attemping to grab source code information via Source Server and the "tf.exe view" command.
If devenv is run on the VM, it can't authenticate a domain account, and tf.exe view fails when grabbing source info.
If devenv is run on the developer desktop and debugging is done with remote debugger, the vm's local user account fails to access the share exposed by Symbol Server and can't load symbols to begin with, much less retrieve source.
Has anyone done this before?
Yes - You can still do this. If you are using Windows 7 (and I believe Windows Vista) you can always add the domain credentials to the "Credentials Manager" in the Control Panel. This will help it authenticate for the TFS URL whenever it needs to talk to TFS.
BTW, I have a blog post discussing the Symbol Server and Source Server features of TFS 2010 available here: http://bit.ly/SymbolServerTFS

Resources