login about faq


I get the message

BindingFailure occred. Message: The assistant for managed debugging has detected a ""BindingFailure"" in ""D:DevProjectsMyAppbinDebugMyApp.vshost.exe"". Additional Information: The assembly "ChilkatDotNet45" could not be loaded in the "Load"-Binding context of AppDomain ID 1. Error: System.BadImageFormatException: The file or assembly "ChilkatDotNet45, Version=, Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd" or one of its dependencies was not found. It was attempted to load a file with the wrong format.

Can you help?

Thank you.

ps: I am using VS 2013 Ultimate System: Windows 7, 64 bit Debug configuration: Any CPU, Prefer 32 bit

asked Sep 14 '14 at 10:41

hermie's gravatar image


Well, I have disabled the option "Prefer 32 bit" now, and it works without any error. But I don't understand why.


answered Sep 14 '14 at 11:20

hermie's gravatar image


The "Prefer 32 bit" option in your Visual Studio project settings, if set, causes your application to run as a 32-bit process on any computer including 64-bit computers. If this is the case, then make sure to use the 32-bit Chilkat .NET assembly. See http://www.chilkatforum.com/questions/114/64bit-could-not-load-file-or-assembly-chilkatdotnet4-or-one-of-its-dependencies-an-attempt-was-made-to-load-a-program-with-an-incorrect-format


answered Sep 15 '14 at 08:10

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Sep 14 '14 at 10:41

Seen: 1,875 times

Last updated: Sep 15 '14 at 08:10

powered by OSQA