This trouble happens on the production environment, but not on development. Have any idea of what is it exactly or how to solve this?
ERROR NHibernate.Cfg.Configuration - Could not configure datastore from assembly
System.BadImageFormatException: Could not load file or assembly 'AssemblyName.AssemblyName' or one of its dependencies. The module was expected to contain an assembly manifest.
Hibernate version:
1.02
Full stack trace of any exception that occurs:
ERROR NHibernate.Cfg.Configuration - Could not configure datastore from assembly
System.BadImageFormatException: Could not load file or assembly 'AssemblyName.AssemblyName' or one of its dependencies. The module was expected to contain an assembly manifest.
File name: 'Petrobras.Tine.Sismed'
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at NHibernate.Cfg.Configuration.AddAssembly(String assemblyName)
Name and version of the database you are using:
Oracle 10g
|