mercredi 15 février 2017

Azure worker role throwing System.IO.FileNotFoundException

I redeployed an operational Azure worker role with a few changes that involve referencing a new class library project I have set up and have begun to see the worker role endlessly reboot/recycle.

The Event Viewer Application logs provide very little help as the error I receive is very generic.

Source: .NET Runtime

Application: WaWorkerHost.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.FileNotFoundException Stack: at System.ModuleHandle.ResolveType(System.Reflection.RuntimeModule, Int32, IntPtr*, Int32, IntPtr*, Int32, System.Runtime.CompilerServices.ObjectHandleOnStack) at System.ModuleHandle.ResolveType(System.Reflection.RuntimeModule, Int32, IntPtr*, Int32, IntPtr*, Int32, System.Runtime.CompilerServices.ObjectHandleOnStack) at System.ModuleHandle.ResolveTypeHandleInternal(System.Reflection.RuntimeModule, Int32, System.RuntimeTypeHandle[], System.RuntimeTypeHandle[]) at System.ModuleHandle.ResolveTypeHandle(Int32, System.RuntimeTypeHandle[], System.RuntimeTypeHandle[]) at System.Reflection.RuntimeModule.ResolveType(Int32, System.Type[], System.Type[]) at 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) at System.Reflection.CustomAttribute.GetCustomAttributes(System.Reflection.RuntimeModule, Int32, Int32, System.RuntimeType, Boolean, System.Collections.IList, Boolean) at System.Reflection.CustomAttribute.GetCustomAttributes(System.Reflection.RuntimeAssembly, System.RuntimeType) at Microsoft.WindowsAzure.Hosts.Worker.Loader.CreateConsoleRole(Microsoft.WindowsAzure.Hosts.Worker.Parameters) at Microsoft.WindowsAzure.Hosts.Worker.Loader.Main(System.String[])

Source: Application Error

Faulting application name: WaWorkerHost.exe, version: 2.7.1198.768, time stamp: 0x57159090 Faulting module name: KERNELBASE.dll, version: 6.3.9600.18340, time stamp: 0x57366075 Exception code: 0xe0434352 Fault offset: 0x0000000000008a5c Faulting process id: 0xf20 Faulting application start time: 0x01d287c5480b416f Faulting application path: E:\base\x64\WaWorkerHost.exe Faulting module path: D:\Windows\system32\KERNELBASE.dll Report Id: 85f9c3f7-f3b8-11e6-80c1-0004ff9da18e Faulting package full name: Faulting package-relative application ID:

I've searched for this but haven't come across anyone receiving an error message as generic as this.

My own logging doesn't provide much insight either. All I know is that the WorkerRole doesn't hit the OnStart method.

Are there any other logs that could help narrow down the issue?

Thanks in advance.





Aucun commentaire:

Enregistrer un commentaire