Ask a Question related to ASP Database, Design and Development.
-
Bryan Russell #1
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
-
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... -
#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... -
#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... -
"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... -
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... -
Ray at #2
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
-
Bryan Russell #3
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,
> >
> > RussellBryan Russell Guest
-
Ray at #4
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...Using OLEDB (advised) instead of ODBC will typically eliminate that issue.> 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.
[url]http://www.connectionstrings.com/[/url]
Share permissions are irrelevant if you're accessing the file system> 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.
directly!
Why is it setup that way? ;]> 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)
Unless your connection string was pointing to \\server\share\file.mdb, share> 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.
permissions should not have mattered at all... But, hey, I'm glad it's
working.
Ray at work
Ray at Guest



Reply With Quote

