Request timing out!

Discussion in 'ASP.NET / ASP.NET Core' started by myaeropostc, May 12, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hey everyone, I hope someone can give me a clue on this for I am pretty much lost!

    I have a aspx page that uploads a plain text file and processes it (with a single button event...), the file is not that big (around 400kb) but it contains around 2200 records that must be inserted inside a database (currently hosted outside discountasp), so this takes long... I also know this process is ending sucessfully since at the end of the procedure the temp file is deleted, and plus checking the DB, all records seem to be there...

    Problem is the process takes around 5 minutes to complete and the page simply returns with a 'Document not found error'... if I use files under 1000 records (or if I skip the insert statement, where the big bottleneck is), the page returns to the client perfectly... but I need it to be able to upload around 2000 records...

    Help, anyone? /emoticons/freaked.gif
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    5 minutes? That seems long to me.

    Are you uploading to a MS Access or SQL database?

    'Document not found' usually indicate the process is being recycled(most likely due to high memory usage) but i can't really tell by just the description.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Fixed! spent most morning but coded a page that processes 200 records at a time and them posts back, as a keep alive... also redid the processing with regex and now it's faster!

    Using SQL btw

    Thanks!
     
  4. Bruce

    Bruce DiscountASP.NET Staff

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page