locked
can not connect to TFS 2010 using VS 2005 RRS feed

  • Question

  • Hi Yichun chen,

    I am unable to connect VS 2005 client to TFS 2010. I have installed SP1 for Visual Studio 2005 and have also installed the Forward Compatibility pack for TFS 2010.

    The following error comes when i try to connect:

    TFS31002: Unable to connect to this Team Foundation Server: jakman-w7.

                    Team Foundation Server URL: http://jakman-w7:8080.

                    Possible reasons for failure include:

                    - The Team Foundation Server name , port number or protocol is incorrect.

                    - The Team Foundation Server is offline

                    - Password is expired or incorrect.

     

    I can connect to this TFS server through VS 2008 (with forward compatibilty pack) and VS 2010.

    When I connect through VS 2008 it lets me enter the URL of the server as "http://jakman-w7:8080/tfs" but when I try to connect through VS 2005 it does not allow me to enter forward slashes "/" in the URL.

    • Changed type RKGarg Wednesday, May 12, 2010 11:52 AM
    Wednesday, May 12, 2010 10:45 AM

Answers

  • Hi PKGarg,

    You can install both vs2005 and vs2008 on the same machine.

    I think maybe the installation order is not correct. Please make sure the following installation order:

    1.   VS2005

    2.  Team Explorer2005

    3.   VS2005 SP1

    4. Forward Compatibility Update

    If the order of 2 and 3 is changed over, the error “server name cannot contain "/", ":", or start with http:// or https://” will appear.

    First I recommend you reinstall the Forward Compatibility Update, If it still doesn't work, uninstall the vs2005 and reinstall them according the above order.

    If you have any question, please feel free to let me know!

    Best Regards,

    Cathy Kong

    • Marked as answer by RKGarg Wednesday, May 19, 2010 5:38 AM
    Wednesday, May 19, 2010 2:48 AM
    Moderator

