Unable to Write Records to MS Access

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

  1. #1

    Default Unable to Write Records to MS Access

    I inherited a small project tracking app, and after
    migrating the app to my machine, started receiving the
    following error message....

    Error Type:
    Microsoft JET Database Engine (0x80004005)
    Operation must use an updateable query.
    /vzr/init_add.asp, line 115


    Browser Type:
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET
    CLR 1.0.3705)

    Page:
    POST 1233 bytes to /vzr/init_add.asp



    The relevant code block:

    r1.Update
    init_id = r1("init_id")
    r1.Close

    Response.Redirect "init_detail.asp?init_id=" &
    init_id
    else
    %


    Any help would be greatly appreciated.
    JGP Guest

  2. Similar Questions and Discussions

    1. Unable to read/write to .ini file using .dll in webservice
      Hi, I am new to asp.net. I am creating a web service. This I havedone. The web service calls one of our .dll's. This .dll usesthe...
    2. Unable to write to Windows Registry using XML Web Service
      Hiya, at this very moment I'm trying to write an XML Web Service for reading and writing configuration/registry settings. But for some reason I...
    3. using SSL unable to write file
      Hi everyone, I'm trying to send info with (https) SSL and my program comes to a halt when writing a file and sending an email. SSL was set up...
    4. #24125 [Fbk->NoF]: Unable to add records when opened with odbc_pconnect
      ID: 24125 Updated by: sniper@php.net Reported By: michael at redboxcode dot com -Status: Feedback +Status: ...
    5. #24125 [Opn->Fbk]: Unable to add records when opened with odbc_pconnect
      ID: 24125 Updated by: sniper@php.net Reported By: michael at redboxcode dot com -Status: Open +Status: ...
  3. #2

    Default Re: Unable to Write Records to MS Access

    NTFS permissions...

    Anonymous User Account (IUSR_<machinename>, or whatever account is urnning
    the .asp page) needs NTFS Read (RX) permissions to the folder that the
    Access file is in *plus* Creator/Owner* should have Full Control.
    Additionally, the same permissions need to be applied to the c:\winnt\temp
    folder so that Jet can write it's temporary working files.

    Cheers
    Ken


    "JGP" <jpapadia3@yahoo.com> wrote in message
    news:0ead01c36b64$fa247220$a001280a@phx.gbl...
    : I inherited a small project tracking app, and after
    : migrating the app to my machine, started receiving the
    : following error message....
    :
    : Error Type:
    : Microsoft JET Database Engine (0x80004005)
    : Operation must use an updateable query.
    : /vzr/init_add.asp, line 115
    :
    :
    : Browser Type:
    : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET
    : CLR 1.0.3705)
    :
    : Page:
    : POST 1233 bytes to /vzr/init_add.asp
    :
    :
    :
    : The relevant code block:
    :
    : r1.Update
    : init_id = r1("init_id")
    : r1.Close
    :
    : Response.Redirect "init_detail.asp?init_id=" &
    : init_id
    : else
    : %
    :
    :
    : Any help would be greatly appreciated.


    Ken Schaefer Guest

  4. #3

    Default Re: Unable to Write Records to MS Access

    [url]http://www.aspfaq.com/2062[/url]
    [url]http://www.aspfaq.com/2009[/url]



    "JGP" <jpapadia3@yahoo.com> wrote in message
    news:0ead01c36b64$fa247220$a001280a@phx.gbl...
    > I inherited a small project tracking app, and after
    > migrating the app to my machine, started receiving the
    > following error message....
    >
    > Error Type:
    > Microsoft JET Database Engine (0x80004005)
    > Operation must use an updateable query.
    > /vzr/init_add.asp, line 115
    >
    >
    > Browser Type:
    > Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET
    > CLR 1.0.3705)
    >
    > Page:
    > POST 1233 bytes to /vzr/init_add.asp
    >
    >
    >
    > The relevant code block:
    >
    > r1.Update
    > init_id = r1("init_id")
    > r1.Close
    >
    > Response.Redirect "init_detail.asp?init_id=" &
    > init_id
    > else
    > %
    >
    >
    > Any help would be greatly appreciated.

    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