{"id":9771,"date":"2007-02-08T07:49:00","date_gmt":"2007-02-08T07:49:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/bharry\/2007\/02\/08\/problems-installing-tfs-sp1\/"},"modified":"2018-08-14T00:34:18","modified_gmt":"2018-08-14T00:34:18","slug":"problems-installing-tfs-sp1","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/bharry\/problems-installing-tfs-sp1\/","title":{"rendered":"Problems installing TFS SP1"},"content":{"rendered":"<p>For a while now I&#8217;ve been seeing people struggling with some TFS SP1 install issues and I&#8217;ve been silent about it for too long.&nbsp; I was waiting for my team to investigate the issues and compile a summary.&nbsp; I appologize for not speaking up about it sooner.&nbsp; The vast majority of issues come down to a tool we have called TFSQuiesce.exe.&nbsp; The purpose of this tool is to &#8220;shutdown&#8221; TFS while we perform the SP1 upgrade and restart it when we are done.&nbsp; The biggest set of issues with it are that, for some reason, it does not always shutdown all services and it does not always restart&nbsp;them properly &#8211; leaving your server in an inoperable state.&nbsp; The good news is that it is almost always easy to recover from.&nbsp; The bad news is that it makes us look stupid and pisses people off :(. I honestly can&#8217;t tell you how we missed this set of issues.&nbsp; We tested the SP1 upgrade process for months and didn&#8217;t hit these issues.&nbsp; We didn&#8217;t hear about them in the SP1 Beta period.&nbsp; We still don&#8217;t know all of the causes.&nbsp; We&#8217;re continuing to work on it, but in the mean time, here is all of the information we have.<\/p>\n<p class=\"MsoNormal\"><b>Customer Scenarios<\/p>\n<p><\/b><\/p>\n<p class=\"MsoNormal\">The following scenarios describe the vast majority of issues we have seen around SP1.&nbsp; One important statistic is that we have had zero cases of data-loss.&nbsp;\n  <\/p>\n<table class=\"MsoNormalTable\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\">\n<tbody>\n<tr>\n<td class=\"\" valign=\"top\" width=\"64\">\n<p class=\"MsoNormal\"><b>&nbsp;<\/p>\n<p><\/b><\/p>\n<\/td>\n<td class=\"\" valign=\"top\" width=\"156\">\n<p class=\"MsoNormal\"><b>Issue<\/p>\n<p><\/b><\/p>\n<\/td>\n<td class=\"\" valign=\"top\" width=\"246\">\n<p class=\"MsoNormal\"><b>Customer Impact<\/p>\n<p><\/b><\/p>\n<\/td>\n<td class=\"\" valign=\"top\" width=\"197\">\n<p class=\"MsoNormal\"><b>Workarounds\/Next Steps<\/p>\n<p><\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"\" valign=\"top\" width=\"64\">\n<p class=\"MsoNormal\">1<\/p>\n<\/td>\n<td class=\"\" valign=\"top\" width=\"156\">\n<p class=\"MsoNormal\">SP1 <b>fails<\/b> to install on a SQL Cluster<\/p>\n<\/td>\n<td class=\"\" valign=\"top\" width=\"246\">\n<p class=\"MsoNormal\"><span><span>&middot;<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span>Blocked from installing SP1 or any other DT patches.<\/p>\n<\/td>\n<td class=\"\" valign=\"top\" width=\"197\">\n<p class=\"MsoNormal\"><span><span>&middot;<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span>None.&nbsp; Look for a patch\/work around&nbsp;coming in the next couple of weeks.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"\" valign=\"top\" width=\"64\">\n<p class=\"MsoNormal\">2<\/p>\n<\/td>\n<td class=\"\" valign=\"top\" width=\"156\">\n<p class=\"MsoNormal\"><span><span>&middot;<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span>SP1 install <b>fails<\/b> and:<\/p>\n<p class=\"MsoNormal\"><span><span>o<span>&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span>TFS databases in single-user mode<\/p>\n<p class=\"MsoNormal\"><span><span>o<span>&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span>IIS in state where remote connections are declined<\/p>\n<\/td>\n<td class=\"\" valign=\"top\" width=\"246\">\n<p class=\"MsoNormal\"><span><span>&middot;<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span>&nbsp;AT won&rsquo;t start an errors reported in Event Log.<\/p>\n<p class=\"MsoNormal\"><span><span>&middot;<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><span lang=\"HU\">Http<\/span><span lang=\"HU\"> <\/span><span lang=\"HU\">403 forbidden error <\/span>with browsers<\/p>\n<p class=\"MsoNormal\"><span><span>&middot;<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><span lang=\"HU\">TF2101 message<\/span> from TE (can&#8217;t connect)<\/p>\n<p class=\"MsoNormal\">&nbsp;<\/p>\n<\/td>\n<td class=\"\" valign=\"top\" width=\"197\">\n<p class=\"MsoNormal\"><span><span>&middot;<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span>To get running (without SP1):<\/p>\n<p class=\"MsoNormal\"><span><span>o<span>&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span>Databases must be manually placed back in multi-user mode.&nbsp; Use SQL Management Studio; right click on each TFS database; select properties; Select the Options page; At the very bottom there is an item&nbsp;called &#8220;restrict access&#8221; &#8211; set it to &#8220;multi_user&#8221;.&nbsp; There is a KB article in the works and should be published soon.<\/p>\n<p class=\"MsoNormal\"><span><span>o<span>&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span>IIS must be manually configured to accept remote connections &#8211; See section 6.9 of the SP1 Known issues doc below.<\/p>\n<p class=\"MsoNormal\"><span><span>&middot;<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span>To install SP1:<\/p>\n<p class=\"MsoNormal\"><span><span>o<span>&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span>Manually put remaining databases in single-user mode and retry installation.&nbsp; Use SQL Management Studio; right click on each TFS database; select properties; Select the Options page; At the very bottom there is an item&nbsp;called &#8220;restrict access&#8221; &#8211; set it to &#8220;single_user&#8221;.&nbsp; This will not always work if other people are trying to use the database at the same time.<\/p>\n<p class=\"MsoNormal\">&nbsp;<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"\" valign=\"top\" width=\"64\">\n<p class=\"MsoNormal\">3<\/p>\n<\/td>\n<td class=\"\" valign=\"top\" width=\"156\">\n<p class=\"MsoNormal\">SP1 install <b>succeeds<\/b> but leaves IIS in state where remote connections are declined<\/p>\n<\/td>\n<td class=\"\" valign=\"top\" width=\"246\">\n<p class=\"MsoNormal\"><span><span>&middot;<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><span lang=\"HU\">Http<\/span><span lang=\"HU\"> <\/span><span lang=\"HU\">403 forbidden error <\/span>with browsers<\/p>\n<p class=\"MsoNormal\"><span><span>&middot;<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><span lang=\"HU\">TF2101 message<\/span> from TE (can&#8217;t connect)<\/p>\n<\/td>\n<td class=\"\" valign=\"top\" width=\"197\">\n<p class=\"MsoNormal\"><span><span>&middot;<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span>IIS must be manually configured to accept remote connections &#8211; See section 6.9 of the SP1 Known issues doc below.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"\" valign=\"top\" width=\"64\">\n<p class=\"MsoNormal\">4<\/p>\n<\/td>\n<td class=\"\" valign=\"top\" width=\"156\">\n<p class=\"MsoNormal\">Users can&rsquo;t uninstall SP1 Beta after installing Quiescing<\/p>\n<\/td>\n<td class=\"\" valign=\"top\" width=\"246\">\n<p class=\"MsoNormal\">The Quiescing logic breaks the Beta from uninstalling but you can&rsquo;t uninstall Quiescing from Add\/Remove programs because it doesn&rsquo;t appear there if SP1 Beta is installed. (A chicken and egg issue.) The SP1 RTM will not allow you to install if the SP1 Beta is installed.<\/p>\n<\/td>\n<td class=\"\" valign=\"top\" width=\"197\">\n<p class=\"MsoNormal\"><span>1.<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span>Run a manual uninstall operation from the command-line.&nbsp; See the steps&nbsp;at the bottom of this post&#8230;<\/p>\n<p class=\"MsoNormal\"><span>2.<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span>&nbsp;Uninstall TFS SP1 Beta &#8211; using Add\/Remove Programs.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"\" valign=\"top\" width=\"64\">\n<p class=\"MsoNormal\">5<\/p>\n<\/td>\n<td class=\"\" valign=\"top\" width=\"156\">\n<p class=\"MsoNormal\">SP1 <b>fails<\/b> to install<\/p>\n<\/td>\n<td class=\"\" valign=\"top\" width=\"246\">\n<p class=\"MsoNormal\">These error are usually due to changes in configuration after RTM installation that our setup does not handle well. In some cases the customers are left with an unusable server.<\/p>\n<\/td>\n<td class=\"\" valign=\"top\" width=\"197\">\n<p class=\"MsoNormal\"><span><span>&middot;<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span>Requires a review of the install logs for more details on the specific error and then ultimately identify the configuration change that broke the installer. <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"MsoNormal\">Here is a link to an <a class=\"\" href=\"http:\/\/msdn2.microsoft.com\/en-us\/teamsystem\/aa948855.aspx\">SP1 Known Issues page<\/a>.&nbsp; Most of these&nbsp;&#8220;issues&#8221; aren&#8217;t new problems with\nSP1 but rather just common issues that people run into with TFS and what you can do about them.&nbsp;<\/p>\n<p class=\"MsoNormal\">We hope to have some more detailed step by step instructions help with this in the next week.&nbsp; We hope to have a patch for TFSQuiesce soon after that.&nbsp; We&#8217;re working hard to address these issue as quickly as we can.&nbsp; I very much appologize for the inconvenience.<\/p>\n<p class=\"MsoNormal\">Brian<\/p>\n<p>Steps for a manual uninstall of TFS SP1 Beta:<\/p>\n<p>1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Uninstall Quiescing with the following command-line. This step only needs to be done if Quiescing was installed before SP1 Beta was uninstalled.(\\vs_setup.msi is the path to the original RTM install&nbsp; media .msi file)<\/p>\n<p>Msiexec.exe \/uninstall {ED6FB172-8DB0-420F-9E81-2B38FFE7D0C3} \/package \\vs_setup.msi<\/p>\n<p>2)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Uninstall SP1 Beta (KB922996) using Add\/Remove Programs.&nbsp; Make sure that &ldquo;Show Updates&rdquo; is checked to see the entry.<\/p>\n<p>3)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Run a repair operation to ensure that the SP1 RTM installer updates all necessary files. (\\vs_setup.msi is the path to the original RTM install&nbsp; media .msi file)<\/p>\n<p>Msiexec.exe \/package \\vs_setup.msi ADDLOCAL=ALL<\/p>\n<p>4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Install SP1 RTM (KB926738)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For a while now I&#8217;ve been seeing people struggling with some TFS SP1 install issues and I&#8217;ve been silent about it for too long.&nbsp; I was waiting for my team to investigate the issues and compile a summary.&nbsp; I appologize for not speaking up about it sooner.&nbsp; The vast majority of issues come down to [&hellip;]<\/p>\n","protected":false},"author":244,"featured_media":14617,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[5],"class_list":["post-9771","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-tfs"],"acf":[],"blog_post_summary":"<p>For a while now I&#8217;ve been seeing people struggling with some TFS SP1 install issues and I&#8217;ve been silent about it for too long.&nbsp; I was waiting for my team to investigate the issues and compile a summary.&nbsp; I appologize for not speaking up about it sooner.&nbsp; The vast majority of issues come down to [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/posts\/9771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/users\/244"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/comments?post=9771"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/posts\/9771\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/media\/14617"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/media?parent=9771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/categories?post=9771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/tags?post=9771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}