Solved

Catastrophic failure

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

757 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

18 Experts available now in Live!

Get 1:1 Help Now