TFS 2010 安装:prc_SaveCatalogChanges 返回错误的行数

发布于 2024-10-11 03:27:06 字数 7349 浏览 0 评论 0原文

我一直在尝试将 TFS2010 安装到 Windows 7 Ultimate 上,但是当我进入“基本配置”屏幕时,我收到一条错误消息:

*TF255356:配置 Team Foundation 数据库时发生以下错误:执行服务步骤时发生错误安装安装期间组件 Install.TfsFramework 的目录根:TF14103:内部错误:数据库过程 prc_SaveCatalogChanges 返回了错误的行数。有关详细信息,请参阅配置日志。*

以前,我已成功将 TFS2010 安装到同一台计算机上,并已还创建了一些项目。然而,它随后阻止了我创建新项目(由于我无法诊断的原因),因此我卸载了该应用程序,然后重新安装它,希望错误会消失。我在卸载之前遇到的错误还包含消息“数据库过程 prc_SaveCatalogChanges 返回了错误的行数”

任何想法将不胜感激

从错误日志中提取:

[错误@12:07:57.652] TF14103:内部错误:数据库过程 prc_SaveCatalogChanges 返回错误的行数。 [Info @12:07:57.654] Microsoft.TeamFoundation.Framework.Server.UnexpectedDatabaseResultException:TF14103:内部错误:数据库过程 prc_SaveCatalogChanges 返回错误的行数。 在 Microsoft.TeamFoundation.Framework.Server.ResultCollection.NextResult() 在 Microsoft.TeamFoundation.Framework.Server.TeamFoundationCatalogService.BuildResources(TeamFoundationRequestContext requestContext、ResultCollection rc、CatalogQueryOptions queryOptions) 在 Microsoft.TeamFoundation.Framework.Server.CatalogTransactionContext.Save(TeamFoundationRequestContext requestContext、CatalogQueryOptions queryOptions、布尔预览、List1&deletedResources、List1&deletedNodes) 在Microsoft.TeamFoundation.Admin.FrameworkStepPerformer.InstallCatalogRoots(字符串stepData,ServicingContext servicesContext,布尔值validateOnly) 在Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.Microsoft.TeamFoundation.Framework.Server.IStepPerformer.PerformStep(字符串serviceingOperation,字符串stepType,字符串stepData,ServicingContext servicesContext) 在 Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep 步骤、ServicingContext 服务上下文、ServicingStepGroup 组、ServicingOperation 服务操作、布尔值 validateOnly) [Info @12:07:57.654] [2011-01-05 12:07:57Z] 维修步骤安装目录根失败。 (ServicingOperation:安装;步骤组:Install.TfsFramework) [Info @12:07:57.686] 清除字典,删除所有项目。 [错误@12:07:57.688] TF255184:操作期间发生错误。消息=TF255356:配置 Team Foundation 数据库时发生以下错误:执行服务步骤在安装期间安装组件 Install.TfsFramework 的目录根时发生错误:TF14103:内部错误:数据库过程 prc_SaveCatalogChanges 返回了错误的行数。有关更多信息,请参阅配置日志。 [错误@12:07:57.689] 异常消息:在安装期间执行服务步骤安装组件 Install.TfsFramework 的目录根时发生错误:TF14103:内部错误:数据库过程 prc_SaveCatalogChanges 返回了错误的行数。 (类型 CollectionServicingException)

异常堆栈跟踪:位于 Microsoft.TeamFoundation.Framework.Server.ServicingContext.FinishStep(异常异常) 在 Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep 步骤、ServicingContext 服务上下文、ServicingStepGroup 组、ServicingOperation 服务操作、布尔值 validateOnly) 在 Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformOperations(布尔 validateOnly,Int32 stepsToPerform) 在 Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.Execute(Int32 numberOfStepsToPerform) 在 Microsoft.TeamFoundation.Admin.ApplicationConfigurationDriver.Execute() 在 Microsoft.TeamFoundation.Admin.ApplicationDataTier.Apply(OperationContext context)

内部异常详细信息:

异常消息:TF14103:内部错误:数据库过程 prc_SaveCatalogChanges 返回错误的行数。 (类型 UnexpectedDatabaseResultException)

异常堆栈跟踪:位于 Microsoft.TeamFoundation.Framework.Server.ResultCollection.NextResult() 在 Microsoft.TeamFoundation.Framework.Server.TeamFoundationCatalogService.BuildResources(TeamFoundationRequestContext requestContext、ResultCollection rc、CatalogQueryOptions queryOptions) 在 Microsoft.TeamFoundation.Framework.Server.CatalogTransactionContext.Save(TeamFoundationRequestContext requestContext、CatalogQueryOptions queryOptions、布尔预览、List1&deletedResources、List1&deletedNodes) 在Microsoft.TeamFoundation.Admin.FrameworkStepPerformer.InstallCatalogRoots(字符串stepData,ServicingContext servicesContext,布尔值validateOnly) 在Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.Microsoft.TeamFoundation.Framework.Server.IStepPerformer.PerformStep(字符串serviceingOperation,字符串stepType,字符串stepData,ServicingContext servicesContext) 在 Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep 步骤、ServicingContext servicesContext、ServicingStepGroup group、ServicingOperation servicesOperation、Boolean validateOnly)

