1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Need to know it.

Discussion in 'C#' started by razareal, Nov 20, 2007.

  1. #1
    There is a problem while testing database online.
    Actually, i have forms connected with access database and it's working fine on local system but when i upload the project and test it gives me problem in add new syntax "rs.addnew" but this syntax is working fine in my local system Does anyone knows how can i fix this problem::confused:

    here is the error blow::rolleyes:

    Add:
    Microsoft JET Database Engine error '80040e09'
    Cannot update. Database or object is read-only.
    /admin/new.asp, line 36

    Del:
    Microsoft JET Database Engine error '80004005'
    Could not delete from specified tables.
    /admin/list.asp, line 40
     
    razareal, Nov 20, 2007 IP
  2. Indian_Webmaster

    Indian_Webmaster Banned

    Messages:
    1,289
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This is a permission issue. Your database is protected so script doesn't have permission to modify or delete the DB entries. You can use Select only..

    Please set proper permissions through Admin Panel(cPanel)
     
    Indian_Webmaster, Nov 20, 2007 IP
  3. orielo

    orielo Peon

    Messages:
    175
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    most of the chances,
    your access db should be in a special folder defined by the system.
    usually, the directory the db should be in resides outside the main site directory so people cant download it.
    check your host for such limitations.
    another thing it might be, is permissions are automaticly set to read only on upload,
    try chmod for the file to 777.
    gl.
     
    orielo, Nov 20, 2007 IP
  4. razareal

    razareal Peon

    Messages:
    78
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for favor actually, i don't know how can i set permissions? would you like to favor me in this meter too?:confused:
     
    razareal, Nov 21, 2007 IP
  5. orielo

    orielo Peon

    Messages:
    175
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #5
    can you update the databade ?
    or just add and delete fail ?
     
    orielo, Nov 21, 2007 IP
  6. razareal

    razareal Peon

    Messages:
    78
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Actually i view and access database only and when i login from admin pannel throgh login page it's working fine but there is a problem only in "rs.addnew" command and in delete section....... i don't know why it happens...... do you have any idea how do i set permission on it?:confused:
     
    razareal, Nov 22, 2007 IP
  7. orielo

    orielo Peon

    Messages:
    175
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #7
    you can change permissions on your servers cpanel>>filemanager
    what you are looking for is the chmod command.
     
    orielo, Nov 22, 2007 IP