【问题标题】:Getting an Error in my event log of Team Foundation Server在我的 Team Foundation Server 事件日志中出现错误
【发布时间】:2016-02-24 15:19:20
【问题描述】:

我不知道这是不是问这个问题的正确地方,但是每次打开 TFS 网页时,我的事件日志中都会出现错误,我会收到以下错误:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Team Foundation Server" Guid="{80761876-6844-47D5-8106-F8ED2AA8687B}" /> 
<EventID>0</EventID> 
<Version>0</Version> 
<Level>2</Level> 
<Task>1</Task> 
<Opcode>10</Opcode> 
<Keywords>0x8000000000000001</Keywords> 
<TimeCreated SystemTime="2016-02-24T14:48:40.361409100Z" /> 
<EventRecordID>650</EventRecordID> 
<Correlation ActivityID="{72451AFD-6F04-0000-3340-4572046FD101}" /> 
<Execution ProcessID="3932" ThreadID="808" /> 
<Channel>Microsoft-Team Foundation Server/Debug</Channel> 
<Computer>WIN-U8K4FA701IJ</Computer> 
<Security UserID="S-1-5-19" /> 
</System>
<UserData>
<Info TraceId="{00000001-0001-0001-0000-000000000000}" xmlns="http://schemas.microsoft.com/TeamFoundation/2010/Framework">
 <Tracepoint>599999</Tracepoint> 
 <ServiceHost>{00000000-0000-0000-0000-000000000000}</ServiceHost> 
 <ContextId>0</ContextId> 
 <ProcessName>w3wp</ProcessName> 
 <Username /> 
 <Service /> 
 <Method /> 
 <Area>WebAccess</Area> 
 <Layer>Controller</Layer> 
 <UserAgent /> 
 <Uri /> 
 <Path /> 
 <UserDefined /> 
 <Message>System.Reflection.ReflectionTypeLoadException: Kan een of meer van de gevraagde typen niet laden. Haal de LoaderExceptions-eigenschap op voor meer informatie. bij System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) bij System.Reflection.RuntimeModule.GetTypes() bij System.Reflection.Assembly.GetTypes() bij Microsoft.TeamFoundation.Server.WebAccess.TypeUtils.GetAllTypes(IEnumerable`1 assemblies, Func`2 filter)</Message> 
</Info>
</UserData>
</Event>

我尝试重新安装所有内容,但没有打扰。 谁知道是什么给了我这个错误?

【问题讨论】:

  • 什么版本的 TFS?什么操作系统?
  • Tfs2012 和 Windows server 2012
  • 您的 TFS 是否按预期工作?
  • 您的 TFS 2012 升级到最新版本 Update4 了吗?
  • 我更新到更新 4,但这仅适用于 Visual Studio

标签: c# tfs w3wp.exe


【解决方案1】:

首先,将错误信息翻译成英文,使其可读:

<Message>System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at System.Reflection.Assembly.GetTypes()
   at Microsoft.TeamFoundation.Server.WebAccess.TypeUtils.GetAllTypes(IEnumerable`1 assemblies, Func`2 filter)</Message>

此错误可能是由多种因素引起的,例如,如果您没有很好地配置构建服务。尝试安装TFS 2012 Power Tools,然后运行 ​​BPA 扫描你的 TFS 2012 服务器,你可能会得到一些有用的东西。

【讨论】:

  • 我没有从 BPA 那里得到任何有用的东西
  • 是的,但是当我构建插件时它崩溃了
  • 虽然我的 TFS 服务器工作正常,但收到这样的错误日志,现在卡在如何识别问题上。你解决了吗?
猜你喜欢
  • 2020-04-14
  • 2014-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-03-25
  • 1970-01-01
  • 2018-03-01
  • 2012-05-28
相关资源
最近更新 更多