473,385 Members | 1,311 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Problem with aspx that takes very long time to complete the reques

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

Jan 19 '06 #1
4 1403
Probably because the HTTP response timeouted. Your report takes too long to
complete.

The default value for WinXP IIS is 600 secs. and for Win2003, it's 120
secs., you may wish to make both identical through IIS Manager's "default
website"->"properties"-> "Connection Timeout"

"prashanth" <pr*******@discussions.microsoft.com> ¼¶¼g©ó¶l„ó·s»D:7A********************************* *@microsoft.com...
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

Jan 19 '06 #2
I have increased the connection timeout to 3600. but still I do get the same
error.

"Lau Lei Cheong" wrote:
Probably because the HTTP response timeouted. Your report takes too long to
complete.

The default value for WinXP IIS is 600 secs. and for Win2003, it's 120
secs., you may wish to make both identical through IIS Manager's "default
website"->"properties"-> "Connection Timeout"

"prashanth" <pr*******@discussions.microsoft.com> Ā¼Ā¶Ā¼gĀ©Ć³Ā¶lĀ„Ć³Ā·sĀ»D:7A*********************** ***********@microsoft.com...
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


Jan 19 '06 #3
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

Jan 19 '06 #4
Or just have another webform generate the report, and Ajax like techniques
to notify the user about the download URL when the report is ready.

"Phillip Williams" <Ph**************@webswapp.com> ¼¶¼g©ó¶l„ó·s»D:57********************************* *@microsoft.com...
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

Jan 20 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Larry | last post by:
Hi I have asp.net programs. I used a very simple data transfer method by using URLs ”°First.aspx”± contents a line to send data to the ”°second.aspx”± page, for
0
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen....
11
by: Magdelin | last post by:
Hi, I accidently uninstalled IIS 5.1 on my XP Pro workstation and I think I messed up my .Net framework. Then, I reinstalled IIS and ran aspnet_regiis -i. After this, all asp.net applications...
11
by: Larry | last post by:
Hi I have asp.net programs. I used a very simple data transfer method by using URLs ”°First.aspx”± contents a line to send data to the ”°second.aspx”± page, for
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.