All replies

  • Did you install the forward compatibiliy update for vs 2005?

    http://www.ewaldhofman.nl/post/2010/04/29/How-to-connect-VS-2003-VS-2005-and-VS-2008-to-TFS-2010.aspx


    Ewald - Please remember to mark the replies as answers if they help.

    Ewald Hofman
    Blog: www.ewaldhofman.nl
    Wednesday, May 12, 2010 7:45 PM
  • Hi Ewald,

    VS 2005, SP1 and forward compatability packs are installed on my machine. I can connect to the TFS 2010 server using the VS 2008 and forward compatability pack for VS 2008. But I am unable to connect using VS 2005 with compatability pack. I installed the forward compatabillity pack from

    http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=22215e4c-af6f-4e2f-96df-20e94d762689

    I am attaching the info what is installed on my machine for visual studio 2005:

     

    Microsoft Visual Studio 2005
    Version 8.0.50727.762  (SP.050727-7600)
    Microsoft .NET Framework
    Version 2.0.50727 SP2

    Installed Edition: Enterprise

    Microsoft Visual C# 2005   77642-113-3000004-41001
    Microsoft Visual C# 2005

    Microsoft Visual C++ 2005   77642-113-3000004-41001
    Microsoft Visual C++ 2005

    Microsoft Visual Studio Tools for Office   77642-113-3000004-41001
    Microsoft Visual Studio Tools for the Microsoft Office System

    Microsoft Web Application Projects 2005   77642-113-3000004-41001
    Microsoft Web Application Projects 2005
    Version 8.0.50727.762

    Visual Studio 2005 Team Edition for Developers   77642-113-3000004-41001
    Microsoft Visual Studio 2005 Team Edition for Software Developers

    Visual Studio 2005 Team Explorer   77642-113-3000004-41001
    Microsoft Visual Studio 2005 Team Explorer
    Version 8.0.50727.147

    Microsoft Visual Studio 2005 Team Edition for Software Developers - ENU Service Pack 1 (KB926601)  
    This service pack is for Microsoft Visual Studio 2005 Team Edition for Software Developers - ENU.
    If you later install a more recent service pack, this service pack will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/926601

    Microsoft Visual Studio Team System Process Editor   1.0
    Process Editor for Microsoft Visual Studio Team Foundation Server, Version 1.0

    Security Update for Microsoft Visual Studio 2005 Team Edition for Software Developers - ENU (KB971090)  
    This Security Update is for Microsoft Visual Studio 2005 Team Edition for Software Developers - ENU.
    If you later install a more recent service pack, this Security Update will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/971090

    Security Update for Microsoft Visual Studio 2005 Team Edition for Software Developers - ENU (KB973673)  
    This Security Update is for Microsoft Visual Studio 2005 Team Edition for Software Developers - ENU.
    If you later install a more recent service pack, this Security Update will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/973673

    Team Foundation Server Power Tools   1.2
    Power Tools that extend the Team Foundation Server integration with Visual Studio.

    Update for Microsoft Visual Studio 2005 Team Edition for Software Developers - ENU (KB979258)  
    This Update is for Microsoft Visual Studio 2005 Team Edition for Software Developers - ENU.
    If you later install a more recent service pack, this Update will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/979258

    Xoreax IncrediBuild   3.32 (build 950)
    Xoreax IncrediBuild 3.32 (build 950)

     

     

    Please help me in connecting to TFS 2010 using VS 2005.

    Thanks

    Rakesh

    Thursday, May 13, 2010 4:45 AM
  • Hi,

    You will need to type the full url to the TFS 2010 server while connecting from Team Explorer 2005 or Team Explorer 2008 after installing the forward compatibility patch for th same. The url would look something like: http://tfs2010:8080/tfs/DefaultCollection.


    Please remember to mark the replies as answers and vote as helpful if it provides the solution.
    • Proposed as answer by Preston Park Monday, February 14, 2011 3:53 AM
    Thursday, May 13, 2010 5:25 AM
  • Hi sanjeev,

    Thanks a lot for the reply.

    I already tried the same.

    When I connect through VS 2008 it lets me enter the URL of the server as "http://jakman-w7:8080/tfs" but when I try to connect through VS 2005 it does not allow me to enter forward slashes "/" in the URL. The error comes as

    server name cannot contain "/", ":", or start with http:// or https://.

    Please suggest some other alternate.

     

    Thanks

    Rakesh

    • Proposed as answer by MrGenius Tuesday, December 27, 2011 3:46 PM
    Thursday, May 13, 2010 6:00 AM
  • Hi,

    Looks like you may have installed the forward compatibility patch for VSTS 2008 and not for VSTS 2005. Kindly download the forward compatibility patch for VSTS 2005 from the below url and then check once again. Also please make sure that you have installed the VSTS 2005 SP1 prior to installing the patch.

    Visual Studio Team System 2005 Service Pack 1 Forward Compatibility Update for Team Foundation Server 2010 (Installer)http://www.microsoft.com/downloads/details.aspx?FamilyID=22215e4c-af6f-4e2f-96df-20e94d762689&displaylang=en


    Please remember to mark the replies as answers and vote as helpful if it provides the solution.
    • Edited by Sanjeev.Kumar Thursday, May 13, 2010 7:44 AM correction
    Thursday, May 13, 2010 7:44 AM
  • Hi Sanjeev,

    I have installed the correct compatibility pack and SP1 was installed prior to the compatibility pack.

    To confirm, you can check the log above in this forum.

    Thanks & Regards

    Rakesh

    Thursday, May 13, 2010 9:40 AM
  • Hello all we have also the specified problem with excactly the same conditions as above

    we appricate any help in advance !!

    Monday, May 17, 2010 8:35 AM
  • Hi,

    What VS2005 version did you install?

    How to Obtain Visual Studio 2005 SP1

    Visual Studio 2005 SP1 is available at the following locations:

    Visual Studio 2005 Team Suite SP1
    (http://go.microsoft.com/fwlink/?LinkId=80651) This download installs the service pack for Microsoft Visual Studio 2005 Standard, Professional, Team Editions.

    Visual Studio 2005 Team Foundation Server SP1
    (http://go.microsoft.com/fwlink/?LinkId=80652)

    This download installs the service pack for Microsoft Visual Studio 2005 Team Foundation Server.

    Visual Studio 2005 Express Editions SP1
    (http://go.microsoft.com/fwlink/?LinkId=80653) This download installs the service pack for Microsoft Visual Studio 2005 Express Editions.

    Before you install the Forward Compatibility Update make sure you have the VS 2005 SP1 installed.

    Hope it helps! If you have any concern, please feel free to let me know!

    Best Regards,

    Cathy Kong

     

     

    Monday, May 17, 2010 1:47 PM
    Moderator
  • Hello Again.

    is that post  rellevant to the problem ?

    http://geekswithblogs.net/hinshelm/archive/2009/10/20/configuring-visual-studio-2010-team-foundation-server-on-vista-in.aspx

    it says that while configuring tfs 2010 you need to remove the virtual direcory definition. In order to be able to connect to 2010 server.

    thanks !!

    Monday, May 17, 2010 9:04 PM
  • Hi cathy,

    I installed the same service packs as you mentioned in the mail but not able to connect the TFS 2010 server.

    When I connect through VS 2008 it lets me enter the URL of the server as "http://app2010:8080/tfs" but when I try to connect through VS 2005 it does not allow me to enter forward slashes "/" in the URL. The error comes as

    server name cannot contain "/", ":", or start with http:// or https://.

    Please check is this a bug in the compatibility pack or I m doing something wrong.

    Thanks in advance.


    Tuesday, May 18, 2010 9:26 AM
  • Hi,

    both visual studio 2005 and visual studio 2008 are installed on the same machine. I am able to connect to the TFS 2010 with vs 2008 after installing fwd compatibility pack, but not able to connect to the TFS 2010 with vs 2005 after installing fwd compatibility pack.

    as I mentioned both vs 2005 and vs 2008 are on the same machine, could this be a problem?

    Tuesday, May 18, 2010 12:41 PM
  • Hi PKGarg,

    You can install both vs2005 and vs2008 on the same machine.

    I think maybe the installation order is not correct. Please make sure the following installation order:

    1.   VS2005

    2.  Team Explorer2005

    3.   VS2005 SP1

    4. Forward Compatibility Update

    If the order of 2 and 3 is changed over, the error “server name cannot contain "/", ":", or start with http:// or https://” will appear.

    First I recommend you reinstall the Forward Compatibility Update, If it still doesn't work, uninstall the vs2005 and reinstall them according the above order.

    If you have any question, please feel free to let me know!

    Best Regards,

    Cathy Kong

    • Marked as answer by RKGarg Wednesday, May 19, 2010 5:38 AM
    Wednesday, May 19, 2010 2:48 AM
    Moderator
  • Hi Cathy,

    Thanks a lot for the solution. The installation order was the problem. my installation order was:

    1. VS 2005

    2. VS 2005 SP1

    3. VS 2005 team explorer

    4. the forward compatibility pack

     

    Thanks again for the solution.

    Regards

    Rakesh

    Wednesday, May 19, 2010 5:40 AM
  • Hi, I have Visual Studio 2005 Professional in Spanish, I installed the unique Team Explorer in Microsoft Downloads, which is in English, and then the SP1 (in Spanish).

    When I tried to install vs2005 gdr, it doesn't recognize the vs2005 installed in my machine, so I can't install that to connect to TFS2010.

    Steps: VS2005 Pro > TE2005 > VS2005 SP1 > GDR

    Is the language the problem :S? or the GDR is not compatible with Pro editions (I couldn't believe that because TE2005 is a different component to VS)

    Thanks for your attention

    Tuesday, November 23, 2010 11:06 PM
  • Hi,

    I cannot tell for the Spanish version but, my recent experience was the same thing with the French edition of "Visual Studio 2005 Team Edition for Software Developper"...

    First (in the French edition préinstalled on my computer), it didn't work following the steps :
          (uninstall VS2005 SP1 > uninstall TE2005 > TE2005 > VS2005 SP1 > GDR).

    Then (in the French edition), I added the steps :
          (uninstall VS2005 SP1 > uninstall TE2005 > uninstall VS2005 > VS2005 > TE2005 > VS2005 SP1 > GDR)

    ... didnt'work.

    So (now in the English edition), I went to the steps :
          (uninstall VS2005 SP1 > uninstall TE2005 > uninstall VS2005 > VS2005 > TE2005> VS2005 SP1 > GDR)

    ... and suddenly, it worked! 

    I now have a member in my team wich is doing the same this morning (he is now into the second step...) : we will see but, by now, it seems to be the same behaviour so, I think it was not a single problem only on my computer...

    Microsoft, do you have any input on this ?

    It would not be very enjoyable to force every member in my team to completly reinstall VS2005, and force them to switch language.

     

    Thursday, November 25, 2010 2:25 PM
  • Yep, Nico, the problem is the language :S (i couldn't believe that!!!!) .

    Microsoft Download has only the english version of Team Explorer 2005. I had to download TFS 2005 in spanish and install TE in this language, so the gdr setup worked.

    Well the answer to this topic is use the same language: VS2005 and TE2005. (well SP1 obviously). GDR is INTL.

    Thanks for your attention.

    • Proposed as answer by Nico F Friday, January 7, 2011 8:29 PM
    Thursday, November 25, 2010 11:21 PM
  • I'm haveing issue connecting to the TFS.

    I'm on a Windows Vista PC.

    I installed the following in the following order.

    1. Visual Studio 2005 Team Suite

    2. Team Explorer 2005

    3. Service pack SP1: VS80sp1-KB926601-X86-ENU

    4. Service pack: VS80sp1-KB932232-X86-ENU (Since it's a Vista Machine)

    5. Service pack: VS80sp1-KB960152-X86-INTL

    6. Forward Compatibility Update: VS80sp1-KB979258-X86-INTL

    When I try to connect to the TFS I get: server name cannot contain "/", ":", or start with http:// or https://”

    I have been trying to get this working all week. I did the right-click run as administer option when installing service packs.

    PLEASE GIVE ME AN ANSWER.

     

     


    EDS
    Friday, August 26, 2011 9:21 PM
  • Did you enter the address as

    http://myserver:8080/tfs/defaultcollection


    Please remember to mark the replies as answers if they help.
    Monday, August 29, 2011 12:08 PM
  • Yes I did.

    I read someplace that Service pack SP1: VS80sp1-KB926601-X86-ENU should be installed before Service pack: VS80sp1-KB932232-X86-ENU (Since it's a Vista Machine) so I deinstalled both and changed the order of the install of those service packs - same result.


    EDS
    Monday, August 29, 2011 1:10 PM
  • And after the installation of sp1, did you install the forward compatibility pack?
    Please remember to mark the replies as answers if they help.
    Monday, August 29, 2011 2:40 PM
  • Yes I did
    EDS
    Monday, August 29, 2011 4:57 PM
  • If you still get below error to connect to TFS 2010 after installing the patch:

    server name cannot contain "/", ":", or start with http:// or https://

    Please follow below steps:

    1. Uninstall the Visual Studio Team System 2005 Service Pack 1 Forward Compatibility Update for Team Foundation Server 2010
    2. Re-Apply Visual Studio 2005 Service Pack 1 (to patch the Team Explorer component)
    3. Re-install the Visual Studio Team System 2005 Service Pack 1 Forward Compatibility Update for Team Foundation Server 2010

    • Edited by j_bon Thursday, February 21, 2013 9:13 AM
    Thursday, February 14, 2013 7:02 AM
  • The forward compatibility patch should allow slashes.

    As others have said, with VS2005 to TFS 2010, you need to specify the DefaultCollection.

    I found this article useful:

    http://publicityson.blogspot.com.au/2010/08/using-vs2008-vs2005-with-tfs-2010.html

    Thursday, April 11, 2013 2:22 AM
  • I fond the resolution for thsi already.

    Try if below thing works for you.

    If you get below error after adding TFS 2010 server connection details:

    Server name cannot contain "/", ":", or start with http:// or https://

    Then follow below solution:

    · Close VS 2005.

    · Go to Registry Editor.

    · Find key “HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\TeamFoundation\Servers” and at this location just add string value.

    · Add the string value as 

    · Retry the connectivity.


    • Edited by j_bon Friday, April 12, 2013 11:41 AM
    Friday, April 12, 2013 11:39 AM
  • Already ,I have found the resolution for this....

    Thnx for this article.


    • Edited by j_bon Friday, April 12, 2013 11:44 AM
    Friday, April 12, 2013 11:43 AM