我需要在oracle和mssql之间进行通信。我在mssql中使用CLR和这个例子:
期间发生了.NET Framework错误 执行用户定义的例程或 聚合“Function1”: System.InvalidOperationException:The 'OraOLEDB.Oracle'提供商不是 在本地机器上注册。 System.InvalidOperationException:at System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr,DataSourceWrapper& datasrcWrapper)at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr,OleDbConnection连接)at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options,Object poolGroupProviderInfo, DbConnectionPool池,DbConnection 拥有对象) System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(的DbConnection owningConnection, DbConnectionPoolGroup poolGroup)at System.Data.ProviderBase.DbConnectionFactory.GetConnection(的DbConnection 拥有连接) System.Data.ProviderBase.DbConnectionClosed.OpenConnection(的DbConnection outerConnection,DbConnectionFactory connectionFactory)at System.Data.OleDb.OleDbConnection.Open() 在UserDefinedFunctions.Function1()
答案 0 :(得分:1)
安装相关的Oracle驱动程序
正如它所说:
'OraOLEDB.Oracle'提供程序未在本地计算机上注册