Solved

ado issue

Posted on 2001-09-07
7
370 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to update exe applicatio from internet ? 6 87
how can i search if string exist in array ? 3 63
Add and format columns in vb6 7 63
Visual Studio 2005 text editor 10 44
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

830 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