Link to home
Start Free TrialLog in
Avatar of bbkevin
bbkevin

asked on

Asynchronous

Hi Experts,

I have very long stored procedure that require to running for few hours. The current situation is allow the user to start the stored procedure and check the status in the ASP.NET web application.

Current Items
- Web Page contains single START button only
- Stored Procedure named SP_Retrieve_Internet_Record_Monthly
- Table named tblStatus contains one varchar column named Status.

Some suggestion on the web say calling Web Services Asynchronously,
and other say using delegate.

If you can give some examples it will be greatly appreciated.
Avatar of topdog770
topdog770
Flag of United States of America image

Hi bbkevin,

is there some reason that this process needs to be started by the user?  if, for example, it runs every day, you could create a scheduled task to run the stored procedure, and then generate a report, email, etc. that would notify the user when it is complete.

Avatar of bbkevin
bbkevin

ASKER

The user may not start the process because of bad weather such as earthquake, hurricane, tsunami, typhoon, cyclone...
ASKER CERTIFIED SOLUTION
Avatar of topdog770
topdog770
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Aaron Jabamani
Aaron Jabamani
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial