gpt4 book ai didi

TFS 服务器用错误消息填充事件日志

转载 作者:行者123 更新时间:2023-12-05 06:45:06 28 4
gpt4 key购买 nike

(不得不在 StackOverflow 和 ServerFault 之间做出选择,希望 SO 是一个更好的场所)

我正在练习将我们的 TFS 服务器从 2008 年升级到 2013 年。我们正在迁移到新硬件以升级到 2012 年,然后从 2012 年到 2013 年应用就地更新。我尽可能地遵循TFS Install and Administration guides 提供的指南.

从好的方面来说,一切似乎都很顺利。我有一个可以使用的 2013 实例,大多数情况似乎都可以正常工作。

但是,在事件日志中,似乎每隔 30 秒我就会看到以下错误消息:

You may not call this function on a different context than the original request at:    at Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext.GetService[T]()
at Microsoft.TeamFoundation.Warehouse.WarehouseSyncJobExtension`1.CheckSchemaLockQueue(Object source)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()

和:

You may not call this function on a different context than the original request at:    at Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext.GetService[T]()
at Microsoft.TeamFoundation.Warehouse.LockResources..ctor(TeamFoundationRequestContext requestContext)
at Microsoft.TeamFoundation.Warehouse.WarehouseExecutionContext..ctor(TeamFoundationRequestContext requestContext)
at Microsoft.TeamFoundation.Warehouse.WarehouseSyncJobExtension`1.CheckSchemaLockQueue(Object source)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()

和:

You may not call this function on a different context than the original request at:    at Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext.To(TeamFoundationServiceHost targetHost)
at Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext.To(TeamFoundationHostType hostType)
at Microsoft.TeamFoundation.Warehouse.LockResources..ctor(TeamFoundationRequestContext requestContext)
at Microsoft.TeamFoundation.Warehouse.WarehouseExecutionContext..ctor(TeamFoundationRequestContext requestContext)
at Microsoft.TeamFoundation.Warehouse.WarehouseSyncJobExtension`1.CheckSchemaLockQueue(Object source)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()

也就是说,三个相同的消息仅具有 3 个略有不同的堆栈跟踪。不幸的是,我在网上找不到任何其他人在网上寻找(并找到)关于短语 You may not call this function on a different context than the original request 的帮助。 (事实上​​ ,我只得到一个搜索结果,它是一个 pastebin post - 但没有任何上下文,没有答案,我在其他地方找不到任何指向该 pastbin 的链接)

回顾事件日志,这些错误仅在 2012 -> 2013 升级后出现,但我不知道这是否意味着该升级导致了问题或该升级包含不存在的功能(因此无法破解)2012 年。

那么,我如何找出(更好地)这里发生了什么,并停止这些错误消息?当事情看起来正常但我们收到这些错误时,凭良心我不能继续进行真正的升级。


旧服务器:TFS 2008 (SP1) 在 SQL Server Standard 2005 (SP4) 之上,单服务器,Windows Server 2003 Standard x86 (SP2)

新服务器:基于 SQL Server Standard 2012 (SP2) 的 TFS 2013(更新 3),单服务器,Windows Server 2008 R2 Standard x64 (SP1)

(新服2012的时候是Update 4,其他没什么区别)

最佳答案

您可能需要重建仓库和多维数据集。在管理控制台中,如果您单击报告,您应该会看到一个“重建”按钮。

关于TFS 服务器用错误消息填充事件日志,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26180339/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com