exterminador Posted February 24, 2016 Report Share Posted February 24, 2016 Hi there, I finally got to upgrade to Daminion 4.5 :) At first, I got the following error after enabling Web Access: In case somebody else get this error I thought I'd share the details. It happens when using a 64-bit system and the IIS Application Pool is not enabled to run 32-bit applications. Below is a small article with more details on how to fix it: It’s because you are trying to run 32 bit dlls on a 64 bit system. Fix it in IIS manager by changing the advanced settings on you application pool to enable 32 bit applications. Or create a new app pool specifically for them. http://www.cafe-encounter.net/p379/asp-net-iis7-system-badimageformatexception-could-not-load-file-or-assembly#gsc.tab=0 Hope it helps. Regards Error details for reference: Server Error in '/daminion' Application. Could not load file or assembly 'PicaJet.Daminion.BusinessObjects' or one of its dependencies. An attempt was made to load a program with an incorrect format. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.BadImageFormatException: Could not load file or assembly 'PicaJet.Daminion.BusinessObjects' or one of its dependencies. An attempt was made to load a program with an incorrect format. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Assembly Load Trace: The following information can be helpful to determine why the assembly 'PicaJet.Daminion.BusinessObjects' could not be loaded. 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]. Stack Trace: [badImageFormatException: Could not load file or assembly 'PicaJet.Daminion.BusinessObjects' or one of its dependencies. An attempt was made to load a program with an incorrect format.] System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +234 System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +108 System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +25 System.Reflection.Assembly.Load(String assemblyString) +34 System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +49 [ConfigurationErrorsException: Could not load file or assembly 'PicaJet.Daminion.BusinessObjects' or one of its dependencies. An attempt was made to load a program with an incorrect format.] System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +772 System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +256 System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +58 System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +237 System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +101 System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +142 System.Web.Compilation.BuildManager.ExecutePreAppStart() +172 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +907 [HttpException (0x80004005): Could not load file or assembly 'PicaJet.Daminion.BusinessObjects' or one of its dependencies. An attempt was made to load a program with an incorrect format.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +579 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +118 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +730 Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1038.0 Quote Link to comment Share on other sites More sharing options...
Murat Posted February 24, 2016 Report Share Posted February 24, 2016 Thank you, Nabani! Quote Link to comment Share on other sites More sharing options...
rene Posted February 26, 2016 Report Share Posted February 26, 2016 I used this article and it didn't work: http://www.alexjamesbrown.com/blog/development/could-not-load-file-or-assembly-chilkatdotnet2-or-one-of-its-dependencies-an-attempt-was-made-to-load-a-program-with-an-incorrect-format/ Quote Link to comment Share on other sites More sharing options...
Murat Posted February 26, 2016 Report Share Posted February 26, 2016 Should be fixed soon. Quote Link to comment Share on other sites More sharing options...
Murat Posted April 5, 2016 Report Share Posted April 5, 2016 Nabani, can you please confirm that the issue was fixed in the latest build? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.