If you are trying to gain access to a Microsoft Access
database, make sure that you have established the appropriate permissions.
When a user tries to perform an Internet Database
Connector (IDC) or ActiveX Data Objects (ADO) query, the query is run in
context of the authenticated Web user. Typically, you (the FrontPage Web
developer) might grant the directory permissions listed later in this article
to an anonymous user or to the authenticated Microsoft Windows NT user account.
(By default, the anonymous user is
IUSR_
machine-name.)
When you apply these
permissions, apply them to all existing files unless otherwise noted.
When you set permissions for the IUSR account, you need to add all
user accounts that need to be authenticated on the Microsoft Internet
Information Server (IIS) computer.
The directories identified in the
sixth and seventh bullets that follow are located by default in the Program
Files/Common Files/System directory and are needed only for ASP and ADO
queries.
Typical permissions for IUSR are as follows:
- Read permission to the root directory of the drive on which
ASP is installed.
- Write permission to the Windows NT directory in Windows NT,
or to the WinNT directory in Windows 2000.
- Read permission to the System32 directory.
- Read permission to the Inetsrv directory.
- Read permission to the InetPub (or content
directory).
- Read permission to the OLE DB directory.
- Read permission to the ADO directory.
- Change permissions to the database file and
directories.
Note The Microsoft Jet database engine uses the System Temp and Tmp
environment variables to specify the location of temporary files that are
created during Jet operations. By default, these environment variables are
defined for users and are not system-wide settings.
For more
information, click the following article number to view the article in the
Microsoft Knowledge Base:
315456
You receive a database results
error when you connect to database from an ASP page