Readonly Database Objects??

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

  1. #1

    Default Readonly Database Objects??

    I have a problem that I have caused more than once in the last 2 weeks
    I have a working Access database that is being queried and updated via
    web site.

    I have copied that database to another website (copied by Copy/Past in
    FrontPage). I have setup connections etc. Can access the database
    for query just fine. However, the same code that will update the
    database on the old site fails on the new site with the following.

    Microsoft OLE DB Provider for ODBC Drivers error '80004005'

    [Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or
    object is read-only.

    /ServerScripts/Countermaintenance.asp, line 87


    Since I have managed to do this to 3 different databases in the last 2
    weeks, I figure that I am doing something wrong.
    1) - What is it.
    2) - What is the correct method of copying/moving a Access Database
    from one web to another
    3) - Is there anyway to fix the 'read-only' database?

    BTW. I have checked the file properties of the .mdb file and they are
    NOT read-only.
    The error occurs on any function that tries to update the recordset.

    Thanks
    -------------------------------------------
    Roy Chastain
    Roy Chastain Guest

  2. Similar Questions and Discussions

    1. Database Access: Lock? Readonly? What to do...
      I have a CF site that uses MS Access databases for many different things, from creating the actual site, to doing Admin-related stuff like adding,...
    2. Collection Readonly
      I have a Web service with a serializable collection class. My test app can read the collection without any problems. The problem I'm having is...
    3. Version Control Software for Database Objects
      We maintain multiple versions of our application's database and we are looking for version control software to help us automate this. Specifically,...
    4. Database connections in objects
      Hello all. I'm starting to make my scripts more object oriented and was wondering, what is the normal way access the database from your objects....
    5. Database objects scope
      What will go wrong? I ran the following page for 36 hours. It didn't have any affect on the memory used. It looks like the ADO-COM objects get...
  3. #2

    Default Re: Readonly Database Objects??

    Not read-only for who? IIRC, IIS runs in the context of the IUSR. And
    you may want to check the permissions on the folder as well as the file.

    "Roy Chastain" <roy@roychastain.orgnospam> wrote in message
    news:kv0n30ph4f2n92pps5cil4i2lifdkl8535@4ax.com...
    > I have a problem that I have caused more than once in the last 2 weeks
    > I have a working Access database that is being queried and updated via
    > web site.
    >
    > I have copied that database to another website (copied by Copy/Past in
    > FrontPage). I have setup connections etc. Can access the database
    > for query just fine. However, the same code that will update the
    > database on the old site fails on the new site with the following.
    >
    > Microsoft OLE DB Provider for ODBC Drivers error '80004005'
    >
    > [Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or
    > object is read-only.
    >
    > /ServerScripts/Countermaintenance.asp, line 87
    >
    >
    > Since I have managed to do this to 3 different databases in the last 2
    > weeks, I figure that I am doing something wrong.
    > 1) - What is it.
    > 2) - What is the correct method of copying/moving a Access Database
    > from one web to another
    > 3) - Is there anyway to fix the 'read-only' database?
    >
    > BTW. I have checked the file properties of the .mdb file and they are
    > NOT read-only.
    > The error occurs on any function that tries to update the recordset.
    >
    > Thanks
    > -------------------------------------------
    > Roy Chastain

    Kris Eiben Guest

  4. #3

    Default Re: Readonly Database Objects??

    I have 2 .mdb files in the fpdb directory. One was created into that
    directory by Access and I can write to it via ASP. The other was
    copied and it is read-only to ASP. Both files are marked Read/Write
    for IUSR. Oddies that I need to chase down/get an explanation for is
    that
    1) - The copied file claims that its permissions are inherited while
    the created file is not.
    2) - The copied file has security entries for _Web Applications and
    _Web Anonymous Users. I have never seen these two groups before.
    They both have DENY write set on the copied file. Who can explain
    where these two groups come from and how they got set on this file?

    On Tue, 24 Feb 2004 13:08:32 -0500, "Kris Eiben"
    <eibenkthisisforspammers@yahoo.com> wrote:
    >Not read-only for who? IIRC, IIS runs in the context of the IUSR. And
    >you may want to check the permissions on the folder as well as the file.
    >

    -------------------------------------------
    Roy Chastain
    Roy Chastain 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