Unable to connect to remote TFS server from VS2010 - visual-studio-2010

SOLVED: Turns out the people not being able to access TFS via VS2010 were using laptops, I didn't put two and two together, and Symantec Endpoint was blocking the ports required.
Some users cannot get to the TFS 2010 server, secured by SSL, from team explorer but can via IE.
For example, I go into VS2010 SP1 and attempt to add a new server, it sits there for a while and then spits out a dialog that basically tells me "Unable to connect to the remote server". If I enter the exact same URL into IE I get access perfectly.
So
https://tfserver:8088/tfs (custom SSL port number) in IE and I get full access
The same detail entered into the add server results in
Any ideas?

Connect to tfspreview through VS2010, you need to install following things :
VS SP1: http://www.microsoft.com/download/en/details.aspx?id=23691
KB2581206: http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=39070
Edit: These links are no longer available. The update is now only provided through windows update. See here
KB2662296: http://support.microsoft.com/kb/2662296

Related

Unable To Configure Visual Studio 2013 to Connect to Team Foundation Server 2013

I'm trying to connect Visual Studio 2013 to TFS 2013 from a different machine, but it's giving me error:
(TF31002: Unable to connect to this Team Foundation Server).
The Server's IP is working, so the server is online, I've tried things such as turning off Firewall, starting VS as Administrator and it doesn't seem to work.
It's the first time I'm working with TFS, am I missing something?
Thanks in advance.
Try connecting via telnet, e.g telnet yourserver 8080 at the command prompt: this checks if the client has TCP/IP connectivity. Telnet client is not installed by default in Windows, so you may have to turn the corresponding Windows Feature on.
If previous check passes, open the Home page in a browser, e.g. http://yourserver:8080/tfs. If the browser is not configured for Integrated authentication, you will receive a prompt for credential. Insert a valid user and the home page should appear.
Consider which credential you are using: if TFS server is in workgroup, use an account defined on the TFS server; if TFS server is joined to Active Directory, use an account from the same domain. In any case the account must be part of TFS Valid Users group.

Can no longer access TFS from workstation

All of the sudden I can no longer access my TFS 2010 server. It is on the same network as my laptop. I have made no changes to anything. I worked on it one day and then the next day VS2012 and 2010 can't connect. I can also not connect to the web UI from the outside either.
I have VS2010 installed on my server and it can connect just fine. I have looked at my services on my laptop and found nothing about TFS or Visual Studio.
What I have tried.
Restarting the server
Restarting my laptop.
Resetting the TFS user account on my server.
Restarting the web server that TFS runs under.
Checked the server logs for errors.
ipconfig /flushdns
Using VS2010 and VS2012. With all updates.
Turned off Bitdefender firewall.
Firewall on server is turned off.
Ping server name. This works.
RDC into server via same server name. This works.
Connecting to TFS from VS2010 on the server. This works.
I would say this is a DNS issue but I can get to my server just fine except when TFS is involved. It seems like there is a communication issue from an outside source to TFS.
Any ideas on why access from any other source than the server would just stop?
I use Bitdefender too and for my final hope to solve this problem, I went to Control Panel > Uninstall a program > and Repair the Bitdefender, TFS came back!
While Bitdefender was repairing, I was able to access TFS Web site in the same network. Restarted Windows and the problem didn't show up again.
Hope this helps!

Visual Studio 2010 Remote Debug across domains

I'm trying to set up remote debugging across domains. My Windows 7 workstation running Visual Studio 2010 is on one domain and I'm trying to debug an ASP.NET app running in IIS 7 on a Widows 2003 server box in another domain. I have found many instructions on how to set this up, this being the best, most clearly written one: http://blogs.interknowlogy.com/2011/11/16/remote-debugging-from-visual-studio-2010/
However, I can only seem to connect to the remote debugging monitor on the server if Visual Studio is being run as the local user on my workstation, not as the domain user. This creates a number of challenges, such as loss of source control connectivity. When I try to connect using the domain user I get the following error: "Unable to connect to the Microsoft Visaul Studio Remote Debugging Monitor named 'username#servername'. The specified account does not exist." (I have substituted a generic username#servername for the actual values)
I have found a number of sources suggesting this will work with the domain user running VS2010 but have had no luck. Any idea what I might be missing?
Solved
First, i've read #KyleMit's answer on the same question and done all steps.
But, for across domain debugging also need to edit C:\Windows\System32\drivers\etc\hosts file on local computer.
Just add remote computer's ip address like this:
172.172.172.172 SRV-TEST-ADRESS
Where:
172.172.172.172 - ip address of your remote server
SRV-TEST-ADRESS - Server's name from Visual Studio Remote Debugger
Monitor on remote computer
You can know your server's ip address by ipconfig in cmd
After that, i could attach to proccess on remote computer across domain.

How do I get IIS Express to work in Windows 8?

So I've been working at this for about 2 days now and have essentially hit a dead end. I guess the first thing to know is, can IIS Express work in combination with Visual Studio 2010 and Windows 8?
I just got this new laptop in, with Windows 8 pre-installed. I installed Visual Studio 2010 Ultimate, SP1, and MVC 3. I had to enabled .NET Framework 4.0 myself...
I have a project that I transferred from my old computer (windows 7) to this computer. It was set up to run on IIS Express. So when I opened the project, VS2010 said that I was missing some components and asked if I wanted to install them--so it installed IIS Express for me. When I try to run my project, I get a "This page can't be displayed" page in IE. In fiddler, I get
- 302 HTTP localhost:16683 /
- 502 HTTP Tunnel to localhost:443
the SSL URL for the project is https://localhost:44300/
the URL for the project is http://localhost:16683/
If I go to IISExpress in my system tray and select the https link there, it opens the website up just fine. If I select the http link there, it get that "502 HTTP Tunnel to localhost:443" line in fiddler again... Why is it trying to tunnel to localhost:443???
Another thing to note is that I decided to create a test MVC 3 project from scratch to see what IIS Express would do. I set the project to run on IIS without enabling SSL. When I run the project is starts up just fine. When I click the logon link, it tries to redirect to an https link with port 44300...when it shouldn't be. I created a test project for the same purpose on my windows 7 machine, and the project did not do this.
The last thing to note is that after going to the https link for my initial project via the IIS Express tray icon, if I click the logon link for the test project, it now takes me to my initial project's https link... It's as if the projects are crossing over into each other...

Login to remote TFS server from Windows 7 ultimate

I want to login to a remote TFS server from my Windows 7 PC.
I have team explorer 2010 and all the necessary tools installed to connect.
I can connect when I use the credentials from FIREFOX or IE (or any browser).
When I connect from VS 2010, I get the following error:
http://manishkungwani.com/blog/wp-content/uploads/2011/03/Error.jpg
My guess is that the domain name needs to be changed from my PC's name: "MANISH-PC"
Please suggest a way to login to the TFS server from my PC!
You can to try adding the correct credentials to "Manage Windows Credentials" in windows 7: http://www.ewaldhofman.nl/post/2009/05/21/Automatically-connect-to-TFS-under-another-user-account.aspx

Resources