Can't open Oracle Database connection.

  • Thread starter Thread starter Rvo
  • Start date Start date
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
 
* "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.
 
Back
Top