Solved

ado issue

Posted on 2001-09-07
7
367 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…

867 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

19 Experts available now in Live!

Get 1:1 Help Now