Hi Prashanth,
I find that any process that takes more than one or two minutes to bring
results is not a suitable candidate for a web application. The typical user
of the web would think of a request as āfrozenā if it took him more than one
minute to receive the result.
In such situation, I prefer to create a batch system. This means that you
allow the user to submit a request for a report on the browser and then
immediately display a confirmation that the request was received and where to
go to check the status. The user can then visit another page that lists the
status of the submitted requests, with links to pages that display those
reports when the processing is complete. There are many strategies to
achieve such a setup. You can have a windows service running on the web
server that checks for either a file to be created in a specified folder
using the FileSystemWatcher class methods
(
http://msdn.microsoft.com/library/de...ClassTopic.asp)
or a database for any added records.
The Windows service would then execute the process that generates the report
and upon completion save a record indicating the status and the location of
the generated report (or data to be displayed by server user controls on the
browser).
--
HTH,
Phillip Williams
http://www.societopia.net http://www.webswapp.com
"prashanth" wrote:
we have a Asp.net application which is used to generate the reports.
In this application there are some reports which takes more than 50 minutes
of the time.these reports works fine on development PC Win2k professional
with IIS5.0
but These report which takes longer duration does not work on the Production
System 2003 server with IIS6.0.
but the log entries that are written at the server states that the process
is completed. but the user will not get the final resposne after waiting for
the completion of report.
The user will get error message Cannot find server or DNS Error
Please advice
prashanth