Trouble with database access: can't edit record, just view it

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Trouble with database access: can't edit record, just view it

    Hallo!

    I use DWMX 6.1 and use ASP VBSCRIPT files to access a MS Access 2000
    database. Initially I was able to edit the records. Then I had to add more
    fields in the database. I can't edit any record now. I try to insert record
    and I get the this error message:

    Microsoft OLE DB Provider for ODBC Drivers error '80004005'
    [Microsoft][ODBC Microsoft Access 97 Driver] Operation must use an
    updateable query.

    Eingabe.asp, line 115

    here is a copy of that part:

    line
    110 If (Not MM_abortEdit) Then
    111 ' execute the insert
    112 Set MM_editCmd = Server.CreateObject("ADODB.Command")
    113 MM_editCmd.ActiveConnection = MM_editConnection
    114 MM_editCmd.CommandText = MM_editQuery
    115 MM_editCmd.Execute
    116 MM_editCmd.ActiveConnection.Close
    117
    118 If (MM_editRedirectUrl <> "") Then
    119 Response.Redirect(MM_editRedirectUrl)
    120 End If
    121 End If

    I'm pretty sure I've set up my odbc connections properly, I test the
    connection in DWMX and
    it connects successfully. When I view my site files, I'm able to see my
    access database file.

    I tried rewriting the ASP-files, using a new connection, but still not able
    to edit any record.
    Anyone has a clue what I am missing? Help appreciated. Thanks in advance.


    Gerhard Guest

  2. Similar Questions and Discussions

    1. Trouble connecting to Access database
      I uploaded my database to a remote server and I was required to change the name to match my DSN. However, now whenever I visit the web-site I...
    2. HTTP Link from database record view?
      Hi, Prompted by the superb quality of help offered here I request some advice on the following problem: I want to have the http link in my...
    3. Trouble with access database
      I am working on an updatable calendar and i am running into trouble. The page works great when testing it through http:\\localhost, however when i...
    4. editing record in access database
      I am trying to pull a record into a form and then edit it. (not working to well) Hoping someone can show me a better way than this: <% option...
    5. deleting access database record
      I am trying to write an asp page to delete a record from my access database. I have written the page to display the info but when I select the entry...
  3. #2

    Default Re:Trouble with database access: can't edit record, just view it

    Check the priveledge levels in the folders

    At the same level as the db or a level above there will be a folder called _private

    The user attempting to update the db must have the correct security access in this folder.

    Ken


    If you never ask, you never get an answer.
    ScareCrow Application Development
    The ScareCrow 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