Trouble with long process

Discussion in 'ASP.NET / ASP.NET Core' started by hoaian83, Oct 13, 2009.

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

    I got trouble when trying to run my web page on hosting, it is ok on my machine. The application downloads and imports data to database, this process takes about 20 minutes.

    Firefox says "Connection Interrupted" and Internet Explorer says "Internet Explorer cannot display the webpage" after a while I run my web page. Note that I added "<httpRuntime executionTimeout="3200"/>" and set debug = false in web.config file.

    Anyone knows how to fix this. Please help...

    Thanks,
    Hoai An
     
  2. Bruce

    Bruce DiscountASP.NET Staff

  3. You may want to turn response buffering off as well. If the browser has to wait for the server to buffer the data before sending it then the browser may just get bored if it's not receiving data.
     
  4. Another tip that may help are some settings you should test in the actual page using the data connection.
    For example I was able to get past this same thing on an Admin page that would wait for a server response by adding:
    <%@ Page EnableSessionState="True" Explicit="True" Language="VB" Debug="False" validateRequest="false" %>

    There are many more individual settings you can test with at the page level.
    All the best,
    Mark
     
  5. mjp

    mjp

    There's nothing quite as sad and tragic as a bored browser...
     
  6. ...I like the way you roll bro. ;-)
    If we can't keep this fun we might as well go all John Wayne on it. ;-)
     
  7. Thanks all, maybe I have to create a support ticket.. it's really a big problem.
     
  8. Hi guys, I need your help on this one because the hosting provider limits the amount of resources, there CPU limit just set about 3.5mins for utilization.
    My csv file has about 30MB, I have to download and update all to database, it takes about 20mins. The step of downloading takes about 12mins. Is there a way to solve this?

    Thank you all...
     
  9. Well either get a faster connection to the net where you're uploading/downloading that CSV file or break it into smaller chunks and automate cycling through those chunks until you process all the data. You could do this with javascript/ActiveX to process each chunk at a time.

    How true... :p
     
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