我按到网上的说话在win7上面安装了vista版本的oracle 10.2.0.4.我用java和sqldeveloper都能正常连接到oracle,但用.net连接就会报错Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed,我也修改过项目属性,无论是选择x86,x64,AnyCpu都不行,我用的vs2010,安装目录为E:\Program Files (x86)\Code Tools,网上也有说法这个(x86)也有影响,但到底是怎么回事呢?