Update Error - read only error

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

  1. #1

    Default Update Error - read only error

    I am having a problem Updating a record. I can read the access
    database, but when I try to insert a record using


    set rs = Server.CreateObject("ADODB.Recordset")
    rs.Open "Guestbook", conn, 2, 3

    ' create new recordset.
    rs.AddNew

    the rs.Addnew failes with the following error

    Microsoft JET Database Engine (0x80040E09)
    Cannot update. Database or object is read-only.

    I have read/write allowed and the folder/db is not read only, I can
    manually enter entries in through access.

    I am using IIS 5 on xp, the local web has read/write as well

    What am I doing wrong?
    Thanks
    Peter Guest

  2. Similar Questions and Discussions

    1. FCS 2.0 Error - Please read
      Connection rejected by server. Reason : : (_defaultRoot_, _defaultVHost_) : Max connections allowed exceeds license limit. Rejecting connection to...
    2. Error 403 Failed to read heders Error for long-runningCFMAIL and CFINDEX command
      I have two different pages with long-running scripts on which I am recieving the following error: Error - 403 Failed to read headers to server:...
    3. Read error on DVD-ROM
      Hi, I have a problem with my dvd-rom here my dmesg: ad0: 117246MB <Maxtor 6Y120L0/YAR41BW0> at ata0-master UDMA133 ad1: 76345MB <MAXTOR...
    4. Read only error
      InDesign CS is frequently making a working InDesign document into a read only file that can only be saved by saving as a file with a different...
    5. Database is Read-Only Error
      The user account that is trying to update the database, typically IUSR_serverName needs to have Modify/Read & Execute/Write NTFS permissions on the...
  3. #2

    Default Re: Update Error - read only error

    > rs.Open "Guestbook", conn, 2, 3
    >
    > ' create new recordset.
    > rs.AddNew
    Use an INSERT statement, not a recordset object ([url]http://www.aspfaq.com/2191[/url])
    > Microsoft JET Database Engine (0x80040E09)
    > Cannot update. Database or object is read-only.
    [url]http://www.aspfaq.com/search.asp?q=80040E09[/url]
    > I have read/write allowed
    For what user?

    --
    Aaron Bertrand
    SQL Server MVP
    [url]http://www.aspfaq.com/[/url]


    Aaron Bertrand - MVP 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