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=9.5.0.65, 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 at 07:49

AndreBelo's gravatar image

AndreBelo
1


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".

link

answered Feb 20 at 09:24

chilkat's gravatar image

chilkat ♦♦
12.8k317363471

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

(Feb 20 at 09:29) AndreBelo

Hello, I updated my system from VS2008 to VS2015 and wanted to start with a new nuget version of Chilkat (9.5.0.65). 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

link

answered Mar 02 at 14:04

Reinhard's gravatar image

Reinhard
1

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:

×51
×19
×8

Asked: Feb 20 at 07:49

Seen: 592 times

Last updated: Mar 02 at 14:04

powered by OSQA