INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

DAO Error Code: 0xcca

DAO Error Code: 0xcca

(OP)
Hi there! I'm not sure if anyone else has come across this but it's driving me bonkers. I am constantly imported excel (.xls) files into Crystal so I can manipulate them, run formulas, etc. I did this on 10/30/17. When I went to do the same thing on 11/6, I got this error (and am still getting today):

Logon failed.
Details: DAO Error Code: 0xxca
Source: DAO.Workspace
Description: External table is not in the expected format.

I am using a 2003 .xls files (as I've always done). I'm importing using Excel 3.0 (as I've always done). Nothing has changed when it comes to what I'm doing and I've never seen this error before. I googled it and of course it says makes sure it's .xls and all this other stuff but I've been doing this same thing for 5+ years and I know that I'm importing the right file type and all that. It's always worked for me.

I've looked at windows updates and tried to look at anything that could have changed since the last time I did this but haven't found anything. We even did a system restore, it was a no-go.

Has anyone come across this and been able to fix it? Any help is greatly appreciated!

Thanks!

RE: DAO Error Code: 0xcca

Hi,

Try...

CODE

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=myFile.xls;
Extended Properties=""Excel 8.0;IMEX=1;HDR=YES;"" 

Skip,

glassesJust traded in my OLD subtlety...
for a NUance!tongue

RE: DAO Error Code: 0xcca

(OP)
Hi Skip,
Where do I get to these options? Under Create New Connection - Access/Excel (DAO)? I am looking all over :). I did go under OLE DB (ADO) but I don't see Microsoft.ACE.OLEDB.12.0 as an opion.

Thank you in advance!

RE: DAO Error Code: 0xcca

Then what is your connect string?

Skip,

glassesJust traded in my OLD subtlety...
for a NUance!tongue

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close