TFS 2008+SP1 upgrade from TFS 2005- Error 29250.Team Build Upgrade failed<p align=left><font face=Arial size=2></font> </p> <p>I've had a problem discussed in <font size=1>thread </font><a title="blocked::http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=3910016&amp;SiteID=1&amp;mode=1" href="http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=3910016&amp;SiteID=1&amp;mode=1"><font color="#800080" size=1>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=3910016&amp;SiteID=1&amp;mode=1</font></a><font size=1>  and <strong><span class=inlineLink><font color="#555555">Buck Hodges</font></span> suggested to install combined TFS 2008+SP1 setup as described in </strong><a title="http://www.woodwardweb.com/vsts/creating_a_tfs.html" href="http://www.woodwardweb.com/vsts/creating_a_tfs.html"><strong>http://www.woodwardweb.com/vsts/creating_a_tfs.html</strong></a><strong> and in the latest </strong><a title="http://www.microsoft.com/downloads/details.aspx?FamilyId=FF12844F-398C-4FE9-8B0D-9E84181D9923&amp;displaylang=en" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=FF12844F-398C-4FE9-8B0D-9E84181D9923&amp;displaylang=en"><font color="#0033cc">Team Foundation Installation Guide</font></a>.</font></p> <p align=left><font size=1>I was able to quickly pass </font> step06_MigrateOpenedWorkItems.sql.resources(that had the error before)</p> <p align=left>But now I have error in step 8<br>Starting execution of steps from step08_CompleteUpgrade.sql.resources<br>An error occurred while upgrading the server <a title="http://MyServer:8080" href="http://MyServer:8080">http://MyServer:8080</a><br>  Details: SQL Error #1<br>SQL Message: Invalid column name 'DropLocationRoot'.<br>SQL LineNumber: 110<br>SQL Source: .Net SqlClient Data Provider<br>SQL Procedure: prc_AddBuild<br>SQL Error #2<br>SQL Message: Invalid column name 'Reason'.<br>SQL LineNumber: 111<br>SQL Source: .Net SqlClient Data Provider<br>SQL Procedure: prc_AddBuild<br>SQL Error #3<br>SQL Message: Invalid column name 'DropLocationRoot'.<br>SQL LineNumber: 188<br>SQL Source: .Net SqlClient Data Provider<br>SQL Procedure: prc_AddBuild<br>SQL Error #4<br>SQL Message: Invalid column name 'Reason'.<br>SQL LineNumber: 199<br>SQL Source: .Net SqlClient Data Provider<br>SQL Procedure: prc_AddBuild</p> <p align=left>System.Data.SqlClient.SqlException: Invalid column name 'DropLocationRoot'.<br>Invalid column name 'Reason'.<br>Invalid column name 'DropLocationRoot'.<br>Invalid column name 'Reason'.<br>   at Microsoft.TeamFoundation.Server.SqlResourceComponent.MapException(SqlException ex, QueryExecutionState queryState)<br>   at Microsoft.TeamFoundation.Server.SqlResourceComponent.MapException(SqlException ex)<br>&quot;Ì<br>   at Microsoft.TeamFoundation.Server.SqlResourceComponent.HandleException(SqlException ex)<br>   at Microsoft.TeamFoundation.Server.SqlResourceComponent.execute(ExecuteType executeType, CommandBehavior behavior)<br>   at Microsoft.TeamFoundation.Server.SqlResourceComponent.ExecuteNonQuery()<br>   at Microsoft.TeamFoundation.Build.Upgrade.Upgrade.ExecuteSqlResourceScripts(IList`1 resourceNames)<br>   at Microsoft.TeamFoundation.Build.Upgrade.Upgrade.Execute()<br>   at Microsoft.TeamFoundation.Build.Upgrade.Program.Main(String args)<br>Exception Data:<br>Key: HelpLink.ProdName, Value: Microsoft SQL Server<br>Key: HelpLink.ProdVer, Value: 09.00.3042<br>Key: HelpLink.EvtSrc, Value: MSSQLServer<br>Key: HelpLink.EvtID, Value: 207<br>Key: HelpLink.BaseHelpUrl, Value: <a title="http://go.microsoft.com/fwlink" href="http://go.microsoft.com/fwlink">http://go.microsoft.com/fwlink</a><br>Key: HelpLink.LinkId, Value: 20476<br></p> <p align=left>It seems that prc_AddBuild( that I was able to read using SQL Profiler)</p> <p align=left>expects two extra columns in TFSBuild.tbl_Build</p> <p align=left> </p> <p align=left>Should I just create them like the following <br><font color="#0000ff" size=2></p> <p>Alter</font><font size=2> </font><font color="#0000ff" size=2>table</font><font size=2> tbl_Build</p></font><font color="#0000ff" size=2> <p>add</font><font size=2> DropLocationRoot </font><font color="#0000ff" size=2>nvarchar</font><font color="#808080" size=2>(</font><font size=2>260</font><font color="#808080" size=2>)</font><font size=2> </font><font color="#808080" size=2>NULL</p></font><font color="#0000ff" size=2> <p>Alter</font><font size=2> </font><font color="#0000ff" size=2>table</font><font size=2> tbl_Build</p></font><font color="#0000ff" size=2> <p>add</font><font size=2> REASON </font><font color="#0000ff" size=2>int</font><font size=2> </font><font color="#808080" size=2>NULL</font><font size=2> </p> <p> </p> <p align=left>Or there is better way to fix the problem?</font></p>© 2009 Microsoft Corporation. All rights reserved.Tue, 31 Mar 2009 10:17:10 Z09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736http://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736http://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736Michael Freidgeimhttp://social.msdn.microsoft.com/Profile/en-US/?user=Michael%20FreidgeimTFS 2008+SP1 upgrade from TFS 2005- Error 29250.Team Build Upgrade failed<p align=left><font face=Arial size=2></font> </p> <p>I've had a problem discussed in <font size=1>thread </font><a title="blocked::http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=3910016&amp;SiteID=1&amp;mode=1" href="http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=3910016&amp;SiteID=1&amp;mode=1"><font color="#800080" size=1>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=3910016&amp;SiteID=1&amp;mode=1</font></a><font size=1>  and <strong><span class=inlineLink><font color="#555555">Buck Hodges</font></span> suggested to install combined TFS 2008+SP1 setup as described in </strong><a title="http://www.woodwardweb.com/vsts/creating_a_tfs.html" href="http://www.woodwardweb.com/vsts/creating_a_tfs.html"><strong>http://www.woodwardweb.com/vsts/creating_a_tfs.html</strong></a><strong> and in the latest </strong><a title="http://www.microsoft.com/downloads/details.aspx?FamilyId=FF12844F-398C-4FE9-8B0D-9E84181D9923&amp;displaylang=en" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=FF12844F-398C-4FE9-8B0D-9E84181D9923&amp;displaylang=en"><font color="#0033cc">Team Foundation Installation Guide</font></a>.</font></p> <p align=left><font size=1>I was able to quickly pass </font> step06_MigrateOpenedWorkItems.sql.resources(that had the error before)</p> <p align=left>But now I have error in step 8<br>Starting execution of steps from step08_CompleteUpgrade.sql.resources<br>An error occurred while upgrading the server <a title="http://MyServer:8080" href="http://MyServer:8080">http://MyServer:8080</a><br>  Details: SQL Error #1<br>SQL Message: Invalid column name 'DropLocationRoot'.<br>SQL LineNumber: 110<br>SQL Source: .Net SqlClient Data Provider<br>SQL Procedure: prc_AddBuild<br>SQL Error #2<br>SQL Message: Invalid column name 'Reason'.<br>SQL LineNumber: 111<br>SQL Source: .Net SqlClient Data Provider<br>SQL Procedure: prc_AddBuild<br>SQL Error #3<br>SQL Message: Invalid column name 'DropLocationRoot'.<br>SQL LineNumber: 188<br>SQL Source: .Net SqlClient Data Provider<br>SQL Procedure: prc_AddBuild<br>SQL Error #4<br>SQL Message: Invalid column name 'Reason'.<br>SQL LineNumber: 199<br>SQL Source: .Net SqlClient Data Provider<br>SQL Procedure: prc_AddBuild</p> <p align=left>System.Data.SqlClient.SqlException: Invalid column name 'DropLocationRoot'.<br>Invalid column name 'Reason'.<br>Invalid column name 'DropLocationRoot'.<br>Invalid column name 'Reason'.<br>   at Microsoft.TeamFoundation.Server.SqlResourceComponent.MapException(SqlException ex, QueryExecutionState queryState)<br>   at Microsoft.TeamFoundation.Server.SqlResourceComponent.MapException(SqlException ex)<br>&quot;Ì<br>   at Microsoft.TeamFoundation.Server.SqlResourceComponent.HandleException(SqlException ex)<br>   at Microsoft.TeamFoundation.Server.SqlResourceComponent.execute(ExecuteType executeType, CommandBehavior behavior)<br>   at Microsoft.TeamFoundation.Server.SqlResourceComponent.ExecuteNonQuery()<br>   at Microsoft.TeamFoundation.Build.Upgrade.Upgrade.ExecuteSqlResourceScripts(IList`1 resourceNames)<br>   at Microsoft.TeamFoundation.Build.Upgrade.Upgrade.Execute()<br>   at Microsoft.TeamFoundation.Build.Upgrade.Program.Main(String args)<br>Exception Data:<br>Key: HelpLink.ProdName, Value: Microsoft SQL Server<br>Key: HelpLink.ProdVer, Value: 09.00.3042<br>Key: HelpLink.EvtSrc, Value: MSSQLServer<br>Key: HelpLink.EvtID, Value: 207<br>Key: HelpLink.BaseHelpUrl, Value: <a title="http://go.microsoft.com/fwlink" href="http://go.microsoft.com/fwlink">http://go.microsoft.com/fwlink</a><br>Key: HelpLink.LinkId, Value: 20476<br></p> <p align=left>It seems that prc_AddBuild( that I was able to read using SQL Profiler)</p> <p align=left>expects two extra columns in TFSBuild.tbl_Build</p> <p align=left> </p> <p align=left>Should I just create them like the following <br><font color="#0000ff" size=2></p> <p>Alter</font><font size=2> </font><font color="#0000ff" size=2>table</font><font size=2> tbl_Build</p></font><font color="#0000ff" size=2> <p>add</font><font size=2> DropLocationRoot </font><font color="#0000ff" size=2>nvarchar</font><font color="#808080" size=2>(</font><font size=2>260</font><font color="#808080" size=2>)</font><font size=2> </font><font color="#808080" size=2>NULL</p></font><font color="#0000ff" size=2> <p>Alter</font><font size=2> </font><font color="#0000ff" size=2>table</font><font size=2> tbl_Build</p></font><font color="#0000ff" size=2> <p>add</font><font size=2> REASON </font><font color="#0000ff" size=2>int</font><font size=2> </font><font color="#808080" size=2>NULL</font><font size=2> </p> <p> </p> <p align=left>Or there is better way to fix the problem?</font></p>Tue, 23 Sep 2008 14:08:35 Z2008-09-23T22:17:08Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#d48974e8-9bd5-4cbb-9096-354ce7f43fbfhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#d48974e8-9bd5-4cbb-9096-354ce7f43fbfMichael Freidgeimhttp://social.msdn.microsoft.com/Profile/en-US/?user=Michael%20FreidgeimTFS 2008+SP1 upgrade from TFS 2005- Error 29250.Team Build Upgrade failed<p align=left><font face=Arial size=2>I've added 2 columns DropLocationRoot and REASON </font></p> <p align=left>and got the next error</p> <p align=left>  Details: SQL Error #1<br>SQL Message: Invalid column name 'LastEvaluatedOn'.<br>SQL LineNumber: 77<br>SQL Source: .Net SqlClient Data Provider<br>SQL Procedure: prc_StartPendingBuilds</p> <p align=left>It should be a better way rather than manually add new columns one by one just to satisfy the SPs.</p> <p align=left>Please advice. </p> <p align=left> </p>Tue, 23 Sep 2008 14:34:08 Z2008-09-23T14:34:08Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#7b8b6d9b-a9d3-473b-bfdf-2dd1655e8c8fhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#7b8b6d9b-a9d3-473b-bfdf-2dd1655e8c8fMichael Freidgeimhttp://social.msdn.microsoft.com/Profile/en-US/?user=Michael%20FreidgeimTFS 2008+SP1 upgrade from TFS 2005- Error 29250.Team Build Upgrade failed<p align=left><font face=Arial size=2></font> </p> <p>I've added another column</p> <p align=left> </p><font color="#0000ff" size=2> <p>Alter</font><font size=2> </font><font color="#0000ff" size=2>table</font><font size=2> tbl_Schedule </p></font><font color="#0000ff" size=2> <p>add</font><font size=2> LastEvaluatedOn [datetime] </font><font color="#808080" size=2>NULL</font><font size=2> </font><font color="#0000ff" size=2>Default</font><font color="#808080" size=2>(</font><font color="#ff00ff" size=2>GetDate</font><font color="#808080" size=2>())</p></font><font size=2> <p>GO</p> <p> </p> <p align=left>and finally TFS setup has been completed.</p> <p align=left> </p> <p align=left>I still need someone to confirm that columns that I created just by guessing are the same that TFS expects.</font></p>Tue, 23 Sep 2008 22:16:51 Z2008-09-23T22:17:08Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#af34388f-cb59-40eb-bf34-0a5724615d41http://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#af34388f-cb59-40eb-bf34-0a5724615d41Aaron Block - MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Aaron%20Block%20-%20MSFTTFS 2008+SP1 upgrade from TFS 2005- Error 29250.Team Build Upgrade failed<p align=left><font face=Arial size=2></font> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><font size=3><font face=Calibri>Hi Michael, </font></font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><font face=Calibri size=3> </font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><font size=3><font face=Calibri>I’m glad that this worked for you; however, the steps you’ve taken are not steps we would recommend. It seems strange that you had to go through these steps. If you are willing, I’d like to try and figure out why you had to take these actions. </font></font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><font face=Calibri size=3> </font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><font size=3><font face=Calibri>--Aaron</font></font></span></p>Wed, 24 Sep 2008 14:11:28 Z2008-09-24T14:11:28Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#cf28b23d-e8d7-4d74-9bd0-ade9f71d5f8ahttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#cf28b23d-e8d7-4d74-9bd0-ade9f71d5f8aMichael Freidgeimhttp://social.msdn.microsoft.com/Profile/en-US/?user=Michael%20FreidgeimTFS 2008+SP1 upgrade from TFS 2005- Error 29250.Team Build Upgrade failed<p align=left><font face=Arial size=2>Hi Aaron,</font></p> <p align=left>Thanks for your reply. It will be interesting to understand, why these columns were missing. And it could help someone else with similar problems.</p>Wed, 24 Sep 2008 21:55:43 Z2008-09-24T21:55:43Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#16fe9a67-5ea5-4a49-b2c6-aa3228408f44http://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#16fe9a67-5ea5-4a49-b2c6-aa3228408f44mcaljamjhttp://social.msdn.microsoft.com/Profile/en-US/?user=mcaljamjTFS 2008+SP1 upgrade from TFS 2005- Error 29250.Team Build Upgrade failed<p align=left><font face=Arial size=2></font> </p> <p>I have had the same experience.</p> <p align=left> </p> <p align=left>We initially tried to upgrade to 2008, and upgrade stopped doing anything on the database after about 2 hours while it was running '<span style="font-size:10pt;font-family:Tunga">step06_MigrateOpenedWorkItems.sql.resources'. The tempdb had grown a fair bit to 20GB, but there was still plently of space left. When all activity on the sql server stopped we found that tempdb kept giving us sql error 1222 'lock request timeout exceeded'. The sql process was running from the tfsbuild database and it could not be killed. canceling the install on the appserver didn't seem to do much either. so we restart sql server, that forced the install to abort.</span></p> <p align=left><span style="font-size:10pt;font-family:Tunga"></span> </p> <p align=left><span style="font-size:10pt;font-family:Tunga">We then tried the slipstreamed 2008SP1 install, on the partially upgraded database and ran into the same missing column errors reported earlier in this thread. We created the missing columns and the upgrade completed.</span></p> <p align=left><span style="font-size:10pt;font-family:Tunga"></span> </p> <p align=left><span style="font-size:10pt;font-family:Tunga">We are now trying to decide if we abandon the upgrade and rollback, as we dont know how much confidence we can have in the upgraded databases.</span></p>Fri, 26 Sep 2008 23:18:04 Z2008-09-26T23:18:04Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#8bcef77d-9f11-408b-a13b-f46767fa36f6http://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#8bcef77d-9f11-408b-a13b-f46767fa36f6mcaljamjhttp://social.msdn.microsoft.com/Profile/en-US/?user=mcaljamjTFS 2008+SP1 upgrade from TFS 2005- Error 29250.Team Build Upgrade failed<p align=left> </p> <p>I decided to restore our database backups to the pre-upgrade state. I then installed 2008 Team Explorer and VS2008SP1 and then the slipstreamed TFS 2008SP1. There were no issues with the database upgrade this time. </p> <p align=left> </p> <p align=left>The only issue I had during the upgrade was that our database backup was taken before converting the FQDN of the app server to its NETBIOS name. So when running the slipstreamed TFS 2008SP1 it immediately gave a TF220064 error.</p> <p align=left> </p> <p align=left>As we had no app server software installed, we ran the TFSAdminUtil on our test system to find out how it was modifying the SQL databases and found that it ran a number of stored procedures</p> <p align=left> </p> <p align=left>exec prc_update_tbl_subscription_address @id=1,@address=N'http://MYSERVER:8086/WorkItemTracking/v1.0/Integration.asmx'<br>exec prc_update_tbl_subscription_address @id=2,@address=N'http://MYSERVER:8086/WorkItemTracking/V1.0/SyncEventsListener.asmx'<br>exec prc_update_tbl_subscription_address @id=3,@address=N'http://MYSERVER:8086/Warehouse/v1.0/warehousecontroller.asmx'<br>exec prc_update_tbl_subscription_address @id=4,@address=N'http://MYSERVER:8086/VersionControl/V1.0/Integration.asmx'</p> <p align=left>@Type=N'Reports',@Name=N'BaseReportsUrl',@Url=N'http://MYSERVER:80/Reports'<br>exec prc_update_service_interface_url @Type=N'Reports',@Name=N'DataSourceServer',@Url=N'MYSERVER'<br>exec prc_update_service_interface_url @Type=N'Reports',@Name=N'ReportsService',@Url=N'http://MYSERVER:80/ReportServer/ReportService.asmx'</p> <p align=left>exec prc_get_service_interfaces @registry_entry_type=N'Wss'<br>exec prc_update_service_interface_url @Type=N'Wss',@Name=N'BaseServerUrl',@Url=N'http://MYSERVER:80'<br>exec prc_update_service_interface_url @Type=N'Wss',@Name=N'BaseSiteUnc',@Url=N'\\MYSERVER\Sites'<br>exec prc_update_service_interface_url @Type=N'Wss',@Name=N'BaseSiteUrl',@Url=N'http://MYSERVER:80/sites'<br></p> <p align=left>so I used these sp's to fix the production database, which allowed the install to proceed.</p> <p align=left> </p> <p align=left>After using the slipstreamed version the only issue I have seen overnight is the project portals don't work correctly; complaining about '<font size=1><font size=2>Error initializing Safe control'. Hopefully we'll be able to fix that by upgrade sharepoint from v2 to v3, as i remember seeing something about this problem elsewhere becuase .net 3.5SP1.</font></font></p> <p align=left><font size=1><font size=2></font> </p></font> <p align=left> </p>Sat, 27 Sep 2008 13:11:37 Z2008-09-27T13:11:37Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#c635b1aa-fe48-46ec-bd05-ecf1e643c55ehttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#c635b1aa-fe48-46ec-bd05-ecf1e643c55eMichael Freidgeimhttp://social.msdn.microsoft.com/Profile/en-US/?user=Michael%20FreidgeimTFS 2008+SP1 upgrade from TFS 2005- Error 29250.Team Build Upgrade failed<p align=left><font face=Arial size=2>Hi Aaron,</font></p> <p align=left> </p> <p align=left>The hack by manually adding columns helped to finish installation of TFS 2008+SP1.</p> <p align=left>But now when we tried to use builds, we've got the errors(see below).</p> <p align=left> </p> <p align=left>How can I fix or re-install  only TfsBuild database without affecting sourcecontrol functionality that is working fine?</p> <p align=left> </p> <p align=left>All SPs are encripted, that make it harder to investigate/workaround.</p> <p><span style="font-size:10pt;font-family:Arial"></span> </p> <p align=left><span style="font-size:10pt;font-family:Arial">Description:<br>TF53010: The following error has occurred in a Team Foundation component or extension:<br>Date (UTC): 7/10/2008 4:08:35 AM<br>Machine: Application Domain: /LM/W3SVC/904242201/Root/Build-3-128677648568436123<br>Assembly: Microsoft.TeamFoundation.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727<br>Process Details:<br>  Process Name: w3wp<br>  Process Id: 5560<br>  Thread Id: 5716<br>  Account name: </span></p> <p><span style="font-size:10pt;font-family:Arial">Detailed Message: TF53014: A crash report for this problem was recently created; a new crash report for this occurrence of the problem is not being created. This problem has occurred 3 times.<br>Web Request Details<br>    Url: <a title="http://webjet011:8080/Build/v2.0/BuildService.asmx" href="http://webjet011:8080/Build/v2.0/BuildService.asmx">http://MyServer:8080/Build/v2.0/BuildService.asmx</a> [method: POST]<br>    User Agent: Team Foundation (devenv.exe, 9.0.30729.1)<br>    Headers: Content-Length=498&amp;Content-Type=application%2fsoap%2bxml%3b+charset%3dutf-8&amp;Accept-Encoding=gzip&amp;Accept-Language=en-AU&amp;Expect=100-continue&amp;Host=MyServer%3a8080&amp;User-Agent=Team+Foundation+(devenv.exe%2c+9.0.30729.1)&amp;X-TFS-Version=1.0.0.0&amp;X-TFS-Session=df97fa8d-07a5-49a6-8b8c-9d23a875b9b4&amp;TF-Instance=df97fa8d-07a5-49a6-8b8c-9d23a875b9b4<br>    Path: /Build/v2.0/BuildService.asmx<br>    Local Request: True<br>    Host Address: 172.28.6.139<br>    User: Build [authentication type: NTLM]</span></p> <p><span style="font-size:10pt;font-family:Arial">Exception Message: Invalid column name 'Reason'.<br>.TfsBuild..prc_QueueBuild: Database Update Failure - Error %error=&quot;207&quot;;% executing INSERT statement for @queuedBuilds (type SqlException)<br>SQL Exception Class: 16<br>SQL Exception Number: 207<br>SQL Exception Procedure: prc_iiQueueBuilds<br>SQL Exception Line Number: 239<br>SQL Exception Server: MYSERVER<br>SQL Exception State: 1<br>SQL Error(s):<br>SQL Error[1]: System.Data.SqlClient.SqlError: MYSERVER.TfsBuild..prc_QueueBuild: Database Update Failure - Error %error=&quot;207&quot;;% executing INSERT statement for @queuedBuilds<br>    Class: 16<br>    Number: 900004<br>    Source: .Net SqlClient Data Provider<br>    State: 1<br>    Procedure: prc_QueueBuild<br>    Line Number: 72</span></p> <p><span style="font-size:10pt;font-family:Arial">Exception Data Dictionary:<br>HelpLink.ProdName = Microsoft SQL Server<br>HelpLink.ProdVer = 09.00.3073<br>HelpLink.EvtSrc = MSSQLServer<br>HelpLink.EvtID = 207<br>HelpLink.BaseHelpUrl = <a title="http://go.microsoft.com/fwlink" href="http://go.microsoft.com/fwlink">http://go.microsoft.com/fwlink</a><br>HelpLink.LinkId = 20476</span></p> <p><span style="font-size:10pt;font-family:Arial"><br>Exception Stack Trace:    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)<br>   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)<br>   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)<br>   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)<br>   at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()<br>   at System.Data.SqlClient.SqlDataReader.get_MetaData()<br>   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)<br>   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)<br>   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)<br>   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)<br>   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)<br>   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)<br>   at Microsoft.TeamFoundation.Server.SqlResourceComponent.execute(ExecuteType executeType, CommandBehavior behavior)</span></p> <p><span style="font-size:10pt;font-family:Arial"> </span></p> <p><span style="font-size:10pt;font-family:Arial">For more information, see Help and Support Center at <a title="http://go.microsoft.com/fwlink/events.asp" href="http://go.microsoft.com/fwlink/events.asp">http://go.microsoft.com/fwlink/events.asp</a>.</span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><font face="Times New Roman" size=3> </font></p> <p align=left> </p>Tue, 07 Oct 2008 04:50:42 Z2008-10-07T04:50:42Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#c95e15a6-2903-4615-91bb-9da20934236fhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#c95e15a6-2903-4615-91bb-9da20934236fBuck Hodgeshttp://social.msdn.microsoft.com/Profile/en-US/?user=Buck%20HodgesTFS 2008+SP1 upgrade from TFS 2005- Error 29250.Team Build Upgrade failed Michael, please drop the columns that you hacked in and run repair.  I believe that will fix it.<br><br>Buck<hr size="1" align="left" width="25%">http://blogs.msdn.com/buckhMon, 13 Oct 2008 15:02:28 Z2008-10-13T15:02:28Zhttp://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#9107f943-a83f-4fcf-8b8b-4ea72f9c76a7http://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/09a9f4e8-6bf2-4a4e-bfcb-f030df8d4736#9107f943-a83f-4fcf-8b8b-4ea72f9c76a7Michael Freidgeimhttp://social.msdn.microsoft.com/Profile/en-US/?user=Michael%20FreidgeimTFS 2008+SP1 upgrade from TFS 2005- Error 29250.Team Build Upgrade failedThanks Buck,<br/> I 've dropped hacked columns, repair of the TFS installation fixed the database.<br/> I've found that after repair Visual Studio Team Foundation Build Windows Service(TFSBuildService.exe) was running under  NT AUTHORITY\NETWORK SERVICE and I had to change it to TfsServer\TFSBuild.<br/> After this TFS Build works as expected. <hr class="sig">Michael Freidgeim, http://geekswithblogs.net/mnf/Tue, 31 Mar 2009 10:17:07 Z2009-03-31T10:17:07Z