[错误 @12:07:57.690] TF255248:应用配置的进程必须由于以下原因而终止:错误。 [错误 @12:07:57.692] TF255247:应用以下配置时发生错误:Microsoft.TeamFoundation.Admin.ConfigurationApplyException:TF255356:配置 Team Foundation 数据库时发生以下错误:执行服务步骤安装目录时发生错误安装期间组件 Install.TfsFramework 的根:TF14103:内部错误:数据库过程 prc_SaveCatalogChanges 返回了错误的行数。有关详细信息,请参阅配置日志。 (在安装期间执行服务步骤安装组件 Install.TfsFramework 的目录根时发生错误:TF14103:内部错误:数据库过程 prc_SaveCatalogChanges 返回了错误的行数。) ---> Microsoft.TeamFoundation.Framework.Server.CollectionServicingException:执行服务步骤在安装期间安装组件 Install.TfsFramework 的目录根时发生错误:TF14103:内部错误:数据库过程 prc_SaveCatalogChanges 返回错误的行数。 ---> Microsoft.TeamFoundation.Framework.Server.UnexpectedDatabaseResultException:TF14103:内部错误:数据库过程 prc_SaveCatalogChanges 返回错误的行数。 在 Microsoft.TeamFoundation.Framework.Server.ResultCollection.NextResult() 在 Microsoft.TeamFoundation.Framework.Server.TeamFoundationCatalogService.BuildResources(TeamFoundationRequestContext requestContext、ResultCollection rc、CatalogQueryOptions queryOptions) 在 Microsoft.TeamFoundation.Framework.Server.CatalogTransactionContext.Save(TeamFoundationRequestContext requestContext、CatalogQueryOptions queryOptions、布尔预览、List1&deletedResources、List1&deletedNodes) 在Microsoft.TeamFoundation.Admin.FrameworkStepPerformer.InstallCatalogRoots(字符串stepData,ServicingContext servicesContext,布尔值validateOnly) 在Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.Microsoft.TeamFoundation.Framework.Server.IStepPerformer.PerformStep(字符串serviceingOperation,字符串stepType,字符串stepData,ServicingContext servicesContext) 在 Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep 步骤、ServicingContext 服务上下文、ServicingStepGroup 组、ServicingOperation 服务操作、布尔值 validateOnly) --- 内部异常堆栈跟踪结束 --- 在 Microsoft.TeamFoundation.Framework.Server.ServicingContext.FinishStep(异常异常) 在 Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep 步骤、ServicingContext 服务上下文、ServicingStepGroup 组、ServicingOperation 服务操作、布尔值 validateOnly) 在 Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformOperations(布尔 validateOnly,Int32 stepsToPerform) 在 Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.Execute(Int32 numberOfStepsToPerform) 在 Microsoft.TeamFoundation.Admin.ApplicationConfigurationDriver.Execute() 在 Microsoft.TeamFoundation.Admin.ApplicationDataTier.Apply(OperationContext 上下文) --- 内部异常堆栈跟踪结束 --- 在 Microsoft.TeamFoundation.Admin.ErrorList.HandleError(IResult 结果) 在 Microsoft.TeamFoundation.Admin.ErrorList.Add(IResult 结果) 在 Microsoft.TeamFoundation.Admin.OperationResult.Add(IResult 结果) 在 Microsoft.TeamFoundation.Admin.ApplicationDataTier.Apply(OperationContext 上下文) 在 Microsoft.TeamFoundation.Admin.ConfigurationNode.ApplyIfReady(OperationContext 上下文) 在 Microsoft.TeamFoundation.Admin.ApplicationTier.Install(OperationContext 上下文) 在 Microsoft.TeamFoundation.Admin.ApplicationTier.Apply(OperationContext 上下文) 在 Microsoft.TeamFoundation.Admin.ConfigurationNode.ApplyIfReady(OperationContext 上下文) 在 Microsoft.TeamFoundation.Admin.LogicalTier.Apply(OperationalMode 模式)。 [信息@12:07:57.695] [信息@12:07:57.695]-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+

I've been attempting to install TFS2010 onto Windows 7 Ultimate but when I get to the Basic Configuration screen I get an the error message:

*TF255356: The following error occurred when configuring the Team Foundation databases: Error occurred while executing servicing step Install the catalog roots for component Install.TfsFramework during Install: TF14103: Internal error: The database procedure prc_SaveCatalogChanges returned the wrong number of rows.. For more information, see the configuration log.*

