{"id":2781,"date":"2012-11-29T01:58:45","date_gmt":"2012-11-29T01:58:45","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/bharry\/2012\/11\/29\/confirmed-hiccup-upgrading-build-agents-with-update-1\/"},"modified":"2024-04-22T15:09:04","modified_gmt":"2024-04-22T22:09:04","slug":"confirmed-hiccup-upgrading-build-agents-with-update-1","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/bharry\/confirmed-hiccup-upgrading-build-agents-with-update-1\/","title":{"rendered":"Confirmed hiccup upgrading build agents with Update 1"},"content":{"rendered":"<p>We have identified and issue (I\u2019ve seen 2 customer reports) where users get an error configuring build agents after installing TFS 2012 Update 1.\u00a0 The error will say \u201cTF30040: The database is not correctly configured.\u00a0 Contact your Team Foundation Server administrator\u201d<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/bharry\/wp-content\/uploads\/sites\/8\/2012\/11\/2055.clip_image001_thumb_645C78E6.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-15983\" src=\"https:\/\/devblogs.microsoft.com\/bharry\/wp-content\/uploads\/sites\/8\/2012\/11\/2055.clip_image001_thumb_645C78E6.jpg\" alt=\"Image 2055 clip image001 thumb 645C78E6\" width=\"588\" height=\"484\" srcset=\"https:\/\/devblogs.microsoft.com\/bharry\/wp-content\/uploads\/sites\/8\/2012\/11\/2055.clip_image001_thumb_645C78E6.jpg 588w, https:\/\/devblogs.microsoft.com\/bharry\/wp-content\/uploads\/sites\/8\/2012\/11\/2055.clip_image001_thumb_645C78E6-300x247.jpg 300w\" sizes=\"(max-width: 588px) 100vw, 588px\" \/><\/a><\/p>\n<p>It is not actually a problem with the database but rather a problem with what the app tier thinks the database should be.\u00a0 It is the result of a race condition where the server receives a request (from a client, a build agent, etc) while part of the upgrade is still in progress.<\/p>\n<p>This won\u2019t be terribly common but if you get this issue, you can solve it by recycling the TFS server.\u00a0 You can do that with the following commands on the App tier you ran the upgrade on:<\/p>\n<p>iisreset<\/p>\n<p>net stop tfsjobagent<\/p>\n<p>net start tfsjobagent<\/p>\n<p>I apologize for the inconvenience and will let you know if we see any additional issues.\u00a0 We\u2019re working now to see if there\u2019s a way we can mitigate this for future installs of Update 1.<\/p>\n<p>Brian<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have identified and issue (I\u2019ve seen 2 customer reports) where users get an error configuring build agents after installing TFS 2012 Update 1.\u00a0 The error will say \u201cTF30040: The database is not correctly configured.\u00a0 Contact your Team Foundation Server administrator\u201d It is not actually a problem with the database but rather a problem with [&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-2781","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-tfs"],"acf":[],"blog_post_summary":"<p>We have identified and issue (I\u2019ve seen 2 customer reports) where users get an error configuring build agents after installing TFS 2012 Update 1.\u00a0 The error will say \u201cTF30040: The database is not correctly configured.\u00a0 Contact your Team Foundation Server administrator\u201d It is not actually a problem with the database but rather a problem with [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/posts\/2781","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=2781"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/posts\/2781\/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=2781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/categories?post=2781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/tags?post=2781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}