I am having trouble connecting to TFS on my Azure development machine. The connection issue started happening this morning. Prior to today, it had been working perfectly. This is my work's TFS server which I know I have access to and that my credentials are valid and working. I have confirmed this by connecting to TFS via a web browser and on other machines via Visual Studio 2012. Only the Azure box seems to be affected.
Details about the machine:
Windows Server 2008
SQL Server 2012
VS2012 w/update 3
IE10
I have tried connecting on and off the work VPN, with the http and https endpoints that are available.
Here are the steps I have taken to try to remedy the issue:
Updated VS2012 to update 3
Cleared all cache and stored passwords in IE10
Reset IE10 to default settings
Cleared all TFS stored credentials in the windows credential manager
Cleared all Visual Studio cache files - TFS cache, VS cache, etc...
basically the steps in this link
Reboot the VM multiple times
Verified that I can access TFS through IE10 successfully on the VM
None of these had any effect. No matter what I do it seems that I cannot get a connection to TFS through VS2012. It keeps giving me the unauthorized / access denied errors.
Any more ideas of what to try? This was just working yesterday. The ONLY changes since yesterday are:
Installation of some office applications - onenote, word, excel, etc.
(it was working in conjunction with these changes yesterday)
Update 3 installed for VS2012
Thanks!
EDIT:
This is getting more interesting. It seems to be a bug with Visual Studio 2012. After submitting a ticket to my support team at work, I discovered that another coworker submitted a ticket with the exact same issue. His connection stopped working yesterday morning as well. He was also on an Azure VM running Server 2008 w/ Visual Studio 2012.
So after putting our heads together for about an hour and getting nowhere, I spun up another Azure VM to check the issue there. This time I created a Server 2012 w/ Visual Studio 2013 preview image. The connection to TFS worked on the first attempt.
This led us to try installing VS2013 preview on our VMs that were experiencing the issue. For both of us, after installing 2013, we were able to connect! What's really strange is that now VS2012 is working again as well... which is great, but I still have no idea what caused it.
When we were experiencing the problem, we had our IT support guy monitor the TFS build server AND the firewall that sits in front of it when we attempted to log in. He saw no login attempts getting through. So when it wasn't working, it appeared as though Visual Studio never even issued the login attempt to the server.
Does anyone have any idea what might be going on here? A bug in Visual Studio maybe? Or perhaps a windows update that affected me and my coworker at the same time? I can't think that the timing of this was a coincidence...
Related
I was going to add a connection to Visual Studio Team Services, I entered the URL and clicked OK button and then this happened:
I waited for 1-2 mins, nothing or no event happened, it is still a white blank page. So I closed it and then this error appeared,
How to fix this? Or is it possible to put credentials on the link/URL?
Use a modern browser. It looks like you're using an unsupported version of Internet Explorer -- VS Team Services supports IE11, nothing earlier.
This mostly happens if you don't enter correct user name and password or your user doesn't have access to TFS server.
1- Try login to TFS outside VS to see whether you have access, which eliminates the access issue if you have.
And you have to be in TFS security group based on here.
If none of these helps, try to run VS with admin privilege.
The Visual Studio uses IE and can't be changed to chrome, you can check this user voice, so you need to upgrade your IE to IE 11.
I've got problems running the Azure Emulator, the web role gets Unhealthy status.
The problems started today after a Windows Update installed several new updates. Yesterday all worked fine.
I've tried to create a new empty Cloud Service project in Visual Studio 2015 with Azure SDK 2.7. The emulator startup dialog loads to 3/4 of the progress bar and when I look into the Compute Emulator the Web role is stated as Unhealthy.
After a while Visual Studio hangs and I have to kill the process.
I've tried the following
Updating Visual Studio
Reinstalled Azure SDK 2.7
Uninstalled all previous versions of the SDK
Restarted the computer several times
No luck whatsoever. I'm running out of ideas and would appreciate some help.
Solved the problem by repairing the Visual Studio installation. Works fine now.
This is the error I get when I try to connect to TFS. The only change that I had made to Windows Live account was to enable "Two-Step verification".
Visual Studio isn't giving me an option to change the credentials in case I may have entered it wrong the first try I made to connect.
I was able to connect to TFS from another system.
Any help would be appreciated.
I was also encountering same error which is resolved after cleaning up cache.
Try after deleting cache from following location in your system :
C:\Users\gaurav1\AppData\Local\Microsoft\Team Foundation
make sure you close all visual studio instances before deleting cache.
Thanks,
Gaurav
I have updated visual studio 2012 last night, this was Visual Studio 2012 Update 4. It was working fine before but now i am unable to connect with tfs server. Please let me know what i am doing wrong?
This is the error:
TF400324: Team Foundation services are not available from server https://myServer.visualstudio.com/defaultcollection.
Technical information (for administrator):
Unable to connect to the remote server
try clearing your cache folder?
C:\Users\XXXX\AppData\Local\Microsoft\Team Foundation
TFS3 is VS2010, TFS4 is VS2012, TFS5 is VS2013
Stop all instances of Visual Studio.
Zip/Rar all the files as a backup, then delete all files except for the backup zip/rar.
Restart Visual Studio and it will recreate all the files and you should be able to connect as shown here:
I followed this steps to get rid of this issue:
Close all instances of Visual Studio.
Open the Task Manager and check if any TFS Services are running. Select each of them and click on End Process Tree.
Browse to the folder below and delete all the contents and folders in
%LocalAppData%\Microsoft\Team Foundation\4.0\Cache
and in
%LocalAppData%\Microsoft\Team Foundation\5.0\Cache
Restart Visual Studio and try triggering build.
If you are switching from one version of TFS to another, you may require repeating this solution again. If you are using older version of TFS, you may have to navigate to
%LocalAppData%\Microsoft\Team Foundation\
and find out the version folder instead of navigating directly. It would be
TFS3 if using VS2010, TFS4 if using VS2012, TFS5 if using VS2013.
Source: TF400324: Team Foundation Services are not available from server
In my case clearing of cache folders didn't work out.
What I also did is enabling SSL in IIS for Team Foundation Server.
Hopefully, StartSSL.com can offer it for free.
Step by step:
On server side:
Cleare cache folders like it described above;
Get the SSL following procedure described here;
Enable SSL for Team foundation server in IIS (netmgr);
Check if your TFS server is available over https (check link https://tfs.your-server, the certificate should be valid and page opened without any warnings);
On client side:
Remove all TFS servers in Visual Studio;
Add your TFS server connection with HTTPS (not HTTP).
Now you are able to work with VS-TFS link.
If the above methods don't work, and in the Output tab shows you have to contact the server administrator, then the TFS is actually down and you are disconnected to it.
I know this is an old thread but the problem still appeared in VS 2013 and TFS 2013.
In my case the IIS on the server side was not running. After starting it VS could immediate connect again.
I've recently uninstalled and re-installed some IBM programs on my computer. Now when I go to connect to TFS, I get the errror:
TF205020.... Configuration system failed to initialize.
In the end I removed my server from my server list and now when I add it, I get the same thing (without the number). This leads me to believe that something is messed up in my Visual Studio instance.
I'm using Visual Studio 2012 and connecting to a TFS 2012 server.
I tried deleting config files under C:\Users\ME\AppData\Local\Microsoft\Team Foundation\4.0\Configuration\VersionControl, but that didn't help.
Thanks for anyone with an idea.
this usually happens if you have a broken web.config file. Check to make sure your machine.config files for v2.0 and v4.0 does not have any any broken tags.