"ODBC Microsoft Access Driver Log-in Failed"

mlopes1

Board Regular
Joined
Jul 14, 2002
Messages
114
I'm retrieving external data from Access using Microsoft Query. When I run this query on my desktop all files are located on the D: drive. The query runs fine.

I then transferred the spreadsheet, mdb and query to my laptop and tried to use them. My laptop's .mdb, .xls and .dqy files are located on identical paths except it is the C: drive. I updated the paths on the saved query to C:\ etc... changing nothing else. I receive the error message "ODBC Microsoft Access Driver Log-in Failed"- "Disk or network error".

However if I create the same query from scratch on the laptop, with IDENTICAL code, the worksheet runs fine. However, if I then save the worksheet, transfer it to the desktop, the worksheet can no longer refresh the query. And I also receive the same error message.

Is excel putting code that I dont see indicating the old (wrong) path in the excel worksheet or elsewhere other than in the query I've edited?
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,203,461
Messages
6,055,559
Members
444,799
Latest member
CraigCrowhurst

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top