简体   繁体   中英

My Application not allow Interop.CDO to download a file

My Application does not allow Interop.CDO to download a file from FTP server, what can I need to do to resolve this issue?

Error message:

Could not load file or assembly 'Interop.CDO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Была сделана попытка загрузить программу, имеющую неверный формат.

Here's the English equivalent of the error:

An attempt was made to load a program with an incorrect format.

Can you check it's not a 32/64 bit issue? The underlying COM CDO dll is probably only supporting 32-bit processes. Your program maybe compiled as "x64" or as "Any CPU", but running on a 64-bit Windows.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM