Solved

Catastrophic failure

Posted on 2003-11-23
5
1,219 Views
Last Modified: 2013-12-25
Hi,
I try to connect Oracle and I get this run-time eror:
-2147418113(8000ffff)     catastrophic failure .

any ideas ?

Thanks
0
Comment
Question by:fdsafog56
  • 3
5 Comments
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 9805814
Show how you try to connect (your code).
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 9805815
0
 

Author Comment

by:fdsafog56
ID: 9808827
Here the code:

Dim conDB As New ADODB.Connection
Dim strCnn  As String

 strCnn = "DSN=visits;UID=visit;PWD=visit;DBQ=kvilot;DBA=W;APA=T;FEN=T;QTO=T;FRC=10;FDL=10;LOB=T;RST=T;FRL=F;PFC=10;TLO=0;"
 conDB.Open strCnn

0
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 25 total points
ID: 9809573
Unless you really need a DSN, don't use them. Better use the OLE DB providers connection strings like in the link I have provided.
0
 
LVL 1

Assisted Solution

by:robdogg10
robdogg10 earned 25 total points
ID: 9816079
Remove DBQ from your connection string.  It's already defined in the DSN.
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

Title # Comments Views Activity
Validating VB6 Function 19 56
to transfer string from C lanaguage to VBA 4 56
Sorting multiple rows and columns, and count duplicates in Excel 2013 4 68
vbModal 12 31
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

914 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