SmartAssembly 8 - "System.IO.FileNotFoundException: Could not load file or assembly" error
alialtansaka
Posts: 3 New member
We got an error while starting the SmartAssembly8, it was worked before but the missed file name is not present on error
System.TypeInitializationException: The type initializer for '?.' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly '{54781419-5079-424e-a2cd-a3bd3c4a5eb2}, PublicKeyToken=3e56350693f7355e' or one of its dependencies. The system cannot find the file specified.
System.TypeInitializationException: The type initializer for '?.' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly '{54781419-5079-424e-a2cd-a3bd3c4a5eb2}, PublicKeyToken=3e56350693f7355e' or one of its dependencies. The system cannot find the file specified.
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at ..(Object , ResolveEventArgs )
at System.AppDomain.OnResourceResolveEvent(RuntimeAssembly assembly, String resourceName)
at System.Reflection.RuntimeAssembly.GetResource(RuntimeAssembly assembly, String resourceName, UInt64& length, StackCrawlMarkHandle stackMark, Boolean skipSecurityCheck)
at System.Reflection.RuntimeAssembly.GetManifestResourceStream(String name, StackCrawlMark& stackMark, Boolean skipSecurityCheck)
at System.Reflection.RuntimeAssembly.GetManifestResourceStream(String name)
at ?...cctor()
Best Answer
-
volbol Posts: 2 New memberI had a talk with RedGate support on this and for us the cause was Windows Defender flagging a temporary dll under the the user temp directory as containing a trojan. Telling Windows Defender to ignore this makes SmartAssembly run again.
Answers