page time out...

Discussion in 'C#' started by liroAsp, Mar 30, 2007.

  1. #1
    hi,
    i have an asp page with button that submit to a procces page
    but sometimes i get "the page can not be displayed" when
    submitting the page...
    i checked, and it seems that the request not reached the iis because it not reached to the proccess page and its not an asp error.
    i also checked response timeout, i raised him to 4000 seconds (i'm not using session) but it steal occure sometimes.
    someone know what is the reason to this error?
     
    liroAsp, Mar 30, 2007 IP
  2. ztoma

    ztoma Peon

    Messages:
    43
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Maybe you should
    1. describe the problem in more details. for example, are you really using ASP or perhaps ASP.NET
    2. review your language, I'm having problems understanding what you are writing
    What made you think it might be time out issue? have you tried to debug it? set a break point at the first place you assume the execution hits your code..
     
    ztoma, Mar 30, 2007 IP
  3. saurabhj

    saurabhj Banned

    Messages:
    3,459
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Post your page codes so that one can understand
     
    saurabhj, Mar 30, 2007 IP
  4. webcosmo

    webcosmo Notable Member

    Messages:
    5,840
    Likes Received:
    153
    Best Answers:
    2
    Trophy Points:
    255
    #4
    majority of time on asp we have timeouts because of database cannot finish the operations by the time specified. Raising the time is not a good solution. If its a database issue, make sure all tables are indexed properly. I had experience with that. give us some details if thats not the case.
     
    webcosmo, Apr 7, 2007 IP
  5. liroAsp

    liroAsp Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i write in asp not asp.net.
    it's not a db problem i checked it...
    i tried to debug it, by inserting record to db in the first line of the submit page...
    but when the problem occured the record is not inserted to the db.
    it's like the request never arrived to the iis.
     
    liroAsp, Apr 11, 2007 IP
  6. webcosmo

    webcosmo Notable Member

    Messages:
    5,840
    Likes Received:
    153
    Best Answers:
    2
    Trophy Points:
    255
    #6
    try without any db operations if it times out. if not try to test it part by part commenting out.
    can you post a link or code.
     
    webcosmo, Apr 11, 2007 IP