1

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

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

4

1 回答 1

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

于 2016-02-25T06:36:43.203 回答