473,485 Members | 1,473 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

AJAX

Hi!!! I am having a hard time processing 20,000 records using AJAX. AJAX
threw an internet connection timeout. Is there any way that I can increase
the internet connection timeout by using web.config? I am using ASP.NET 1.1.
Thanks!!!
Mar 23 '07 #1
13 2982
Hi,

ScriptManager now exposes an AsyncPostBackTimeout property to control the
timeout duration during asynchronous postbacks.
--
If my answer helped you,then please do press Yes below.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.

"chix23" wrote:
Hi!!! I am having a hard time processing 20,000 records using AJAX. AJAX
threw an internet connection timeout. Is there any way that I can increase
the internet connection timeout by using web.config? I am using ASP.NET 1.1.
Thanks!!!
Mar 23 '07 #2
If adjusting the timeout doesn't work out, you might consider an alternate
design.
You weren't very specific, but I cringe at the possibility of you sending
20,000 records all at once across the Internet. Sending data in chunks
would likely be an improvement.
If you're not sending tons of records across the Internet, but rather are
just processing that many on the server - then you might consider having
your AJAX call check the status of an ongoing server operation every X
seconds.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net

"chix23" <ch****@discussions.microsoft.comwrote in message
news:AB**********************************@microsof t.com...
Hi!!! I am having a hard time processing 20,000 records using AJAX. AJAX
threw an internet connection timeout. Is there any way that I can increase
the internet connection timeout by using web.config? I am using ASP.NET
1.1.
Thanks!!!
Mar 23 '07 #3
Hi,
Is ScriptManager available for ASP.NET 1.1? Thanks!!!

"Manish Bafna" wrote:
Hi,

ScriptManager now exposes an AsyncPostBackTimeout property to control the
timeout duration during asynchronous postbacks.
--
If my answer helped you,then please do press Yes below.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.

"chix23" wrote:
Hi!!! I am having a hard time processing 20,000 records using AJAX. AJAX
threw an internet connection timeout. Is there any way that I can increase
the internet connection timeout by using web.config? I am using ASP.NET 1.1.
Thanks!!!
Mar 23 '07 #4
Hi,
Actully you have not given exact details as to in what way you are using
AJAX.Anyway you can try setting following attributes in web.config to higher
value:

<httpruntime executiontimeout="seconds" maxrequestlength="kbytes"
apprequestqueuelimit="numberOfRequests"/>
The default for maxrequestlength is 4096.You can increase thsat also in
addition to executiontimeout.
Hope this helps
--
If my answer helped you,then please do press Yes below.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.

"chix23" wrote:
Hi!!! I am having a hard time processing 20,000 records using AJAX. AJAX
threw an internet connection timeout. Is there any way that I can increase
the internet connection timeout by using web.config? I am using ASP.NET 1.1.
Thanks!!!
Mar 23 '07 #5
Hi,
Thank you for your reply. I am currently the AJAX from Michael Schwarz. Do
you have any idea on setting the connection timeout? I am currently using
ASP.NET 1.1

"Manish Bafna" wrote:
Hi,
Actully you have not given exact details as to in what way you are using
AJAX.Anyway you can try setting following attributes in web.config to higher
value:

<httpruntime executiontimeout="seconds" maxrequestlength="kbytes"
apprequestqueuelimit="numberOfRequests"/>
The default for maxrequestlength is 4096.You can increase thsat also in
addition to executiontimeout.
Hope this helps
--
If my answer helped you,then please do press Yes below.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.

"chix23" wrote:
Hi!!! I am having a hard time processing 20,000 records using AJAX. AJAX
threw an internet connection timeout. Is there any way that I can increase
the internet connection timeout by using web.config? I am using ASP.NET 1.1.
Thanks!!!
Mar 23 '07 #6
Hi,
I am assuming that you have already set executiontimeout and
maxrequestlength attributes in we.config to a higher values.If that is not
helping then in
ADO.NET, there is a CommandTimeout property of the command object that
defaults to 30 seconds. A specification of 0 means infinite.You can also set
this value at application level by following code:
System.Data.IDbCommand.CommandTimeout = 50;
Hope this helps.
--
If my answer helped you,then please do press Yes below.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.

