If you are getting the following error in Visual Studio:Could not load file or assembly ‘ChilkatDotNet2’ or one of it’s dependencies. An attempt was made to load a program with an incorrect format.
Double-check which version of the ChilkatDotNet2.dll file you are using. Sitecore 6.5 comes with two versions, a 32 bit version and a 64 bit version. If you are running Visual Studio in 32 bit you’ll need to use the 32 bit version. If you’re running Visual Studio in 64 bit you’ll need to use the 64 bit version.