Re: Unable to connect to MSAccess database
From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 04/19/04
- Next message: Joe Abou Jaoude: "Re: Unable to connect to MSAccess database"
- Previous message: Ken Schaefer: "Re: ESCAPING USER ENTERED CHARACTERS."
- In reply to: Joe Abou Jaoude: "Unable to connect to MSAccess database"
- Next in thread: Joe Abou Jaoude: "Re: Unable to connect to MSAccess database"
- Reply: Joe Abou Jaoude: "Re: Unable to connect to MSAccess database"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 19 Apr 2004 19:55:20 +1000
You need
Data Source=c:\inetpub\wwwroot\ai\callig.mdb
not
Data Source:c:\inetpub\wwwroot\ai\callig.mdb
Ensure that you set IIS permissions properly if you put you database inside
Best it place it in it's own separate folder, then remove IIS Read
Cheers
"Joe Abou Jaoude" <joe30@hotmail.com> wrote in message
your webroot, otherwise someone can download it by doing:
http://
permissions.
Ken
news:eEua72eJEHA.2660@TK2MSFTNGP09.phx.gbl...
: i m trying to connect to msaccess database from an asp page in the same
: folder several days ago without any success,so any help would me much
: appreciated.
: I have windows 2000 and msaccess 2000
:
: set conn= server.CreateObject("adodb.connection")
: conn.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE:
: C:\Inetpub\wwwroot\Al\Callig.mdb"
:
: i got this error:
: Error Type:
: Provider (0x80040E4D)
: Authentication failed.
:
: although there's no password for the database, then i tried this
: connection string with same error result:
:
: conn.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE:" &
: Server.MapPath("Callig.mdb")
:
: after doing some research, i added "Trusted_Connection=yes" to the
: connection string and i got another type of error:
:
: Error Type:
: Microsoft JET Database Engine (0x80004005)
: Could not find installable ISAM.
:
: after doing some research, i checked the MDAC. i have MDAC 2.7 sp1
: REFRESH, so i reinstalled it as many sites suggest it, and restat the
: computer, but same problem, i m still getting the same error.
:
: so now i don't have any clue to what to do.
: any suggestion would be appreciated
: THX.
:
:
: *** Sent via Developersdex http://www.developersdex.com ***
: Don't just participate in USENET...get rewarded for it!
Relevant Pages
... i m trying to connect to msaccess database from an asp page in the same ... Error Type: ... after doing some research, i checked the MDAC. ...
(microsoft.public.inetserver.asp.db)
... could not connect to the database". ... 2005-11-23 13:48:51.441 No error type from QSqlError? ... Strange... ...
(alt.os.linux.suse)
... is using a newer version of access to open the database. ... CR files will amount to about 3 to 10 MB ... MDAC will be about 5MB compressed. ... My app is a database to ...
(microsoft.public.vb.database)
... One of my clients using a .NET WinApp connecting to an MS Access database on ... They were running a lower version of MDAC though. ... Please install MDAC 2.6 or later." ...
(microsoft.public.dotnet.framework.adonet)
... Can you open the database file in Works? ... Look at the Works newsgroup. ... I have tried to update the MDAC and I get "MDAC 2.8 RTM is ... Have you downloaded the component checker to see if you have any MDAC ...
(microsoft.public.publisher)