User gets "Cannot delete from table" with ASP/mdb app

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default User gets "Cannot delete from table" with ASP/mdb app

    I have an ASP app on the itranet with network users logging on with
    their network credentials.

    All the users have the same permissions to the folders as I do

    The app works fine when I run it.

    When another user tries it, the error says:

    "Microsoft Jet database engine error 80004005 cannot delete form
    specified table"

    Any ideas for changes to my MDB or my queries?

    Thanks,

    Russell
    Bryan Russell Guest

  2. Similar Questions and Discussions

    1. Change user role from "Publisher" to "Administrator"
      Have three users on a particular website - all need to be "administrators". Two are listed as administrators (one of which is me), the third is...
    2. #39657 [NEW]: The extended table-specification "database.table" creates errors
      From: w dot kaiser at fortune dot de Operating system: XP Pro PHP version: 4.4.4 PHP Bug Type: MySQL related Bug...
    3. #39657 [Opn]: The extended table-specification "database.table" creates errors
      ID: 39657 User updated by: w dot kaiser at fortune dot de Reported By: w dot kaiser at fortune dot de Status: Open...
    4. "User cannot change pwd" and "Pwd never expire" by using Directory
      I create a account by using the DirectorySerive and it is running: --------------------------------------------------------- Dim ContainerEntry As...
    5. Compare 2 fields & delete everything in "field 2" that occurs in "field 1"
      Is it possible to compare 2 fields and delete everything in "field 2" that also occurs in "field 1" ? FIELD1 800-555-1212 for...
  3. #2

    Default Re: User gets "Cannot delete from table" with ASP/mdb app

    What permissions do they have? And are those permissions applied to the
    parent directory of the .mdb file or just the .mdb file itself?

    What does your delete query look like?

    Ray at work

    "Bryan Russell" <b_russ@yahoo.com> wrote in message
    news:649e1033.0405131117.eec911c@posting.google.co m...
    > I have an ASP app on the itranet with network users logging on with
    > their network credentials.
    >
    > All the users have the same permissions to the folders as I do
    >
    > The app works fine when I run it.
    >
    > When another user tries it, the error says:
    >
    > "Microsoft Jet database engine error 80004005 cannot delete form
    > specified table"
    >
    > Any ideas for changes to my MDB or my queries?
    >
    > Thanks,
    >
    > Russell

    Ray at Guest

  4. #3

    Default Re: User gets "Cannot delete from table" with ASP/mdb app

    This is worth sharing: First I found out about and fixed the IUSR
    permissions thing, next it was the Temp and Tmp folder permissions
    (with only the dreaded "unspecified error" message to lead me), whew,
    week later, its "permissions denied" for user accounts.

    It turns out the question about the parent folder's permissions was
    relevant.(Unless you did not mean "root" folder) I pinged a different
    network admin for a second opinion (different to the admin who set up
    my website). He quickly determined that the web site had two sets of
    permissions enabled: "Shared" + NTFS as he described it. The shared
    permissions presided over the folder-level NTFS permissions and
    therefore the authentication would not pass the gateway (web root)
    folder.

    The only reason it was a problem was because the Access Database was
    Linked to Excel tables inside the Website. (I know, it's hokey, don't
    ask me why it is set up this way)

    Anyway, apparently the way the Jet Database engine accesses the Linked
    tables (when queried via Jet OLE connection) is based on the Root
    folder Share permissions instead of the NTFS permissions. This is true
    even though, under the same dual-permissions environment, an OLEdb
    query to the same access database with a NON-LINKED table works just
    fine. Weird.

    The fix was to leave the NTFS permissions and remove the shared
    permissions restrictions.


    Russell


    "Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in message news:<#CdhXVSOEHA.2480@tk2msftngp13.phx.gbl>...
    > What permissions do they have? And are those permissions applied to the
    > parent directory of the .mdb file or just the .mdb file itself?
    >
    > What does your delete query look like?
    >
    > Ray at work
    >
    > "Bryan Russell" <b_russ@yahoo.com> wrote in message
    > news:649e1033.0405131117.eec911c@posting.google.co m...
    > > I have an ASP app on the itranet with network users logging on with
    > > their network credentials.
    > >
    > > All the users have the same permissions to the folders as I do
    > >
    > > The app works fine when I run it.
    > >
    > > When another user tries it, the error says:
    > >
    > > "Microsoft Jet database engine error 80004005 cannot delete form
    > > specified table"
    > >
    > > Any ideas for changes to my MDB or my queries?
    > >
    > > Thanks,
    > >
    > > Russell
    Bryan Russell Guest

  5. #4

    Default Re: User gets "Cannot delete from table" with ASP/mdb app


    "Bryan Russell" <b_russ@yahoo.com> wrote in message
    news:649e1033.0405141219.7d5fdcfa@posting.google.c om...
    > This is worth sharing: First I found out about and fixed the IUSR
    > permissions thing, next it was the Temp and Tmp folder permissions
    > (with only the dreaded "unspecified error" message to lead me), whew,
    > week later, its "permissions denied" for user accounts.
    Using OLEDB (advised) instead of ODBC will typically eliminate that issue.
    [url]http://www.connectionstrings.com/[/url]


    > It turns out the question about the parent folder's permissions was
    > relevant.(Unless you did not mean "root" folder) I pinged a different
    > network admin for a second opinion (different to the admin who set up
    > my website). He quickly determined that the web site had two sets of
    > permissions enabled: "Shared" + NTFS as he described it. The shared
    > permissions presided over the folder-level NTFS permissions and
    > therefore the authentication would not pass the gateway (web root)
    > folder.
    Share permissions are irrelevant if you're accessing the file system
    directly!


    > The only reason it was a problem was because the Access Database was
    > Linked to Excel tables inside the Website. (I know, it's hokey, don't
    > ask me why it is set up this way)
    Why is it setup that way? ;]


    > Anyway, apparently the way the Jet Database engine accesses the Linked
    > tables (when queried via Jet OLE connection) is based on the Root
    > folder Share permissions instead of the NTFS permissions. This is true
    > even though, under the same dual-permissions environment, an OLEdb
    > query to the same access database with a NON-LINKED table works just
    > fine. Weird.
    >
    > The fix was to leave the NTFS permissions and remove the shared
    > permissions restrictions.
    Unless your connection string was pointing to \\server\share\file.mdb, share
    permissions should not have mattered at all... But, hey, I'm glad it's
    working.

    Ray at work


    Ray at Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139