Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle 19c and MS.Net 2019

user8173067Jan 12 2022

Hi All,
I'm trying to connect Oracle 19c database via .net in 2019 using oledb connection.
Getting an error as provider not registered, I had installed provider for the same.
Any luck?
Code sample below,
Dim conodbc As New System.Data.OleDb.OleDbConnection("Provider=OraOLEDB.Oracle;;Password=xxx;Persist Security Info=True;User ID=xxx;Data Source=xxx")
conodbc.Open() - this gives error as "The 'OraOLEDB.Oracle' provider is not registered on the local machine"

Comments
Post Details
Added on Jan 12 2022
5 comments
753 views