login about faq

Hello!

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=9.5.0.0, 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

hermie
11


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

link

answered Sep 14 '14 at 11:20

hermie's gravatar image

hermie
11

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

link

answered Sep 15 '14 at 08:10

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×43
×18

Asked: Sep 14 '14 at 10:41

Seen: 1,052 times

Last updated: Sep 15 '14 at 08:10

powered by OSQA