Re: Microsoft OLE DB Provider for ODBC Drivers error '80004005'

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Jeff Cochran (jeff.nospam_at_zina.com)
Date: 08/26/04


Date: Thu, 26 Aug 2004 11:41:19 GMT

Your original posted error was:

>Microsoft JET Database Engine error '80004005'
>Could not find file 'C:\AccessDB\access.mdb'.

Your connection was:

><%
> cst = "Provider=Microsoft.Jet.OLEDB.4.0;Data
>Source=C:\AccessDB\access.mdb;"
> set conn = CreateObject("ADODB.Connection")
> conn.open cst
>%>

When you looked at this:

> Directory of C:\accessdb

You got this:

>08/25/2004 02:43p 1,941,504 dprdb.mdb

Hate to point out the obvious, but the connection source is a file
named "access.mdb" and the error is that the file "access.mdb" can't
be found. Take a look at your directory listing. Yep, there is no
file named "access.mdb" there. Your file is named "dprdb.mdb".

Sometimes error messages really are that straight forward.

Solution: Okay, if you missed it on your directory listing, this may
not be as obvious to you as it seems like it should be. Change your
connection string to the correct file name.

Jeff



Relevant Pages

  • Re: Microsoft OLE DB Provider for ODBC Drivers error 80004005
    ... > conn.open cst ... Hate to point out the obvious, but the connection source is a file ... Okay, if you missed it on your directory listing, this may ...
    (microsoft.public.inetserver.asp.db)
  • FTP Question
    ... What are the bare minimum ports needs to allow connection to FTP server via ... web browser and allow directory listing. ...
    (microsoft.public.inetserver.iis)
  • Re: FTP Question
    ... > What are the bare minimum ports needs to allow connection to FTP server via ... > web browser and allow directory listing. ... > connect find via comman line. ...
    (microsoft.public.inetserver.iis)
  • Re: WinME w/NortonAV boots with http to foreign IP address
    ... > times and not seen the http connection... ... Maybe it was accessing a cache, like in the discription I found. ... I hate ...
    (alt.computer.security)
  • Re: strange problem
    ... Do you also hate Win XP? ... The Norton Internet Security ended up being the culprit. ... >> Uninstalled in safe mode and reinstalled it and works like a charm. ... >>> connection are for direct connection. ...
    (microsoft.public.windowsxp.general)