IIS ASP - Cannot Update Error

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > July 2006 > Cannot Update Error





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Cannot Update Error
K

2006-07-27, 1:26 pm

Having some peoblems with a small ASP app.

Page 1 displays a list of items. Click an item and move to page 2 where
full details of that item are displayed.

Page 1 works fine, but page 2 always displays the following error:

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object
is read-only.

I can't see anything wrong in the code I haven't used before successfully.

Any idea?


Mike Brind

2006-07-27, 1:26 pm


K wrote:
> Having some peoblems with a small ASP app.
>
> Page 1 displays a list of items. Click an item and move to page 2 where
> full details of that item are displayed.
>
> Page 1 works fine, but page 2 always displays the following error:
>
> Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
> [Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object
> is read-only.
>
> I can't see anything wrong in the code I haven't used before successfully.
>
> Any idea?


It might help if you provided the relevant code. Otherwise all anyone
can do is guess.

--
Mike Brind

Bob Barrows [MVP]

2006-07-27, 1:26 pm

K wrote:
> Having some peoblems with a small ASP app.
>
> Page 1 displays a list of items. Click an item and move to page 2
> where full details of that item are displayed.
>
> Page 1 works fine, but page 2 always displays the following error:
>
> Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
> [Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or
> object is read-only.
>
> I can't see anything wrong in the code I haven't used before
> successfully.
> Any idea?


Usually filesystem permissions problems. See
http://www.aspfaq.com/show.asp?id=2009
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


K

2006-07-28, 1:23 pm

>> Having some peoblems with a small ASP app.
>
> Usually filesystem permissions problems. See
> http://www.aspfaq.com/show.asp?id=2009


Thanks

It was permissions. The IUSR account didn't have write permission to the
folder the DB was in.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com