I built a web service approx a year ago which utilizes a 3rd party component (chilkatDotNet2.dll). This dll comes in both 32-bit and 64-bit flavors. So far, so good.
My problem is successfully publishing my VS2008 Web Service project to a 64-bit server. If I do a build using the 32-bit version, the build is successful, but when I go to run it on the server, I get a "Yellow Screen of Death" which says, "Could
not load file or assembly 'ChilkatDotNet2' or one of its dependencies. An attempt was made to load a program with an incorrect format."
If I remove that reference and add a new reference to the 64-bit version of the program, the build actually fails, giving me that same error message from within the IDE when I attempt to build the project.
There's got to be a way around this. Doesn't there? How can I build on my 32-bit machine and get it to run on a 64-bit machine? I can use either dll, so if there's a way to make the 32-bit dll work on Windows 2003 64-bit IIS, that's acceptable
too. I just don't know what I should do or how I should do it, and I hope you experts out there can guide me. Thanks!
View Complete Post