Previously, I had succesfully installed TFS2010 onto the same machine and had also created some projects. However it subsequently prevented me from creating new projects (for reasons that I was not able to diagnose) and so I unstalled the app and then re-installed it hoping the error would go away. The error I was getting before the uninstall was also contained the message "The database procedure prc_SaveCatalogChanges returned the wrong number of rows"

Any ideas would be much appreciated

EXTRACT FROM ERROR LOG:

[Error @12:07:57.652] TF14103: Internal error: The database procedure prc_SaveCatalogChanges returned the wrong number of rows.
[Info @12:07:57.654] Microsoft.TeamFoundation.Framework.Server.UnexpectedDatabaseResultException: TF14103: Internal error: The database procedure prc_SaveCatalogChanges returned the wrong number of rows.
at Microsoft.TeamFoundation.Framework.Server.ResultCollection.NextResult()
at Microsoft.TeamFoundation.Framework.Server.TeamFoundationCatalogService.BuildResources(TeamFoundationRequestContext requestContext, ResultCollection rc, CatalogQueryOptions queryOptions)
at Microsoft.TeamFoundation.Framework.Server.CatalogTransactionContext.Save(TeamFoundationRequestContext requestContext, CatalogQueryOptions queryOptions, Boolean preview, List1& deletedResources, List1& deletedNodes)
at Microsoft.TeamFoundation.Admin.FrameworkStepPerformer.InstallCatalogRoots(String stepData, ServicingContext servicingContext, Boolean validateOnly)
at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.Microsoft.TeamFoundation.Framework.Server.IStepPerformer.PerformStep(String servicingOperation, String stepType, String stepData, ServicingContext servicingContext)
at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Boolean validateOnly)
[Info @12:07:57.654] [2011-01-05 12:07:57Z] Servicing step Install the catalog roots failed. (ServicingOperation: Install; Step group: Install.TfsFramework)
[Info @12:07:57.686] Clearing dictionary, removing all items.
[Error @12:07:57.688] TF255184: An error occurred during operation. Message=TF255356: The following error occurred when configuring the Team Foundation databases: Error occurred while executing servicing step Install the catalog roots for component Install.TfsFramework during Install: TF14103: Internal error: The database procedure prc_SaveCatalogChanges returned the wrong number of rows.. For more information, see the configuration log..
[Error @12:07:57.689]
Exception Message: Error occurred while executing servicing step Install the catalog roots for component Install.TfsFramework during Install: TF14103: Internal error: The database procedure prc_SaveCatalogChanges returned the wrong number of rows. (type CollectionServicingException)

Exception Stack Trace: at Microsoft.TeamFoundation.Framework.Server.ServicingContext.FinishStep(Exception exception)
at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Boolean validateOnly)
at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformOperations(Boolean validateOnly, Int32 stepsToPerform)
at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.Execute(Int32 numberOfStepsToPerform)
at Microsoft.TeamFoundation.Admin.ApplicationConfigurationDriver.Execute()
at Microsoft.TeamFoundation.Admin.ApplicationDataTier.Apply(OperationContext context)

Inner Exception Details:

Exception Message: TF14103: Internal error: The database procedure prc_SaveCatalogChanges returned the wrong number of rows. (type UnexpectedDatabaseResultException)

Exception Stack Trace: at Microsoft.TeamFoundation.Framework.Server.ResultCollection.NextResult()
at Microsoft.TeamFoundation.Framework.Server.TeamFoundationCatalogService.BuildResources(TeamFoundationRequestContext requestContext, ResultCollection rc, CatalogQueryOptions queryOptions)
at Microsoft.TeamFoundation.Framework.Server.CatalogTransactionContext.Save(TeamFoundationRequestContext requestContext, CatalogQueryOptions queryOptions, Boolean preview, List1& deletedResources, List1& deletedNodes)
at Microsoft.TeamFoundation.Admin.FrameworkStepPerformer.InstallCatalogRoots(String stepData, ServicingContext servicingContext, Boolean validateOnly)
at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.Microsoft.TeamFoundation.Framework.Server.IStepPerformer.PerformStep(String servicingOperation, String stepType, String stepData, ServicingContext servicingContext)
at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Boolean validateOnly)

