It is probably the IIS user's file or directory permission that is limited.
That is not the same as the Read-Only flag on a file.  The Read-Only flag is
system wide.  Permissions are by user.

HTH,
Tore.

----- Original Message -----
From: "David Parker" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Saturday, October 19, 2002 12:46 AM
Subject: Permissions on database file


> I'm unable to update my database. I read it, but not update it. I've
doubled
> checked the permissions on the database file. Readonly is NOT checked.
>
> Any help would be nice.
>
> David
>
> This is the error:
>
> Microsoft OLE DB Provider for ODBC Drivers error '80004005'
>
> [Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or
object
> is read-only.
>
> /dvdprkr/KnowledgeVision/html/register.asp, line 16
>
>
> this is the code:
>
> <!--#include file="Knowledge_DB_Connect.asp"-->
>
> <%
>   Dim rsObj
>   Set rsObj = Server.CreateObject("ADODB.Recordset")
>   rsObj.Open "Partner",objConn , adOpenStatic, adLockOptimistic,
adCmdTable
>   rsObj.addnew
> rsObj("Company") = Request.Form("company")
> rsObj("ContactName") = Request.Form("contactname")
> rsObj("Address") = Request.Form("address")
> rsObj("City") = Request.Form("city")
> rsObj("State") = Request.Form("state")
> rsObj("Zip") = Request.Form("zip")
> rsObj("Email") = Request.Form("email")
>
>   rsObj.Update
>   rsObj.close
>   set rsObj = nothing
>
>   Response.Redirect "login.asp"
> %>
>
>
> _________________________________________________________________
> Get faster connections -- switch to MSN Internet Access!
> http://resourcecenter.msn.com/access/plans/default.asp
>
>
> ---
> You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
> To unsubscribe send a blank email to
%%email.unsub%%
>


---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to