T
tommaso.gastaldi
Hi I have a question:
I have been connecting to oracle on my own machine successfully by
using either one of the 2 following:
Me.ConnectionString = _
"Provider=OraOLEDB.Oracle" & _
";User ID=" & Me.UserId & _
";Password=" & Me.Password & _
";Data Source=" & Me.ServiceName
Me.ConnectionString = _
"Provider=MSDAORA" & _
";User ID=" & Me.UserId &
_
";Password=" & Me.Password
& _
";Data Source=" &
Me.ServiceName & _
";Persist Security
Info=False"
Now it occurs to me that I have installed (as administrator) the Client
Oracle on a machine which is used in a university class and there are
some restrictions for the users (students).
There happens that if I use Provider=OraOLEDB.Oracle" & ... I receive
an error message that says that "the Oracle Client is not registered
on the local machine".
This happens in any case, regardless whether I log as admnistrator or
as user.
If I use "Provider=MSDAORA" ... the connection works fine.
I cannot explain this behaviour and I would like to have some light
from you. Actually I am not even clear on what is the essential
difference between the 2 ways of connecting, as both need the oracle
client.
Any explanation is much apprecciate.
-tom
I have been connecting to oracle on my own machine successfully by
using either one of the 2 following:
Me.ConnectionString = _
"Provider=OraOLEDB.Oracle" & _
";User ID=" & Me.UserId & _
";Password=" & Me.Password & _
";Data Source=" & Me.ServiceName
Me.ConnectionString = _
"Provider=MSDAORA" & _
";User ID=" & Me.UserId &
_
";Password=" & Me.Password
& _
";Data Source=" &
Me.ServiceName & _
";Persist Security
Info=False"
Now it occurs to me that I have installed (as administrator) the Client
Oracle on a machine which is used in a university class and there are
some restrictions for the users (students).
There happens that if I use Provider=OraOLEDB.Oracle" & ... I receive
an error message that says that "the Oracle Client is not registered
on the local machine".
This happens in any case, regardless whether I log as admnistrator or
as user.
If I use "Provider=MSDAORA" ... the connection works fine.
I cannot explain this behaviour and I would like to have some light
from you. Actually I am not even clear on what is the essential
difference between the 2 ways of connecting, as both need the oracle
client.
Any explanation is much apprecciate.
-tom