login about faq

Can you help me with this problem,

An unhandled exception of type 'System.BadImageFormatException' occurred in App.exe Additional information: Could not load file or assembly 'ChilkatDotNet45, Version=, Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd' or one of its dependencies. An attempt was made to load a program with an incorrect format.

My project have the reference to ChilkatDotNet45.dll(32-bits) and it's compile to 32-bits. There is a solution for this problem?.

asked Feb 20 '17 at 07:49

AndreBelo's gravatar image


This is "Common Error #1" described on each Chilkat .NET download web page, such as here: https://www.chilkatsoft.com/x64_Framework46.asp

Also, for any error message, it's productive to Google (or Bing, DuckDuckGo, etc.) the error message in conjunction with the keyword "chilkat". For example, Google "chilkat attempt was made to load a program with an incorrect format".


answered Feb 20 '17 at 09:24

chilkat's gravatar image

chilkat ♦♦

I've already tried the solutions described, but none worked

(Feb 20 '17 at 09:29) AndreBelo

Hello, I updated my system from VS2008 to VS2015 and wanted to start with a new nuget version of Chilkat ( When I start the application (web application), I get the error: [BadImageFormatException: Die Datei oder Assembly "ChilkatDotNet46" oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.]

I have Debug and Any CPU selected on a Win10 64-bit System. It seems, that there is no option for prefer 32-bit to disable in Website-Project. What could be the reason for the error? Thank you in advance, Reinhard


answered Mar 02 '17 at 14:04

Reinhard's gravatar image


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: Feb 20 '17 at 07:49

Seen: 3,154 times

Last updated: Mar 02 '17 at 14:04

powered by OSQA