【发布时间】:2017-02-15 20:08:25
【问题描述】:
我重新部署了一个可操作的 Azure 辅助角色,并进行了一些更改,其中涉及引用我已设置的新类库项目,并开始看到辅助角色无休止地重新启动/回收。
事件查看器应用程序日志提供的帮助很少,因为我收到的错误非常普遍。
来源:.NET 运行时
应用程序:WaWorkerHost.exe 框架版本:v4.0.30319 说明:进程因未处理的异常而终止。 异常信息:System.IO.FileNotFoundException 堆: 在 System.ModuleHandle.ResolveType(System.Reflection.RuntimeModule,Int32,IntPtr*,Int32,IntPtr*,Int32,System.Runtime.CompilerServices.ObjectHandleOnStack) 在 System.ModuleHandle.ResolveType(System.Reflection.RuntimeModule,Int32,IntPtr*,Int32,IntPtr*,Int32,System.Runtime.CompilerServices.ObjectHandleOnStack) 在 System.ModuleHandle.ResolveTypeHandleInternal(System.Reflection.RuntimeModule,Int32,System.RuntimeTypeHandle[],System.RuntimeTypeHandle[]) 在 System.ModuleHandle.ResolveTypeHandle(Int32,System.RuntimeTypeHandle[],System.RuntimeTypeHandle[]) 在 System.Reflection.RuntimeModule.ResolveType(Int32,System.Type[],System.Type[]) 在 System.Reflection.CustomAttribute.FilterCustomAttributeRecord(System.Reflection.CustomAttributeRecord, System.Reflection.MetadataImport, System.Reflection.Assembly ByRef, System.Reflection.RuntimeModule, System.Reflection.MetadataToken, System.RuntimeType, Boolean, System.Object[ ], System.Collections.IList, System.RuntimeType ByRef, System.IRuntimeMethodInfo ByRef, Boolean ByRef, Boolean ByRef) 在 System.Reflection.CustomAttribute.GetCustomAttributes(System.Reflection.RuntimeModule,Int32,Int32,System.RuntimeType,布尔值,System.Collections.IList,布尔值) 在 System.Reflection.CustomAttribute.GetCustomAttributes(System.Reflection.RuntimeAssembly,System.RuntimeType) 在 Microsoft.WindowsAzure.Hosts.Worker.Loader.CreateConsoleRole(Microsoft.WindowsAzure.Hosts.Worker.Parameters) 在 Microsoft.WindowsAzure.Hosts.Worker.Loader.Main(System.String[])
来源:应用程序错误
错误应用程序名称:WaWorkerHost.exe,版本:2.7.1198.768,时间戳:0x57159090 错误模块名称:KERNELBASE.dll,版本:6.3.9600.18340,时间戳:0x57366075 异常代码:0xe0434352 故障偏移:0x0000000000008a5c 故障进程ID:0xf20 错误应用程序启动时间:0x01d287c5480b416f 错误的应用程序路径:E:\base\x64\WaWorkerHost.exe 错误模块路径:D:\Windows\system32\KERNELBASE.dll 报告 ID:85f9c3f7-f3b8-11e6-80c1-0004ff9da18e 故障包全名: 错误的包相关应用程序 ID:
我已经搜索过这个,但没有遇到任何人收到如此通用的错误消息。
我自己的日志记录也没有提供太多洞察力。我只知道 WorkerRole 没有命中 OnStart 方法。
还有其他日志可以帮助缩小问题范围吗?
提前致谢。
【问题讨论】:
标签: c# .net azure reflection azure-worker-roles