城市队Oracle错误
本文关键字:错误 Oracle 城市 | 更新日期: 2023-09-27 18:04:16
我在构建调试和测试步骤中遇到了关于团队城市和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吗?因为我很确定前辈说甲骨文更新了?任何帮助都会很感激。谢谢!
从错误日志中:
System.Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
看起来你的oracle客户端需要更新。您需要将teamcity代理上的oracle客户端更新为8.1.7 or greater.