Hi I have problem add solution to TFS 2010. First I describe to you scenario.
I installed TFS 2010 on Server 2008 - machine : Zeus.
Then I created Team Project collection with TFS Admin console.
Name of Team Project collection is Pokec.sk.
I am trying add VS solution from another machine : Ares.
On machine Ares I have VS 2010.
First I configure connection to TFS 2010. On connection from VS to TFS I used credential from machine Zeus.
I used this credentials: zeus\administrator. Because I cant use credential from machine Ares.
When I tried add solution to source control I got this error:
http://www.freeimagehosting.net/cnik5
I think that I am trying add solution to TFS under credentials ares\tom and this is not allowed.
I tried edit Group Membership with TFS Admin console. But I dont know how can I add credentials from another location.
I think it is security problem of TFS. Because Ares\tom is not in Group Membership of Pokec.sk.
Machine: Zeus User: Zeus\Administrator SW: TFS 2010
Machine: Ares User:Ares\tom SW: VS 2010
how can I solve this?
You can only add users to TFS that are either users on the current workstation, or users in a domain that you are joined to (or that is in a trust relationship with the domain you are joined to.) You can't simply add users on ARES, instead you have to add a user on ZEUS and then you can authenticate as that user from ARES.
You need to create a new user on ZEUS (for example, ZEUS\tom), and then grant that user access to TFS. From ARES, you will then connect to ZEUS as ZEUS\tom, and you will be prompted for a password each time you connect.
If your goal is to avoid typing a password each time you connect, then you have two choices:
You can configure these credentials in Control Panel -> Credential Manager so that any time you connect to ZEUS, it will provide the credentials for ZEUS\tom.
You can take advantage of Windows "shadow accounts". Simply use the same username and password for the user on ZEUS as exists for a user on ARES. Then the credentials presented by ARES will match the corresponding user on ZEUS and you will be logged in automatically.
Related
I have already install sql server 2008 r2 which is login by using windows authentication.
And then after install Sharepoint2010 foundation on my Windows7 Ultimate OS.
Now Next step is SharePoint Products Configuration Wizard. Click on next button i reach to Connect to server farm where is select Create new server farm and click to Next.
Then It Popup with below screen,
I have problem here is that it require Database access account with UserName and Password and UserName in form DOMAIN\User , but i dont have User Name with domain,then i create login user for sql server and it have name like SharePointUser with Password. There is no domain name.
I tried to enter user Name like Aamir-PC\SharePointUser, but gives error like User Name is invalid. The Account must have valid domain account. Even i tried username like SharePointUser but same error again.
I search a lot but i did not find any solution for above problem.
If you have SQL server installed on the same machine then Did you try to create a stand alone system instead of Server farm? I have installed Sharepoint 2010 foundation in my Windows 7 OS but as a standalone farm.
I'm using Vs2013 and TFS for my project.
I have to run my VS in admin mode because of some reason but it ask me TFS credential every time when i start vs.
I'm tired of being provide it every time.
Is there any workaround so that TFS will connect automatically without asking credential every time.
Note: I logged as Normal user and running VS in admin mode by using "Run as".
If you log into your local machine with the same credentials as you are trying to connect to TFS you will get automatic ostrich with active directory. The fact that it is asking for credentials at all is unusual in an active directory configuration. If you are logging into another domain with credentials that are not the same as your local ones then use the windows credential store to save the credentials for the TFS server name or domain name.
I am very new in TFS 2010. I have setup my PC as server. I need to connect the client machine with this server. I have added a Service Account in TFS console. The client machine are connected with this account.
Now, my question is that, is the Service Account is intended to connect the client with server?
Can anyone explain me the purpose of this account?
Also I need to know, how to find(or setup) the TFS admin?
Are you referring to the "TFSSERVICE" service account from the installation guide? That account is used to run various services related to TFS, for example the TFS Task Scheduler. It should have the minimum privileges possible on the machine.
The client should not connect to the server with a service account, they should be using their own account which you grant access to the relevant repositories in TFS. If you connect all clients with the service account, how will you know who checked in each changeset?
You might find the installation guide of use which can be found here. See section entitled "Accounts Required for Installation of Team Foundation Components".
If you are using a domain, you should be able to follow the instructions in this article for how permissions work in TFS. You can allocate permissions to resources from the Team Explorer pane within Visual Studio.
If you're using TFS in a workgroup then it's a little different as you need to set up local accounts for your users. See this article.
How can I configure Visual Studio remote debugging when:
My developer machine is a member of an AD domain, and my username is "DevelopersName".
The "remote" machine is on the same Ethernet segment, but is not part of the domain.
The "remote" machine must run software under "RemoteUserName".
Most documentation I can find suggests that you need have both machines in the same domain and with identical usernames. That's not possible here.
I could possibly add my username to "remote", but the software still needs to run under "RemoteUserName.
If it helps, I could add 2nd network card to my developer machine and directly connect the "remote" machine.
Using VS2008, but will be moving soon to VS2010.
Thank you.
Sorry, but I've just spent the last 10 hours trying to debug your exact problem. My findings are not good.
You need to get your accounts synced, especially if you are using your remote app to connect to other systems in your SOA environment, ie: Sharepoint, AD.
You can to some extent get remote debugging to work, if you create an account on your local machine with the same name as that of your remote machine (lets do it like this rather rather than working with the domain account).
You then need to make sure the remote service is running under this account, and its a member of the administrators group. And by this I mean hold down control, and right click run as - with the remote debugger, and select the user (not required if remote server is logged in as the required user).
Run the wizard it will open the required ports, use Authentication, because non authentication won't debug managed code. Breakpoints are never met, and there is nothing you can do about this.
On your local dev machine, log off your domain account, and log onto the local account with matching name as the account on server thats running the remote service.
Now you stand a change of remote debugging. If you can't do any of the above, sorry there is no workaround, its entirely dependent on the user account and having the right permissions.
If you don't want to create a local account, try starting our debugger via command prompt using the following command:
runas /user:[user#machinename] /netonly [debugger.exe]
E.g.:
runas /user:john#mypc123 /netonly devenv.exe
I assume it's managed debugging you're talking about (for native debugging there's a remote debugging solution with no authentication). In this case, I would suggest that you use a local user to launch the debugger on your machine. If this local user's name and password match "RemoteUserName"'s name and password, it should work.
(Note that this does not preclude you from using the AD account to log in to your workstation, you just need to set up another account and use runas to launch Visual Studio.)
I am just starting out with Team Foundation Server 2008, and one of the hangups I've experienced is the following:
I create a new Team Project, as well as a Project Portal (which I believe is just a Sharepoint site). When I go to view the project portal in the browser, it prompts me for a username and password. I want it to use digest authentication (meaning it just uses my current domain credentials). I have this working on the Team Foundation site itself, but I cannot seem to get it working at all on the Project Portal sites that TFS creates for me.
Any thoughts? I've already attempted to set digest authentication on the Default Website as well as the Sharepoint Central Administration (v3) site, both of which did not fix my problem.
EDIT: I am running this on Windows Server 2003.
Check whether the pool account running the TFS sites is in your domain.
Your host may also not be in the 'Safe sites' / 'Intranet Zone' config in Internet Explorer, you can make it a trusted site and mark in the advanced options to send username and password.