Solved

Catastrophic failure

Posted on 2003-11-23
5
1,223 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 70

Expert Comment

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

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 70

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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 process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

776 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