Can't open Oracle Database connection.

R

Rvo

Hi all,

I have the following lines of code to access an Oracle Database:

'Imports System.Data.OracleClient
.....

'Dim myConnectionString As String = "Data Source=<databasename>;integrated
security=false;User ID=<theUser>; Password=<thePassword>"
'Dim myConnection As New OracleConnection(myConnectionString)

'myConnection.Open()

At this point I get a "system.EntryPointNotFoundException in
system.data?oracleclient.dll" errormessage which also mentions "Could not
find entrypoint OCEIEnvCreate in dll oci.dll"

I am sure that the used DBname, User ID and Password are correct. Can anyone
tell me what I'm doing wrong here?

Thanks in advance

Romain
 
H

Herfried K. Wagner [MVP]

* "Rvo said:
I have the following lines of code to access an Oracle Database:

'Imports System.Data.OracleClient
....

'Dim myConnectionString As String = "Data Source=<databasename>;integrated
security=false;User ID=<theUser>; Password=<thePassword>"
'Dim myConnection As New OracleConnection(myConnectionString)

'myConnection.Open()

At this point I get a "system.EntryPointNotFoundException in
system.data?oracleclient.dll" errormessage which also mentions "Could not
find entrypoint OCEIEnvCreate in dll oci.dll"

I am sure that the used DBname, User ID and Password are correct. Can anyone
tell me what I'm doing wrong here?

You will more likely get an answer here:

ADO.NET group:

<
Web interface:

<http://msdn.microsoft.com/newsgroup...s&newsgroup=microsoft.public.dotnet.framework.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top