jet error: Operation must use an updateable query.

From: dee (dee_at_syra.net)
Date: 01/27/05

  • Next message: dee: "jet error in ASP: Could not delete from specified tables."
    Date: Thu, 27 Jan 2005 14:23:34 -0500
    
    

    Hi

    I was running the following code successfully on a Windows 2000 Pro SP2
    with Access 97 and 2002 installed.
    Now I am running it in Windows XP Pro SP2/ IIS 5.1 with only Access 2003
    installed.

    IN the new environment i still can successfully Create a Connection object
    abd do SELECT queries. But when I want to add or delete rows I get the the
    followings erros messages in IExplorer 6.0

    Running Following:
    ...
    Set cm = Server.CreateObject("ADODB.Command")
    cm.ActiveConnection = objConn
    cm.CommandText = "INSERT INTO Guestbook (TB1,TB2,TB3,TB4,MB1) VALUES
    (?,?,?,?,?)"
    cm.Execute

    Generates:
     In IExplorer:
     Error Type:
     Microsoft JET Database Engine (0x80004005)
     Operation must use an updateable query.

    Running Following:
    ....
    Set cm = Server.CreateObject("ADODB.Command")
    cm.ActiveConnection = objConn
    cm.CommandText = "DELETE FROM Guestbook WHERE ID = " & strIDNum
    cm.Execute

    Generates:
     In IExplorer:
     Error Type:
     Microsoft JET Database Engine (0x80004005)
     Could not delete from specified tables.

    I appreciate if someone can help me.

    Thanks

    Dee


  • Next message: dee: "jet error in ASP: Could not delete from specified tables."

    Relevant Pages

    • jet error in ASP: Could not delete from specified tables.
      ... I was running the following ASP code successfully on a Windows 2000 Pro SP2 ... followings erros messages in IExplorer 6.0 ... Microsoft JET Database Engine ...
      (microsoft.public.data.ado)
    • Re: Blue screen of death - is it OK?
      ... OSes: Windows XP Pro SP2 ... Intel Pentium D 830 3.0GHz ... Its a free open source media center similar to the the media center in ... Windows XP Media Center Edition 2005. ...
      (microsoft.public.windowsxp.general)
    • Blue screen of death - is it OK?
      ... OSes: Windows XP Pro SP2 ... Intel Pentium D 830 3.0GHz ... Its a free open source media center similar to the the media center in ... Windows XP Media Center Edition 2005. ...
      (microsoft.public.windowsxp.general)
    • Re: Returning to normal XP desktop colors/theme
      ... Thank you for your suggestion. ... I'm running XP Pro SP2; ... change to Windows XP, the machine hangs. ... >> beige instead of their previous dark blue. ...
      (microsoft.public.windowsxp.customize)
    • Re: Large worksheet formatting: change % formats only?
      ... > End Sub ... >> Only thing is that I am a stumblebum novice at using macros. ... >> Windows XP Pro SP2 ...
      (microsoft.public.mac.office.excel)