团队城市Oracle错误

时间:2014-05-20 10:36:22

标签: c# oracle teamcity

我在构建调试和测试步骤中遇到有关Team city和Oracle的错误。

错误如下,

failed
Execute
System.Exception: System.Data.OracleClient requires Oracle client software version    8.1.7 or greater.
at System.Data.OracleClient.OCI.DetermineClientVersion()
at System.Data.OracleClient.OracleInternalConnection.OpenOnLocalTransaction(String  userName, String password, String serverName, Boolean integratedSecurity, Boolean unicode, Boolean omitOracleConnectionName)
at System.Data.OracleClient.OracleInternalConnection..ctor(OracleConnectionString  connectionOptions)
at  System.Data.OracleClient.OracleConnectionFactory.CreateConnection(DbConnectionOptions  options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.OracleClient.OracleConnection.Open()
at ILRetail.eBusiness.Common.Data.DataWrapper.ExecuteReader(String commandText, IDictionary`2 parameters) in c:\TeamCity\buildAgent\work\e01a0be7693c6bcf\Dev4.0\Common\src\DataUtility\DataWrapper.cs:line 71
at ILRetail.eBusiness.Common.Data.Database.ExecuteReader(String commandText, IDictionary`2 parameters) in c:\TeamCity\buildAgent\work\e01a0be7693c6bcf\Dev4.0\Common\src\DataUtility\Database.cs:line 130
at ILRetail.eBusiness.Common.Data.RepositoryBase.StringQuery(String sql, IDictionary`2 parameters) in c:\TeamCity\buildAgent\work\e01a0be7693c6bcf\Dev4.0\Common\src\DataUtility\RepositoryBase.cs:line 105
at ILRetail.eBusiness.Common.DataLayer.DataAccess.Implementation.BankRepository.BankExists(String sortCode) in c:\TeamCity\buildAgent\work\e01a0be7693c6bcf\Dev4.0\Common\src\DataLayer\DataAccess\Implementation\BankRepository.cs:line 22
at ILRetail.eBusiness.Common.DataLayer.Tests.BankRepositoryTests.Exists(IPosAdminDatabase db) in c:\TeamCity\buildAgent\work\e01a0be7693c6bcf\Dev4.0\Common\test\Common.DataLayer.Tests\BankRepositoryTests.cs:line 17
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)

为什么有任何想法?它只是更新Oracle吗?因为我非常确定老人说甲骨文是更新的吗?任何帮助,将不胜感激。 谢谢!

1 个答案:

答案 0 :(得分:0)

从错误日志:

System.Exception: System.Data.OracleClient requires Oracle client software version    8.1.7 or greater.

看起来您的oracle客户端需要更新。您需要将teamcity代理上的oracle客户端更新为8.1.7 or greater.