"chix23" wrote:
Hi,
Thank you for your reply. I am currently the AJAX from Michael Schwarz. Do
you have any idea on setting the connection timeout? I am currently using
ASP.NET 1.1

"Manish Bafna" wrote:
Hi,
Actully you have not given exact details as to in what way you are using
AJAX.Anyway you can try setting following attributes in web.config to higher
value:

<httpruntime executiontimeout="seconds" maxrequestlength="kbytes"
apprequestqueuelimit="numberOfRequests"/>
The default for maxrequestlength is 4096.You can increase thsat also in
addition to executiontimeout.
Hope this helps
--
If my answer helped you,then please do press Yes below.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.

"chix23" wrote:
Hi!!! I am having a hard time processing 20,000 records using AJAX. AJAX
threw an internet connection timeout. Is there any way that I can increase
the internet connection timeout by using web.config? I am using ASP.NET 1.1.
Thanks!!!
Mar 23 '07 #7
Hi,
Thank you for your suggestion. :)

"Manish Bafna" wrote:
Hi,
I am assuming that you have already set executiontimeout and
maxrequestlength attributes in we.config to a higher values.If that is not
helping then in
ADO.NET, there is a CommandTimeout property of the command object that
defaults to 30 seconds. A specification of 0 means infinite.You can also set
this value at application level by following code:
System.Data.IDbCommand.CommandTimeout = 50;
Hope this helps.
--
If my answer helped you,then please do press Yes below.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.

"chix23" wrote:
Hi,
Thank you for your reply. I am currently the AJAX from Michael Schwarz. Do
you have any idea on setting the connection timeout? I am currently using
ASP.NET 1.1

"Manish Bafna" wrote:
Hi,
Actully you have not given exact details as to in what way you are using
AJAX.Anyway you can try setting following attributes in web.config to higher
value:
>
<httpruntime executiontimeout="seconds" maxrequestlength="kbytes"
apprequestqueuelimit="numberOfRequests"/>
The default for maxrequestlength is 4096.You can increase thsat also in
addition to executiontimeout.
Hope this helps
--
If my answer helped you,then please do press Yes below.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.
>
>
>
"chix23" wrote:
>
Hi!!! I am having a hard time processing 20,000 records using AJAX. AJAX
threw an internet connection timeout. Is there any way that I can increase
the internet connection timeout by using web.config? I am using ASP.NET 1.1.
Thanks!!!
Mar 23 '07 #8
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:7C**********************************@microsof t.com...
I cringe at the possibility of you sending 20,000 records all at once
across the Internet.
Me too! Utter lunacy...
Mar 23 '07 #9
What user does not want to read 20,000 records at a time? :-)

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*********************************************
Think outside the box!
*********************************************
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:ej**************@TK2MSFTNGP05.phx.gbl...
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:7C**********************************@microsof t.com...
>I cringe at the possibility of you sending 20,000 records all at once
across the Internet.

Me too! Utter lunacy...
Mar 24 '07 #10
From your question, I would guess you are missing the point of AJAX. It is
designed primarily to enrich user experience and add usability, not to
become a secondary data transport.

My first take would be to figure out how to speed up your record processing.
No matter what data storage mechanism you are using (database server,
Access, XML) the best way to do this is to filter the results before
processing. The fewer records in the working set, the faster the query
completes. This, alone, may speed up your query so you can avoid the
timeout.

In 1.1, you have fewer choices with Asynchronous processing, as the ASP.NET
AJAX project, which has the script manager (mentioned by one of the posters)
is only available in 2.0. I am not sure which open source implementation
might have an asynch process. If none, speeding up your query, or increasing
timeout for all pages in your site, are your only options.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*********************************************
Think outside the box!
*********************************************
"chix23" <ch****@discussions.microsoft.comwrote in message
news:AB**********************************@microsof t.com...
Hi!!! I am having a hard time processing 20,000 records using AJAX. AJAX
threw an internet connection timeout. Is there any way that I can increase
the internet connection timeout by using web.config? I am using ASP.NET
1.1.
Thanks!!!
Mar 24 '07 #11
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:36**********************************@microsof t.com...
What user does not want to read 20,000 records at a time? :-)
I bet they want the ability to print them too...!!!
Mar 24 '07 #12
Hi,
How can I increase the timeout of a page in web.config?

