login about faq

Getting the error : "Could not load file or assembly 'ChilkatDotNet45, Version=9.4.1.0, Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd' or one of its dependencies. An attempt was made to load a program with an incorrect format."

Any ideas ?

asked Nov 06 '13 at 19:01

JohnThePom's gravatar image

JohnThePom
1111

The above error arises when running the code. Its written in VB.NET targetting >net 4.5 Framework.

On compilation I get the following warning :

C:Program Files (x86)MSBuild12.0binMicrosoft.Common.CurrentVersion.targets(1635,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "ChilkatDotNet45", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.

(Nov 07 '13 at 04:32) JohnThePom

Hey dumbo try using the 32 bit version !! It works !!

link

answered Nov 07 '13 at 04:46

JohnThePom's gravatar image

JohnThePom
1111

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:

×131
×15
×1

Asked: Nov 06 '13 at 19:01

Seen: 2,312 times

Last updated: Nov 07 '13 at 04:46

powered by OSQA