Execute batch jobs from ASP .Net page

Discussion in 'ASP .Net' started by Niclas, Dec 29, 2005.

  1. Niclas

    Niclas Guest

    Hi,

    I am in thge process of migrate some data to a (remote) database using ASP
    ..Net to perform some processing of the data. The data load is initiated by
    loading a textfile from a textbox and started by clicking a button on the
    web page. The load seem to progress fine for about a minute and then stops
    without the web page indicating anything.

    I assume that this has something to do with the session timing out or
    something and the request gets aborted before it has finished. I understand
    that there might be better ways of doing this, but the live site is hosted
    with a provider and I do not have control over IIS global settings etc. This
    is also a "one off", so I am more concious about the final result than
    performance and neat code etc.

    Any suggestions in how to overcome this ?

    Niclas
     
    Niclas, Dec 29, 2005
    #1
    1. Advertising

  2. Niclas

    Niclas Guest

    Sounds like a good idea, do you have any sample code for the creation of the
    worker thread ?

    Thanks

    Niclas

    "Remy" <> wrote in message
    news:...
    > Why don't you try it with a global worker thread?
    > You load the file with your textpage and then handover the processing
    > of it to the worker thread.
    > Then redirect to a second page, that periodically checks the status of
    > the worker thread and puts an update statement on the page.
    >
    > Remy Blaettler
    > http://www.collaboral.com
    >
     
    Niclas, Dec 29, 2005
    #2
    1. Advertising

  3. Niclas

    Remy Guest

    Why don't you try it with a global worker thread?
    You load the file with your textpage and then handover the processing
    of it to the worker thread.
    Then redirect to a second page, that periodically checks the status of
    the worker thread and puts an update statement on the page.

    Remy Blaettler
    http://www.collaboral.com
     
    Remy, Dec 29, 2005
    #3
  4. Niclas

    Remy Guest

    Remy, Dec 29, 2005
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. DB
    Replies:
    2
    Views:
    1,434
    Eliyahu Goldin
    Jun 22, 2005
  2. Elroyskimms
    Replies:
    0
    Views:
    3,461
    Elroyskimms
    Jul 18, 2006
  3. Tim Churches

    R BATCH jobs from Python

    Tim Churches, Nov 20, 2004, in forum: Python
    Replies:
    5
    Views:
    656
    Benjamin Scott
    Nov 21, 2004
  4. hardikh2000

    JOBs............JOBs............JOBs

    hardikh2000, Aug 16, 2005, in forum: Python
    Replies:
    0
    Views:
    437
    hardikh2000
    Aug 16, 2005
  5. nicky boy
    Replies:
    0
    Views:
    714
    nicky boy
    Feb 7, 2009
Loading...

Share This Page