473,414 Members | 1,740 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,414 software developers and data experts.

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 2977
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
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
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
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
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
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
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
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
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
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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
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
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,...
0
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.