473,625 Members | 2,999 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1414
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*******@disc ussions.microso ft.com> ¼¶¼g©ó¶l¥ó·s»D: 7A************* *************** ******@microsof t.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*******@disc ussions.microso ft.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 FileSystemWatch er 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************* *************** ******@microsof t.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 FileSystemWatch er 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
1883
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
3927
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. It is almost like it is trying to implement it's own COM interfaces... below is the header, and a link to the dll+code: Zip file with header, example, and DLL:...
11
1539
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 except one worked normally. This application is different from other as it is distributed (uses .Net Remoting), uses Crystal Reports 9 for web reports, uses Infragistics NetAdvantage suite controls and windows integrated authetication. The good...
11
1542
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
8253
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8635
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8354
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7182
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6116
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4089
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4192
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2621
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.