[Error @12:07:57.690] TF255248: The process applying the configuration must be terminated due to an error.
[Error @12:07:57.692] TF255247: An error occurred while applying the following configuration: Microsoft.TeamFoundation.Admin.ConfigurationApplyException: TF255356: The following error occurred when configuring the Team Foundation databases: Error occurred while executing servicing step Install the catalog roots for component Install.TfsFramework during Install: TF14103: Internal error: The database procedure prc_SaveCatalogChanges returned the wrong number of rows.. For more information, see the configuration log. (Error occurred while executing servicing step Install the catalog roots for component Install.TfsFramework during Install: TF14103: Internal error: The database procedure prc_SaveCatalogChanges returned the wrong number of rows.) ---> Microsoft.TeamFoundation.Framework.Server.CollectionServicingException: Error occurred while executing servicing step Install the catalog roots for component Install.TfsFramework during Install: TF14103: Internal error: The database procedure prc_SaveCatalogChanges returned the wrong number of rows. ---> Microsoft.TeamFoundation.Framework.Server.UnexpectedDatabaseResultException: TF14103: Internal error: The database procedure prc_SaveCatalogChanges returned the wrong number of rows.
at Microsoft.TeamFoundation.Framework.Server.ResultCollection.NextResult()
at Microsoft.TeamFoundation.Framework.Server.TeamFoundationCatalogService.BuildResources(TeamFoundationRequestContext requestContext, ResultCollection rc, CatalogQueryOptions queryOptions)
at Microsoft.TeamFoundation.Framework.Server.CatalogTransactionContext.Save(TeamFoundationRequestContext requestContext, CatalogQueryOptions queryOptions, Boolean preview, List1& deletedResources, List1& deletedNodes)
at Microsoft.TeamFoundation.Admin.FrameworkStepPerformer.InstallCatalogRoots(String stepData, ServicingContext servicingContext, Boolean validateOnly)
at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.Microsoft.TeamFoundation.Framework.Server.IStepPerformer.PerformStep(String servicingOperation, String stepType, String stepData, ServicingContext servicingContext)
at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Boolean validateOnly)
--- End of inner exception stack trace ---
at Microsoft.TeamFoundation.Framework.Server.ServicingContext.FinishStep(Exception exception)
at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Boolean validateOnly)
at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformOperations(Boolean validateOnly, Int32 stepsToPerform)
at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.Execute(Int32 numberOfStepsToPerform)
at Microsoft.TeamFoundation.Admin.ApplicationConfigurationDriver.Execute()
at Microsoft.TeamFoundation.Admin.ApplicationDataTier.Apply(OperationContext context)
--- End of inner exception stack trace ---
at Microsoft.TeamFoundation.Admin.ErrorList.HandleError(IResult result)
at Microsoft.TeamFoundation.Admin.ErrorList.Add(IResult result)
at Microsoft.TeamFoundation.Admin.OperationResult.Add(IResult result)
at Microsoft.TeamFoundation.Admin.ApplicationDataTier.Apply(OperationContext context)
at Microsoft.TeamFoundation.Admin.ConfigurationNode.ApplyIfReady(OperationContext context)
at Microsoft.TeamFoundation.Admin.ApplicationTier.Install(OperationContext context)
at Microsoft.TeamFoundation.Admin.ApplicationTier.Apply(OperationContext context)
at Microsoft.TeamFoundation.Admin.ConfigurationNode.ApplyIfReady(OperationContext context)
at Microsoft.TeamFoundation.Admin.LogicalTier.Apply(OperationalMode mode).
[Info @12:07:57.695]
[Info @12:07:57.695] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

香草可樂 2024-10-18 03:27:07
  1. 第一次安装还是尝试过几次失败?
  2. 您是否完成了安装并在卸载之前安装了任何 SP?

我遇到了一种情况,我刚刚通过,发生了以下情况。

  1. Windows 7 Ultimate
  2. TFS 2010 Basic Edition
  3. TFS 2010 SP1
  4. Windows 7 SP1
  5. 卸载 Windows 7 SP1(这就是一切崩溃的地方)。
  6. 头撞桌子几个小时
  7. 卸载 TFS 2010
  8. 重新应用 Windows 7 SP1(或者重建。没心情)。
  9. 安装 TFS 2010
  10. 安装 TFS 2010 SP1
  11. 配置 TFS

然后就成功了。尝试了所有其他组合。 SP1 导致了一些新问题(睡眠锁定了很多。其他随机的事情)。

希望这对某人有帮助

  1. First install or have you tried with a couple of failures?
  2. Did you make it through and then install any SP's before uninstalling?

I had a situation that I just got passed where the following happened.

  1. Windows 7 Ultimate
  2. TFS 2010 Basic Edition
  3. TFS 2010 SP1
  4. Windows 7 SP1
  5. Uninstall Windows 7 SP1 (this is where all hell broke loose).
  6. Slam head against desk for hours
  7. Uninstall TFS 2010
  8. Reapply Windows 7 SP1 (that or a rebuild. not in the mood).
  9. Install TFS 2010
  10. Install TFS 2010 SP1
  11. Configure TFS

Then it worked. Tried every other combination. SP1 causes some new problems (sleeping locks up a lot. other random things).

Hopefully this help someone

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文