Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Regular Coder
    Join Date
    Jan 2003
    Posts
    111
    Thanks
    2
    Thanked 0 Times in 0 Posts

    update record mystery

    Any idea why update record would give a page not found error when you hit submit?

    I even took a delete record page that works fine and removed the delete record behavior and added the update record in its place and it still doesn't work.

    Any ideas?

  • #2
    Regular Coder
    Join Date
    Mar 2003
    Posts
    241
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Post your code and we'll see what possibly could be wrong.

  • #3
    Regular Coder
    Join Date
    Oct 2003
    Location
    London, UK
    Posts
    411
    Thanks
    0
    Thanked 1 Time in 1 Post
    If there was a problem with the target script then you wouldn't get a 404! Your script containing the form must be sending it to a non-existent URL! Check the action attribute of your form element.

    Either that or your target script is performing a Response.ReDirect to a URL which doesn't exist.

    In either case, check your target URLs...

    Marcus Tucker / www / blog
    Web Analyst Programmer / Voted SPF "ASP Guru"

  • #4
    Regular Coder
    Join Date
    Mar 2003
    Posts
    241
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by M@rco
    If there was a problem with the target script then you wouldn't get a 404!
    Actually that is not 100% true
    When using NS 4.x-browsers one could get a 404-error when some includefile didn't exist, such as a css or a js-file.

    There is no way an update-statement could result in a 404 alone, it has to be what M@rco just wrote; check your urls!

  • #5
    Regular Coder
    Join Date
    Oct 2003
    Location
    London, UK
    Posts
    411
    Thanks
    0
    Thanked 1 Time in 1 Post
    Originally posted by Caffeine
    Actually that is not 100% true
    When using NS 4.x-browsers one could get a 404-error when some includefile didn't exist, such as a css or a js-file.
    lol! I stand corrected - I forgot those browsers still existed!
    Marcus Tucker / www / blog
    Web Analyst Programmer / Voted SPF "ASP Guru"

  • #6
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    You sure you aren't getting a HTTP 500 error instead of a 404?

    If you are using IE, make sure you have friendly HTTP error messages turned off, so it will display the ASP error and the line.
    OracleGuy

  • #7
    Regular Coder
    Join Date
    Jan 2003
    Posts
    111
    Thanks
    2
    Thanked 0 Times in 0 Posts

    yes it is HTTP 500, not target problem

    Sorry yes it is an http 500.

    I think I solved the mystery. I accidently called one of my table fields "update" which I am assuming is one of the forbidden words.

    I did the same thing a few years back withthe word "date".
    Last edited by zenweezil; 10-31-2003 at 07:22 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •