Re: Problems accessing an MS Access 2000 DB in ASP

From: Bob Barrows [MVP] (reb01501_at_NOyahoo.SPAMcom)
Date: 07/21/04

  • Next message: Dave: "ASP weather services"
    Date: Wed, 21 Jul 2004 16:39:42 -0400
    
    

    Brad Pears wrote:
    > Our graphic designer is developing our new company website. We have
    > switched providers and currently she is working on the new website
    > which currently ressides on the new providers server as they support
    > the ASP development environment. Their server is a Win2K3 server.
    >
    > She is writing an ASP module to connect to an MS Access 2000 database
    > and is having problems connecting. In this database there is only one
    > table.
    >
    > She has tried many different connection strings all to no avail and
    > then found from investigating that the best and fastest method is to
    > use the OLE connection string. However, each time she runs the ASP
    > code she gets the following error...
    >
    > --------------------------------------------------------------------------

    --
    > --------
    > Microsoft JET Database Engine error '80004005'
    >
    > You do not have the necessary permissions to use the
    > 'E:\Files\LocalUser\truenorth\NewFiles\models.mdb' object. Have your
    > system administrator or the person who created this object establish
    > the appropriate permissions for you.
    >
    > /NewFiles/db_simple2.asp, line 14
    > --------------------------------------------------------------------------
    --
    > --------
    >
    > We have asked the provider to make sure that the NTFS file privs have
    > been set appropriately on the directory this db is in, and they have
    > informed us that it has been.
    The IUSR_machinename account needs read/write permissions on the folder
    containing the database file. If you are connecting in a Session or
    Application event, or the application protection is set to high, then the
    IWAM_machinename account also needs those permissions.
    The person setting up the security for your database can verify that the
    appropriate permissions are set by logging into the machine using the IUSR
    account and verifying that he can create and delete a text file in the
    database folder.
    Bob Barrows
    -- 
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.
    

  • Next message: Dave: "ASP weather services"

    Relevant Pages

    • Re: Create basic user for one database
      ... The 'Admin' account and 'Users' group are common to every installation ... assign the correct permissions to the Users group, ... database without supplying a password. ...
      (microsoft.public.access.security)
    • Re: Execute Persmission denied on object sp_OACreate
      ... If so what access and permissions. ... The account is a windows account. ... One method to test permissions is to log in to your SQL Server box using the ... >>> SA account password and gaining access to the database. ...
      (microsoft.public.sqlserver.security)
    • Re: Access database, network access problems
      ... It turns out it is a permissions problem, but, the cause is still unknown. ... If I was to replace this account with my own, the connection works, and I ... webserivce that returns data from a small access database; ... > engine will attempt to create an .LDB file. ...
      (microsoft.public.dotnet.framework.adonet)
    • Re: Business Data Catalog (BDC) -- Does Not Work -- Sharepoint 2007 Beta
      ... following grant permissions: ... TSQL Local Machine ... Also both have Permission to Connect to Database engine set to Grant ... Application Settings->Server process account for the BDC is selected ...
      (microsoft.public.sharepoint.portalserver)
    • Re: List Users Permissions down to table.column action
      ... THIS STORED PROCEDURE GENERATES COMMANDS ... -- FIXED PROBLEMS WITH STATEMENT LEVEL PERMISSIONS GRANTING. ... -- CREATE TABLE TO HOLD LIST OF USERS IN CURRENT DATABASE ... -- GRANT USER ACCESS TO SERVER ROLES ...
      (microsoft.public.sqlserver.security)