在Team Foundation Server的事件日志中出现错误

时间:2016-02-24 15:19:21

标签: c# tfs w3wp.exe

我不知道这是否是正确的问题,但每次打开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>

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

1 个答案:

答案 0 :(得分:0)

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

<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服务器,您可能会得到一些有用的东西。