pkp070699
asked on
ado issue
i hv built a vb program with using ado recordset. The ado with retrieve data from SQL server database and Orac database. After i compile this vb program into application setup , i install this program on end user PCs(NT workstation & Win95). But an error will occur in certain Win95 PC during running this program.
-----------------------
Run-time error '2147467259(80004005)' Specified driver could not be loaded due to system error 1157 ( Oracle73Ver 2.5)
-------------------------
after i traced the problem, i found that this error will appear only when ado try to make connection to oracle. Here is my program statement:
...........
...........
'this ado will connect to SQL database
FConnectionString = "DSN=gs" & ";UID=coser;PWD=;"
adoFConnection.Open FConnectionString (no error display)
adoFJobTimeBlks.Open sSql, adoFConnection
...................
..................
'this ado will connect to Oracle database
MConnectionString = "DSN=erp" & ";UID=fcr;PWD=fcr;"
adoMConnection.Open MConnectionString (error display)
adoMJobTimeBlks.Open MsSql, adoMConnection
..................
...............
I hv checked all ODBC setting and Oracle client "SQL Net easy configuration". I also hv Orac client "32 bit ODBC Test" but still can't solve this problem. Pls help.
-----------------------
Run-time error '2147467259(80004005)' Specified driver could not be loaded due to system error 1157 ( Oracle73Ver 2.5)
-------------------------
after i traced the problem, i found that this error will appear only when ado try to make connection to oracle. Here is my program statement:
...........
...........
'this ado will connect to SQL database
FConnectionString = "DSN=gs" & ";UID=coser;PWD=;"
adoFConnection.Open FConnectionString (no error display)
adoFJobTimeBlks.Open sSql, adoFConnection
...................
..................
'this ado will connect to Oracle database
MConnectionString = "DSN=erp" & ";UID=fcr;PWD=fcr;"
adoMConnection.Open MConnectionString (error display)
adoMJobTimeBlks.Open MsSql, adoMConnection
..................
...............
I hv checked all ODBC setting and Oracle client "SQL Net easy configuration". I also hv Orac client "32 bit ODBC Test" but still can't solve this problem. Pls help.
In one of the win95 machines,if vb is installed,pls check the connection using ado with oracle!!!If ado is able to connect to oracle then there is some problem with oracle or its machine specific set.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
On second thoughts...
These specific 95, do they have the appropriate oracle drivers installed. Check version numbers.
Bye
Rem
These specific 95, do they have the appropriate oracle drivers installed. Check version numbers.
Bye
Rem
Install the Oracle ODBC components to the Windows systems, where you get the problem.
You need to install the Oracle client.
Anthony
Anthony
Hi pkp,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:
Accept Rem's comment(s) as an answer.
pkp, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you. DO NOT accept this comment as an answer.
EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:
Accept Rem's comment(s) as an answer.
pkp, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you. DO NOT accept this comment as an answer.
EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
Per recommendation, force-accepted.
Netminder
CS Moderator
Netminder
CS Moderator