Solved

ado issue

Posted on 2001-09-07
7
365 Views
Last Modified: 2013-11-23
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.
0
Comment
Question by:pkp070699
7 Comments
 

Expert Comment

by:pritam_dewan
ID: 6463333
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.
0
 
LVL 3

Accepted Solution

by:
Rem earned 20 total points
ID: 6463337
Hi,

Best guess is, you need to install DCOM95 or 98 on the client computer (that is those machines under windows 95 or 98).
Normally your P & D wizzard should have warned you about this issue when you created the setup of your program.

Bye

Rem
0
 
LVL 3

Expert Comment

by:Rem
ID: 6463341
On second thoughts...
These specific 95, do they have the appropriate oracle drivers installed. Check version numbers.

Bye

Rem
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 9

Expert Comment

by:Valliappan AN
ID: 6463632
Install the Oracle ODBC components to the Windows systems, where you get the problem.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 6464374
You need to install the Oracle client.

Anthony
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7207712
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
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7241039
Per recommendation, force-accepted.

Netminder
CS Moderator
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now