{"id":592,"date":"2008-08-07T00:56:07","date_gmt":"2008-08-07T05:56:07","guid":{"rendered":"http:\/\/blogs.devhorizon.com\/reza\/?p=592"},"modified":"2008-08-07T01:04:41","modified_gmt":"2008-08-07T06:04:41","slug":"fun-with-remote-tfs-connectivity-in-vs-team-suit-2008","status":"publish","type":"post","link":"https:\/\/blogs.devhorizon.com\/reza\/2008\/08\/07\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\/","title":{"rendered":"Fun with remote TFS connectivity in VS Team Suit 2008"},"content":{"rendered":"<p>Yes, the <a href=\"https:\/\/blogs.devhorizon.com\/reza\/?p=591\">story <\/a>continues and I am having fun!!! \ud83d\ude42<\/p>\n<p> <strong>History<\/strong>: I have my TFS server hosted in US. It was initially provisioned as an standalone server and obviously there was a local administrator account(dhtfs\\administrator). Let&#8217;s say , we chose &#8220;G@dBle$$America&#8221; for admin&#8217;s password. Later on , we joint the TFS machine to our domain (dhdc)\u00a0 and exposed it via https to our remote developers for two main reasons:<\/p>\n<p> 1) We (myself and our project manager) could take advantage of TFS notifications sent to our exchange accounts.<\/p>\n<p> 2) Our remote developers can check-in , check out without having to VPN to our network and authenticating against our domain controller  (dhdc).<\/p>\n<p> As I aluuded to in the previous post, we built a base windows 2k8 server and sysprepped it to be able to roll it up on our VM and non-VM machines. Again, we used the same favorite password (G@dBle$$America) for the local administrator account (machinename\\administrator) for the base sysprep image.<\/p>\n<p> <strong>Issue1:<\/strong>\u00a0 In *some* of the virtual machines (x64) provisioned from the same sysprep image (x64 ) . After I took care of the SharePoint issue (see number 4 in this <a href=\"https:\/\/blogs.devhorizon.com\/reza\/?p=591\">post<\/a>) and when developers tried to connect to our Team Foundation Server source control from the Team Explorer 2008 client installed on each machine., the following error appeared:<\/p>\n<p> Unexpected error encountered. It is recommended that you restart the application as soon as possible.<br \/>\n Error: No such interface supported<br \/>\n File: vsee\\lib\\vscommodule\\vscommod.cpp<br \/>\n Line number:173<\/p>\n<p> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/farm4.static.flickr.com\/3282\/2739964938_d7eab47717_o.png\" alt=\"TFSError\" width=\"388\" height=\"186\" \/><\/p>\n<p> Was this a corrupted Team suit installation?Answer is No! because I found this <a href=\"http:\/\/support.microsoft.com\/kb\/954668\">KB article<\/a> , tried the resolution and it solved the issue.<\/p>\n<p> 1. Open a command prompt.<br \/>\n 2. Navigate to the following folder:<br \/>\n &#8220;%programfiles%\\Microsoft Visual Studio 9\\Common7\\IDE\\&#8221;<br \/>\n <strong>Note<\/strong>: in x64 machines (and since VS is still a 32-bit app), &#8220;%programfiles% is Program Files (x86)<br \/>\n 3. Type this : devenv.exe \/resetuserdata<\/p>\n<p> <strong> Issue2:<\/strong> In *all* of the virtual machines (x64) , developers couldn&#8217;t use thier credentials to connect to the TFS.\u00a0 Issue was when they added the TFS server\u00a0 (Tools menu&#8211;&gt; Connect to Team Foundation Server&#8230;), TFS didn&#8217;t challenge them to enter their username and password. Something was being cached , but didn&#8217;t I just flush out the current user&#8217;s data? We did a sample check-in , check-out and noticed that actions are performed under the &#8220;administrator&#8221; account , but which administrator account is this? We were not logged in to the domain, so it couldn&#8217;t be dhdc\\administrator for sure.<\/p>\n<p> Changed the TFS machine&#8217;s local administrator (dhtfs\\administrator) password and we immediately got the credential prompt on remote clients. So the issue was the NTLM pass-through authentication which was mapping VM&#8217;s local admin (spvm2\\administrator) to the TFS&#8217;s local admin (dhtfs\\administrator) &#8211; as they were using the same password.<\/p>\n<p> TFS&#8217;s local admin (dhtfs\\administrator) was part of BUILTIN\\administrators which in turn was a member of [SERVER]\\Team Foundation Administrators group. That&#8217;s how the TFS machine&#8217;s\u00a0 local admin (dhtfs\\administrator)  ended up as a high privliaged user in TFS. Here is a diagram of how mapping took place :<\/p>\n<p> <a href=\"http:\/\/farm3.static.flickr.com\/2375\/2740918820_d34c35247c_o.png\" title=\"VisioDiagramSnagit by bahrez82, on Flickr\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/farm3.static.flickr.com\/2375\/2740918820_d34c35247c_o.png\" alt=\"VisioDiagramSnagit\" width=\"500\" height=\"346\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yes, the story continues and I am having fun!!! \ud83d\ude42 History: I have my TFS server hosted in US. It was initially provisioned as an standalone server and obviously there was a local administrator account(dhtfs\\administrator). Let&#8217;s say , we chose &#8220;G@dBle$$America&#8221; for admin&#8217;s password. Later on , we joint the TFS machine to our domain [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[],"class_list":["post-592","post","type-post","status-publish","format-standard","hentry","category-team-foundation-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Fun with remote TFS connectivity in VS Team Suit 2008 - Reza Alirezaei&#039;s Blog %<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blogs.devhorizon.com\/reza\/2008\/08\/07\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Reza Alirezaei\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/08\\\/07\\\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/08\\\/07\\\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\\\/\"},\"author\":{\"name\":\"Reza Alirezaei\",\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/#\\\/schema\\\/person\\\/cdbb24d283697a65951cb4a14e474938\"},\"headline\":\"Fun with remote TFS connectivity in VS Team Suit 2008\",\"datePublished\":\"2008-08-07T05:56:07+00:00\",\"dateModified\":\"2008-08-07T06:04:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/08\\\/07\\\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\\\/\"},\"wordCount\":521,\"commentCount\":1,\"image\":{\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/08\\\/07\\\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/farm4.static.flickr.com\\\/3282\\\/2739964938_d7eab47717_o.png\",\"articleSection\":[\"TFS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/08\\\/07\\\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/08\\\/07\\\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\\\/\",\"url\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/08\\\/07\\\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\\\/\",\"name\":\"Fun with remote TFS connectivity in VS Team Suit 2008 - Reza Alirezaei's Blog %\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/08\\\/07\\\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/08\\\/07\\\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/farm4.static.flickr.com\\\/3282\\\/2739964938_d7eab47717_o.png\",\"datePublished\":\"2008-08-07T05:56:07+00:00\",\"dateModified\":\"2008-08-07T06:04:41+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/#\\\/schema\\\/person\\\/cdbb24d283697a65951cb4a14e474938\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/08\\\/07\\\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/2008\\\/08\\\/07\\\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\\\/#primaryimage\",\"url\":\"https:\\\/\\\/farm4.static.flickr.com\\\/3282\\\/2739964938_d7eab47717_o.png\",\"contentUrl\":\"https:\\\/\\\/farm4.static.flickr.com\\\/3282\\\/2739964938_d7eab47717_o.png\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/#website\",\"url\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/\",\"name\":\"Reza Alirezaei's Blog\",\"description\":\"Blogging from the field!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/#\\\/schema\\\/person\\\/cdbb24d283697a65951cb4a14e474938\",\"name\":\"Reza Alirezaei\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3ba940d84e0ecb909e62e93df4c56daf0395c7e53c914467ab2ee73124a7d7b6?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3ba940d84e0ecb909e62e93df4c56daf0395c7e53c914467ab2ee73124a7d7b6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3ba940d84e0ecb909e62e93df4c56daf0395c7e53c914467ab2ee73124a7d7b6?s=96&d=mm&r=g\",\"caption\":\"Reza Alirezaei\"},\"url\":\"https:\\\/\\\/blogs.devhorizon.com\\\/reza\\\/author\\\/rezaa\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fun with remote TFS connectivity in VS Team Suit 2008 - Reza Alirezaei's Blog %","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blogs.devhorizon.com\/reza\/2008\/08\/07\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\/","twitter_misc":{"Written by":"Reza Alirezaei","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blogs.devhorizon.com\/reza\/2008\/08\/07\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\/#article","isPartOf":{"@id":"https:\/\/blogs.devhorizon.com\/reza\/2008\/08\/07\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\/"},"author":{"name":"Reza Alirezaei","@id":"https:\/\/blogs.devhorizon.com\/reza\/#\/schema\/person\/cdbb24d283697a65951cb4a14e474938"},"headline":"Fun with remote TFS connectivity in VS Team Suit 2008","datePublished":"2008-08-07T05:56:07+00:00","dateModified":"2008-08-07T06:04:41+00:00","mainEntityOfPage":{"@id":"https:\/\/blogs.devhorizon.com\/reza\/2008\/08\/07\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\/"},"wordCount":521,"commentCount":1,"image":{"@id":"https:\/\/blogs.devhorizon.com\/reza\/2008\/08\/07\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\/#primaryimage"},"thumbnailUrl":"https:\/\/farm4.static.flickr.com\/3282\/2739964938_d7eab47717_o.png","articleSection":["TFS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blogs.devhorizon.com\/reza\/2008\/08\/07\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blogs.devhorizon.com\/reza\/2008\/08\/07\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\/","url":"https:\/\/blogs.devhorizon.com\/reza\/2008\/08\/07\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\/","name":"Fun with remote TFS connectivity in VS Team Suit 2008 - Reza Alirezaei's Blog %","isPartOf":{"@id":"https:\/\/blogs.devhorizon.com\/reza\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blogs.devhorizon.com\/reza\/2008\/08\/07\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\/#primaryimage"},"image":{"@id":"https:\/\/blogs.devhorizon.com\/reza\/2008\/08\/07\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\/#primaryimage"},"thumbnailUrl":"https:\/\/farm4.static.flickr.com\/3282\/2739964938_d7eab47717_o.png","datePublished":"2008-08-07T05:56:07+00:00","dateModified":"2008-08-07T06:04:41+00:00","author":{"@id":"https:\/\/blogs.devhorizon.com\/reza\/#\/schema\/person\/cdbb24d283697a65951cb4a14e474938"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blogs.devhorizon.com\/reza\/2008\/08\/07\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blogs.devhorizon.com\/reza\/2008\/08\/07\/fun-with-remote-tfs-connectivity-in-vs-team-suit-2008\/#primaryimage","url":"https:\/\/farm4.static.flickr.com\/3282\/2739964938_d7eab47717_o.png","contentUrl":"https:\/\/farm4.static.flickr.com\/3282\/2739964938_d7eab47717_o.png"},{"@type":"WebSite","@id":"https:\/\/blogs.devhorizon.com\/reza\/#website","url":"https:\/\/blogs.devhorizon.com\/reza\/","name":"Reza Alirezaei's Blog","description":"Blogging from the field!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blogs.devhorizon.com\/reza\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blogs.devhorizon.com\/reza\/#\/schema\/person\/cdbb24d283697a65951cb4a14e474938","name":"Reza Alirezaei","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3ba940d84e0ecb909e62e93df4c56daf0395c7e53c914467ab2ee73124a7d7b6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3ba940d84e0ecb909e62e93df4c56daf0395c7e53c914467ab2ee73124a7d7b6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3ba940d84e0ecb909e62e93df4c56daf0395c7e53c914467ab2ee73124a7d7b6?s=96&d=mm&r=g","caption":"Reza Alirezaei"},"url":"https:\/\/blogs.devhorizon.com\/reza\/author\/rezaa\/"}]}},"_links":{"self":[{"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/posts\/592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/comments?post=592"}],"version-history":[{"count":0,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/posts\/592\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/media?parent=592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/categories?post=592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/tags?post=592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}