"Cowboy (Gregory A. Beamer)" wrote:
From your question, I would guess you are missing the point of AJAX. It is
designed primarily to enrich user experience and add usability, not to
become a secondary data transport.

My first take would be to figure out how to speed up your record processing.
No matter what data storage mechanism you are using (database server,
Access, XML) the best way to do this is to filter the results before
processing. The fewer records in the working set, the faster the query
completes. This, alone, may speed up your query so you can avoid the
timeout.

In 1.1, you have fewer choices with Asynchronous processing, as the ASP.NET
AJAX project, which has the script manager (mentioned by one of the posters)
is only available in 2.0. I am not sure which open source implementation
might have an asynch process. If none, speeding up your query, or increasing
timeout for all pages in your site, are your only options.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*********************************************
Think outside the box!
*********************************************
"chix23" <ch****@discussions.microsoft.comwrote in message
news:AB**********************************@microsof t.com...
Hi!!! I am having a hard time processing 20,000 records using AJAX. AJAX
threw an internet connection timeout. Is there any way that I can increase
the internet connection timeout by using web.config? I am using ASP.NET
1.1.
Thanks!!!

Mar 27 '07 #13

Hi ...

we can use AsyncPostBackTimeout="0" for no time out .

Thanks,
Sachin S.
*** Sent via Developersdex http://www.developersdex.com ***
Apr 6 '07 #14

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

Similar topics

11
2315
by: Yarco | last post by:
I want to use "Ajax" to create my web for hobby. But i don't know whether "Ajax" is mature... And what about with php? Someone have experience on it? ....
4
4283
by: bobzimuta | last post by:
I'm creating a simple AJAX library. It's an object that will return an array containing the response text or xml. I'm trying to find a way to assign the response as a property of the object, but...
0
1822
by: melledge | last post by:
Ajax Developers' Day added to XTech 2006 agenda XTech 2006 - 17-19 May - Hotel Grand Krasnopolsky - Amsterdam, The Netherlands
0
1804
by: melledge | last post by:
Ajax Developers' Day to Kick Off XTech 2006 Conference Industry experts offer insight into next generation of the Web ALEXANDRIA, VIRGINIA, USA - April 25, 2006 - In response to the rapidly...
1
16469
by: www.web20developers.com | last post by:
http://www.web20developers.com http://www.web20developers.com/index.php?option=com_content&task=view... Ajallerix : AJAX, simple, fast Web image gallery demo ; at Novell AJAX -...
10
3011
by: =?Utf-8?B?WWFua2VlIEltcGVyaWFsaXN0IERvZw==?= | last post by:
controlsPlease could some of you here post some of your live examples of AJAX (esp drag panels, collapsable panels, and popup menu.) (It's one thing to talk about how great something is, but it's...
2
2244
by: soni2926 | last post by:
hi, does anyone know of any good books on ajax and asp.net, one that teaches ajax itself before jumping in atlas? I wanted to get an understanding of ajax and how to use it, most books i've seen...
1
3390
by: shaunwo | last post by:
I'm an AJAX / DOM Novice (at best) and trying to figure out how to write the value to a couple input fields. I don't remember exactly where I got the ajax.js file I'm using from (went to the website...
11
3009
by: =?Utf-8?B?R2VyaGFyZA==?= | last post by:
I have run into a situation that if a page/tab that uses the Ajax toolkit (using .net version 3.5) is closed before the Ajax enable controls complete loading, then IE locks up. Does it in both IE7...
0
7090
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,...
0
7161
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...
1
6825
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...
0
7275
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
3058
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...
0
3063
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1376
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 ...
1
595
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
247
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.