Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/280.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 在Team Foundation服务器的事件日志中获取错误_C#_Tfs_W3wp.exe - Fatal编程技术网

C# 在Team Foundation服务器的事件日志中获取错误

C# 在Team Foundation服务器的事件日志中获取错误,c#,tfs,w3wp.exe,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}" />

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

0
0
2.
1.
10
0x800000000000001
650
微软Team Foundation服务器/调试
WIN-U8K4FA701IJ
599999
{00000000-0000-0000-0000-000000000000} 
0
w3wp
网络访问
控制器
System.Reflection.ReflectionTypeLoadException:meer van de gevraagde的Kan een niet Ladden类型。Haal de LoaderExceptions eigenschap op voor meer informatie。bij System.Reflection.RuntimeModule.GetTypes(RuntimeModule模块)bij System.Reflection.RuntimeModule.GetTypes()bij System.Reflection.Assembly.GetTypes()bij Microsoft.TeamFoundation.Server.WebAccess.TypeUtils.GetAllTypes(IEnumerable`1程序集,Func`2筛选器)
我试着重新安装了所有的东西,但没有麻烦。
谁知道是什么原因导致了这个错误?

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

<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>
System.Reflection.ReflectionTypeLoadException:无法加载一个或多个请求的类型。有关详细信息,请检索LoaderExceptions属性。
位于System.Reflection.RuntimeModule.GetTypes(RuntimeModule)
在System.Reflection.RuntimeModule.GetTypes()中
在System.Reflection.Assembly.GetTypes()处
位于Microsoft.TeamFoundation.Server.WebAccess.TypeUtils.GetAllTypes(IEnumerable`1程序集,Func`2筛选器)

此错误可能是由各种因素造成的,例如,如果您没有很好地配置生成服务。尝试安装,然后运行BPA扫描您的TFS 2012服务器,您可能会得到一些有用的信息。

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

<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>
System.Reflection.ReflectionTypeLoadException:无法加载一个或多个请求的类型。有关详细信息,请检索LoaderExceptions属性。
位于System.Reflection.RuntimeModule.GetTypes(RuntimeModule)
在System.Reflection.RuntimeModule.GetTypes()中
在System.Reflection.Assembly.GetTypes()处
位于Microsoft.TeamFoundation.Server.WebAccess.TypeUtils.GetAllTypes(IEnumerable`1程序集,Func`2筛选器)

此错误可能是由各种因素造成的,例如,如果您没有很好地配置生成服务。尝试安装,然后运行BPA扫描您的TFS 2012服务器,您可能会得到一些有用的信息。

什么版本的TFS?什么操作系统?Tfs2012和Windows server 2012您的TFS是否按预期工作?您的TFS 2012是否已升级到最新版本更新4?我已更新到更新4,但这仅用于可视化研究什么版本的TFS?什么操作系统?Tfs2012和Windows server 2012您的TFS是否按预期工作?您的TFS 2012是否已升级到最新版本更新4?我已更新为更新4,但这仅用于视觉研究。我没有从BPA中获得任何有用的信息,但当我构建插件时,它会崩溃,尽管我的TFS服务器工作正常,获取这样的错误日志,现在陷入了如何识别问题的困境。你解决了这个问题吗?我没有从BPA那里得到任何有用的信息,但是当我构建一个插件时,它崩溃了,尽管我的TFS服务器工作正常,但得到了这样一个错误日志,现在陷入了如何识别问题的困境。你解决了这个问题吗?