Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# &引用;提供程序与Oracle客户端的版本不兼容;_C#_.net_Oracle - Fatal编程技术网

C# &引用;提供程序与Oracle客户端的版本不兼容;

C# &引用;提供程序与Oracle客户端的版本不兼容;,c#,.net,oracle,C#,.net,Oracle,我只是把我的asp.NETWeb服务放在远程主机上。该服务访问本地计算机上的oracle数据库。该服务在本地主机上运行时运行良好,但自从移动到远程hos后,我得到了 The provider is not compatible with the version of Oracle client at Oracle.DataAccess.Client.OracleInit.Initialize() at Oracle.DataAccess.Client.OracleConnecti

我只是把我的asp.NETWeb服务放在远程主机上。该服务访问本地计算机上的oracle数据库。该服务在本地主机上运行时运行良好,但自从移动到远程hos后,我得到了

The provider is not compatible with the version of Oracle client at
    Oracle.DataAccess.Client.OracleInit.Initialize() at
    Oracle.DataAccess.Client.OracleConnection..cctor()
--- End of inner exception stack trace --- at
    Oracle.DataAccess.Client.OracleConnection..ctor(String connectionString) at....
我知道错误与服务器/客户端上运行的数据提供程序版本有关。在我的例子中,我在项目中引用的唯一dll是Oracle.DataAccess

那么我该如何着手解决这个问题呢?请注意,除了我自己的项目之外,我无法在web主机上更改任何内容

我的本地计算机正在运行Oracle 11g


谢谢。

了解您的web主机站点上运行的Oracle客户端版本。如果是老客户,你需要

A) get your web host to update their software to something more up-to-date,
B) downgrade to an older version of Oracle that their client can deal with, or
C) change web hosts.

祝您好运。

了解您的web主机站点上运行的Oracle客户端版本。如果是老客户,你需要

A) get your web host to update their software to something more up-to-date,
B) downgrade to an older version of Oracle that their client can deal with, or
C) change web hosts.
祝你好运