PDA

View Full Version : Opening Databases from AutoCAD



pixelrat
19th Jul 2003, 07:50 am
I'm having problems opening databases from AutoCAD. I've tried it with a number of Microsoft Access files, but with no luck.

I created a data link, using Microsoft Jet 4.0 OLE DB Provider. I tested the connection & got "Test Connection Suceeded"

However, when I try to open a database from AutoCAD, I get the following:

Connection Failure

Can't connect to "Data Link"

The connect could have failed due to an incorrectly
entered user name or password, or because the data
source configuration file is no longer valid. Choose
configure to edit the data source configuration file, or
Close to dismiss this dialog box.

Database Error Information

Error: SQL-client unable to establish SQL
connection
Error: Multiple-step OLE DB operation generated
errors. Check each OLE DB status value, if
available. No work was done.

I've double-checked, & as far as I can tell, I've done everything properly.
Can anyone throw some light on this?

Cheers

SpeedCAD
21st Jul 2003, 10:55 pm
I'm having problems opening databases from AutoCAD. I've tried it with a number of Microsoft Access files, but with no luck.

I created a data link, using Microsoft Jet 4.0 OLE DB Provider. I tested the connection & got "Test Connection Suceeded"

However, when I try to open a database from AutoCAD, I get the following:

Connection Failure

Can't connect to "Data Link"

The connect could have failed due to an incorrectly
entered user name or password, or because the data
source configuration file is no longer valid. Choose
configure to edit the data source configuration file, or
Close to dismiss this dialog box.

Database Error Information

Error: SQL-client unable to establish SQL
connection
Error: Multiple-step OLE DB operation generated
errors. Check each OLE DB status value, if
available. No work was done.

I've double-checked, & as far as I can tell, I've done everything properly.
Can anyone throw some light on this?

Cheers

Hi...

You have all step. First you have that add the file *.mdb to ODBC. You make it with the command dbConnect?