Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP Error

ASP Error

Scheduled Pinned Locked Moved Web Development
helpdatabasetutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Marwa Bahaa
    wrote on last edited by
    #1

    I have a problem with asp page, i have this statement: " con.execute("insert into members ( first_name, last_name, mobile, email, username, password) values('"&firstname&"','"&lastname&"','"&mobile&"','"&email&"','"&username&"','"&password&"')")" and i use access database when i run this page i have an error that told me to make "updatetable query" and i don't know how to do this could any one help me please

    C H 2 Replies Last reply
    0
    • M Marwa Bahaa

      I have a problem with asp page, i have this statement: " con.execute("insert into members ( first_name, last_name, mobile, email, username, password) values('"&firstname&"','"&lastname&"','"&mobile&"','"&email&"','"&username&"','"&password&"')")" and i use access database when i run this page i have an error that told me to make "updatetable query" and i don't know how to do this could any one help me please

      C Offline
      C Offline
      Chris Quick
      wrote on last edited by
      #2

      Check the permissions on the access .mdb file. If the iusr_machine account does not have write/modify access on the database, you cannot perform any updates. Also, because you have to modify these permissions, if possible move the access database outside of your IIS root folders.

      1 Reply Last reply
      0
      • M Marwa Bahaa

        I have a problem with asp page, i have this statement: " con.execute("insert into members ( first_name, last_name, mobile, email, username, password) values('"&firstname&"','"&lastname&"','"&mobile&"','"&email&"','"&username&"','"&password&"')")" and i use access database when i run this page i have an error that told me to make "updatetable query" and i don't know how to do this could any one help me please

        H Offline
        H Offline
        hakanaktan
        wrote on last edited by
        #3

        1-Check your access database file .You must write,update permissions on it. 2-Try to open open database in write,update mode by code. '---- LockTypeEnum Values ---- Const adLockReadOnly = 1 Const adLockPessimistic = 2 Const adLockOptimistic = 3 Const adLockBatchOptimistic = 4 --junior coder--

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups