Problem: Capture Services crash and GUI fails to load. You examine the logs and notice that it indicates a failure to load 'IBM.Data.Informix', which should be located at C:\Program Files (x86)\PSIGEN\Capture\Libraries\IBM Informix\IBM.Data.Informix.dll
Solution: Something external to PSIcapture has corrupted or tampered with the above file. You may be able to copy this DLL from a working station if it is the same build of PSIcapture. However, you can also just uninstall PSIcapture and re-install and it should replace all DLL files.
[11/15/2016 2:15:57 AM - Error - v4.6.0.7]
Could not load file or assembly 'IBM.Data.Informix, Version=3.0.0.2, Culture=neutral, PublicKeyToken=7c307b91aa13d208' or one of its dependencies. The system cannot find the file specified.
at PSIGEN.Capture.Data.Database..ctor(FactoryType type)
at PSIGEN.Capture.Data.Database..ctor(FactoryType type, Assembly resourceAssembly, String schemaPath)
at PSIGEN.Capture.Data.Configuration.ConfigurationDataLayer.CreateDatabase(String dataPath, Assembly resourceAssembly, String schemaResource, String dataName)
[11/15/2016 2:16:07 AM - Error - v4.6.0.7]
ResolveAssembly[IBM.Data.Informix, Version=3.0.0.2, Culture=neutral, PublicKeyToken=7c307b91aa13d208]
Failed to load from path C:\Program Files (x86)\PSIGEN\Capture\Libraries\IBM Informix\IBM.Data.Informix.dll.
System.BadImageFormatException: Could not load file or assembly 'file:///C:\Program Files (x86)\PSIGEN\Capture\Libraries\IBM Informix\IBM.Data.Informix.dll' or one of its dependencies. The module was expected to contain an assembly manifest.
File name: 'file:///C:\Program Files (x86)\PSIGEN\Capture\Libraries\IBM Informix\IBM.Data.Informix.dll'
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.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.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at PSIGEN.Capture.Application.AssemblyResolver.LoadFromPath(String originalName, String name, String path)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Comments
Please sign in to leave a comment.