Insert error :: must be updateable?

Ask a Question related to ASP, Design and Development.

  1. #1

    Default Insert error :: must be updateable?

    I am picking up the following error message which is strange as it has only
    started happening since I have transferred servers:


    Microsoft JET Database Engine error '80004005' Operation must use an
    updateable query./admin/news1.asp, line 59


    sql1 = "INSERT INTO [News]
    (strDate,Department,Title,ShortDescription,strCont ent) VALUES (" & strDate1
    & ",'" & strDepartment1 & "','" & strNewsTitle1 & "','" &
    strShortDescription1 & "','" & strDescription1 & "')" Set rsnews =
    data.execute(sql1) Set rsnews = Nothing


    jason Guest

  2. Similar Questions and Discussions

    1. updateable query
      When I start my Site on localhost (W2003Server, IIS, ASP, VB-DLL), it works fine, when I start the Site from a WinXP-Pro, I get the following error,...
    2. What is updateable Query?
      Hi everybody, Here I see that error message on the server my aspx file working: Exception Details: System.Data.OleDb.OleDbException: Operation...
    3. Operation must use an updateable query Error
      Group, On a W2K3 / IIS 6.0 Server, we have a Web Site reading an .mdb fine. When it tries to save, it generates the following error: ...
    4. INSERT error :: Updateable query?
      I am picking up an error message on a straightforward INSERT - do I need an optimistic-type to get this working....here is is the error: ...
    5. error '80004005'; Operation must use an updateable query.
      Are the users logging in with NT authentication? If so, the users will need the NTFS permissions on the mdb as opposed to the IUSR account. Ray...
  3. #2

    Default Re: Insert error :: must be updateable?

    [url]www.aspfaq.com[/url]

    Ray at work

    "jason" <jason@catamaranco.com> wrote in message
    news:%23n3kmoWTDHA.2152@TK2MSFTNGP12.phx.gbl...
    > I am picking up the following error message which is strange as it has
    only
    > started happening since I have transferred servers:
    >
    >
    > Microsoft JET Database Engine error '80004005' Operation must use an
    > updateable query./admin/news1.asp, line 59
    >
    >
    > sql1 = "INSERT INTO [News]
    > (strDate,Department,Title,ShortDescription,strCont ent) VALUES (" &
    strDate1
    > & ",'" & strDepartment1 & "','" & strNewsTitle1 & "','" &
    > strShortDescription1 & "','" & strDescription1 & "')" Set rsnews =
    > data.execute(sql1) Set rsnews = Nothing
    >
    >

    Ray at Guest

  4. #3

    Default Re: Insert error :: must be updateable?

    Also, do not create a recordset when you delete. Just do

    data.execute sql1
    data.close
    set data = nothing

    Ray at work

    "Ray at <%=sLocation%>" <ask@me.forit> wrote in message
    news:eJDvvxWTDHA.2120@TK2MSFTNGP10.phx.gbl...
    > [url]www.aspfaq.com[/url]
    >
    > Ray at work
    >
    > "jason" <jason@catamaranco.com> wrote in message
    > news:%23n3kmoWTDHA.2152@TK2MSFTNGP12.phx.gbl...
    > > I am picking up the following error message which is strange as it has
    > only
    > > started happening since I have transferred servers:
    > >
    > >
    > > Microsoft JET Database Engine error '80004005' Operation must use an
    > > updateable query./admin/news1.asp, line 59
    > >
    > >
    > > sql1 = "INSERT INTO [News]
    > > (strDate,Department,Title,ShortDescription,strCont ent) VALUES (" &
    > strDate1
    > > & ",'" & strDepartment1 & "','" & strNewsTitle1 & "','" &
    > > strShortDescription1 & "','" & strDescription1 & "')" Set rsnews =
    > > data.execute(sql1) Set rsnews = Nothing
    > >
    > >
    >
    >

    Ray at Guest

  5. #4

    Default Re: Insert error :: must be updateable?

    I inherited an entire backend from the previous developers and I am just
    trying to stay afloat while moving servers :)) - Thanks!
    "Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
    news:OGmbl9WTDHA.3636@tk2msftngp13.phx.gbl...
    > > Microsoft JET Database Engine error '80004005' Operation must use an
    > > updateable query./admin/news1.asp, line 59
    >
    > [url]http://www.aspfaq.com/2062[/url]
    > [url]http://www.aspfaq.com/2009[/url]
    >
    > > Set rsnews = data.execute(sql1)
    > > Set rsnews = Nothing
    >
    > Why are you using a recordset to execute a DELETE query?
    >
    > [url]http://www.aspfaq.com/2191[/url]
    >
    >

    jason 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