管理中心创建oracle数据库报错
869次浏览
编辑于2015年12月23日 16:22:54
请教:安装了oracle r2,在cloud管理中心创建时,测试连接报错,具体报错信息如下:
The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception.
Stack Trace: at Oracle.DataAccess.Client.OracleConnection..ctor(String connectionString)
at Kingdee.BOS.App.Data.Oracle.OracleDatabase.TestDbOpenConnection(String strDbConnectionString, String& strErrMsg)
at Kingdee.BOS.App.Data.DBUtils.TestDbOpenConnection(DatabaseType dbType, IDataCenterInfo dataCenterInfo, Boolean bIsDBAConnection, String& strErrMsg)
at Kingdee.BOS.App.Security.K3DataCenterService.TestDbOpenConnection(DatabaseType dbType, IDataCenterInfo dataCenterInfo, Boolean bIsDBAConnection, String& strErrMsg)
at Kingdee.BOS.ServiceHelper.DataCenterService.TestDbOpenConnection(String ServerUrl, DatabaseType dbType, IDataCenterInfo dataCenterInfo, Boolean bIsDBAConnection, String& strErrMsg)
at Kingdee.BOS.Web.CMC_Ajax.TestDbConnection(AbstarctDataCenterInfo dc, Boolean bIsDBAConnection)
at Kingdee.BOS.Web.CMC_Ajax.TestConnect(Boolean isDBATestConnect, IDictionary`2 formItems, String createType, String preMsg, String& retMessage)
at Kingdee.BOS.Web.CMC_Ajax.TestConnect()
The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception.
Stack Trace: at Oracle.DataAccess.Client.OracleConnection..ctor(String connectionString)
at Kingdee.BOS.App.Data.Oracle.OracleDatabase.TestDbOpenConnection(String strDbConnectionString, String& strErrMsg)
at Kingdee.BOS.App.Data.DBUtils.TestDbOpenConnection(DatabaseType dbType, IDataCenterInfo dataCenterInfo, Boolean bIsDBAConnection, String& strErrMsg)
at Kingdee.BOS.App.Security.K3DataCenterService.TestDbOpenConnection(DatabaseType dbType, IDataCenterInfo dataCenterInfo, Boolean bIsDBAConnection, String& strErrMsg)
at Kingdee.BOS.ServiceHelper.DataCenterService.TestDbOpenConnection(String ServerUrl, DatabaseType dbType, IDataCenterInfo dataCenterInfo, Boolean bIsDBAConnection, String& strErrMsg)
at Kingdee.BOS.Web.CMC_Ajax.TestDbConnection(AbstarctDataCenterInfo dc, Boolean bIsDBAConnection)
at Kingdee.BOS.Web.CMC_Ajax.TestConnect(Boolean isDBATestConnect, IDictionary`2 formItems, String createType, String preMsg, String& retMessage)
at Kingdee.BOS.Web.CMC_Ajax.TestConnect()
推荐阅读