WIN2003 + vs2008测试成功,但发布就出现“Could not load file or assembly'System.Data.Oracle。。
WIN2003 + vs2008 + oracle11g客户端 做WebService在本机测试成功,但发布到本机就出现错误,不知是何原因?请各位大虾帮忙分析分析。Server Error in '/' Application.
--------------------------------------------------------------------------------
Could not load file or assembly 'System.Data.OracleClient' or one of its dependencies. An attempt was made to load a program with an incorrect format.
--------------------编程问答-------------------- 微软已经放弃System.Data.OracleClient了,
建议安装ODP.NET,使用
using Oracle.DataAccess.Client;
http://www.oracle.com/technetwork/topics/dotnet/index-085163.html --------------------编程问答-------------------- 出现错误的原因可能是,你VS里面运行的是32位模式的,发布出来iis可能设置的是64位运行的 --------------------编程问答-------------------- 请问这个如何设置啊?
补充:.NET技术 , C#