Team Foundation Server CLI login - tfs

I'm trying to connect to my company's TFS server from a Linux CLI. I'm using TEE version TEE-CLC-11.0.0. The problem is that the CLI is not authenticating to the domain. I have verified connectivity from another Windows machine using MS Team explorer for VS2012 where I can see the collections and projects on the server using these same credentials.
When I try to connect using the following formats, I do not even get an error message, TF just prints out the whole help menu. I've tried all the login formats listed in the help menu as well as those on http://msdn.microsoft.com/en-us/library/hh190725.aspx#LoginOption
Formats I've tried:
./tf -login:user#domain -server:http://tfs-server:8080/tfs
./tf -login:domain\\user,pass -server:http://tfs-server:8080/tfs
Any ideas?

It's printing the help because you haven't given it a command. What are you trying to do?
Yes, that seems to be the problem - I was not submitting any commands!
I was trying to verify authentication was working first.
Thanks Edward.

Related

UI5 Tooling command "ui5 serve" does start local server in SAP BAS but why can't I connect to it?

I have SAP BTP trial account in which Im trying to run a SAPUI5 application via the SAP Business Application Studio (BAS). I have added nothing fancy to it. Just created one from the one of the many UI5 templates and tried running it from the terminal via the command ui5 serve.
The command does execute without any problems and also provides me with the standard localhost:8080 URL. Im using Firefox since BAS doesn't seem to work with Edge as well as Chrome.
I even get a message popping on the right bottom corner telling me a service is listening to port 8080 with a button that says "open in New Tab" pressing it however does nothing.
Im new to SAP BTP and BAS. Are there more things to configure before running the application? Or perhaps I have to configurate the browser itself? The error message:
I have also had some experience with the Business Application Studio.
You don't work locally here like in VS Code, for example. That's why you can't access it via localhost:8080, but have to use the link that provides the BAS. In this case, something like
port8080-workspaces-....applicationstudio.cloud.sap.
The best thing you can do is to press "Open in new tab" on the screenshot with "A service is listening to port 8080", then you will be redirected to the working link.
Kind regards
Sebastian

Unable to start debugging on the web server. The debugger cannot connect to the remote computer in MVC

I've just started to work on a MVC project. It's a web portal. I've set my sites on my local IIS 6.0
But when I want to start debugging, I get this error:
Unable to start debugging on the web server. The debugger cannot
connect to the remote computer. The debugger was unable to resolve the
specified computer name.
I don't understand that when I want to debug my project locally, what "Remote computer" it's talking about??!!
Please help me guys, this is my first task in this company and I have to overcome this error.
Check all the steps outlined here: https://msdn.microsoft.com/en-us/library/dwesw3ee.aspx?f=255&MSPPError=-2147217396
If you're using a hosts file, make sure you have an entry for the site in question. That was the problem for me, when I encountered this message.
I have similar problem.
My first solution delete url site from iis repositories and project properties write localhost and port number if is it. And debug began working without restart. I also think, may be if add new url in windows host file this can fix this trouble but may be need restat iis or visual studio.
IIS
Project properties

Team Foundation Server 2012 broken web access - Error TF400893

I have installed TFS 2012 Express on my computer but I can't get TFS web access portal to work. If I try to view a page with work items I get error:
TF400893: Team Foundation Server services are not available.
This is most likely caused by a network error.
Please check your connection and try again.
It's weird because other parts of the TFS web portal works (e.g. source) so I don't think it's network error. If I connect to the TFS server from Visual Studio everything is working, so I suppose TFS service is running.
I tried to reinstall TFS, but it didn't help :-(
Any ideas what can be wrong?
Try an other browser. I have used Opera and got the error. Using IE should work.
Try changing the account from Applicaiton Tier on TFS Administration Console to your current domain and user info. The default value is NT AUTHORITY.
You should check for any firewalls or other IPS devices between the browser and the application tier for SQL injection attack rules. WIQL being sent from the browser in the AJAX request looks far too much like regular SQL so gets canned by such rules.
As we were experiencing this issue where I work, I decided to take a network packet capture of the browser traffic on a machine experiencing the problem. This yielded a whole bunch of TCP retransmits on the packet containing the plain-text WIQL. Upon presenting this evidence to the company's network team, they located the offending IPS rule which was triggering on these packets, disabled it for packets targeting the TFS Application tier and the problem was solved.
I just got the same error while adding a comment to a work item which included a SQL Statement to drop some tables.
After changing my language to not include explicit T-SQL "DROP TABLE" syntax, I was able to add the comment. My guess is something trying to prevent SQL injection.

running and testing ejabberd on localhost?

I have installed ejabberd on my HP pavilion (Entertainment laptop running windows 7), during the installation i was prompted to enter the server domain. Since i wanted to experiment on it, i entered "localhost".When i try starting it, the web admin interface shows that an error has ocurred.checking the 3 log files, i cannot find the error. It seems that some ports have been blocked. But No error i find in the logs. How can i get it up and running so that i can test it on localhost using XMMP client or using jabberlang-XMPP driver.
Speaking of jabberlang XMPP erlang client library....Can someone please show me some examples on how u have used it? Also, which parameters can i uncomment or modify in ejabberd's conf file so as to run it on localhost.Should i have specified the server domain explicitly as "127.0.0.1" instead of "locahost" ?
Something on the "oneTeam XMPP client" embeddable in FirefoxI have got my firefox running this client and once i log in, it provides presence information on the friends i have on Gmail, not on the processOne IM free server i created [username#name.p1.im]. But i could chat with these friends of mine direct in their Gmail accounts. I need to understand how i will be able to use this if i install my own ejabberd server. Please remember to point me to resources about jabberlang XMMP client library. Thanks
/joshmuza#gmail.com
Jabberlang is deprecated. If you need an Erlang XMPP library, you should use exmpp.

TFS cannot retrieve the list of team projects

When I trying to access to list of my project from TFS, the error message as following prompting out
TF31001: Team Foundation cannot retrieve the list of team projects from Team Foundation Server 10.0.80.50. The Team Foundation Server returned the following error: Error creating the Web Proxy specified in the 'system.net/defaultProxy' configuration section..
Does anyone facing this problem before and how do you solve it?
Thanks in advance
I got the same error out of sudden. Spent some time with my colleagues playing with different ways of launching Visual Studio 2008 and its configuration settings. I have found a couple of ways to bypass this error, although still don’t know what the original cause is. 1) Start VS with command line like this: devenv.exe /resetaddin. 2) Comment out the system.net setting within the devenv.exe.config. Like this:
<system.net>
<!-- <settings>
<ipv6 enabled="true"/>
</settings>
-->
</system.net>
They both work. I found the second option is more continent. Without this ipv6 setting I am not sure what else may be affected. But, at least I can make an emergency connection to my TFS server to check-in some files.
Team Explorer connects via web service to TFS. It sounds like you have a config issue with the proxy settings in IE that is preventing you from connecting to your server.
Try navigating to one of the web services directly using IE (e.g. http://yourtfsservername:8080/Services/v1.0/ServerStatus.asmx) and see if you get an error. If so, check your proxy settings - if they look OK, see if you can exclude the TFS server from being accessed via the proxy and go direct instead.
John Cheng's answer was so helpful. I changed the devenv.exe.config file like he mentioned and was able to connect to TFS. Before that, I had even tried re-installing Team Explorer to no benefit.

Resources