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

Huge Data update results in script time out - ASP page

Hi everyone,

I have a problem with huge data update (like 4000 lines of text ) in the Database through ASP page. IE error was : Script timed out. I believe that the Application process runs out of memory as there are like 115 ASP application on the IIS. I have noticed that the page gets updated in 1.5 min in local IIS where as the server takes 5 min to display error. What can i do best at this situation? Can anybody tell me where can i see ASP process running and explain abt it.


Thanks in Advance
Feb 7 '08 #1
7 1986
nedu
65
Hi,

You shall set the Scripttimeout using following syntax

Server.ScriptTimeout[=NumSeconds]


Try This . .

Regards,
Nedu. M
Feb 7 '08 #2
Hi,

You shall set the Scripttimeout using following syntax

Server.ScriptTimeout[=NumSeconds]


Try This . .

Regards,
Nedu. M
Hi Nedu,


I tried increating the script timeout seconds.. nothing works.. what can i do?
Feb 7 '08 #3
nedu
65
Hi,

Try this

http://support.microsoft.com/kb/268364

Regards,
Nedu. M
Feb 7 '08 #4
Hi,

Try this

http://support.microsoft.com/kb/268364

Regards,
Nedu. M
I tried all that. Nothing works.. the upate action is eating up 100 % of CPU usage and 63% of the available memory. i think the problm is with the ASP process memory.

thanks
Porchelvi
Feb 7 '08 #5
nedu
65
Hi,

I think u r updating the DB. Try using the SP for updation.


Regards,
Nedu. M
Feb 7 '08 #6
CroCrew
564 Expert 512MB
Hello porchelvi,
Can you post the complete code of the page that you are using to update your database? Please mask out your connection string but, let us know the type of database that you are using. Maybe we can optimize the page for you and get everything working.

CroCrew~
Feb 7 '08 #7
markrawlingson
346 Expert 100+
BOOO.

Script timeouts should be stricken from all programming languages.

If the standard script timeout is maxing, that indicates a problem with the efficiency in your code. If you put 500lbs of weight on a camel's back, it will lay down - even if it the strongest camel in the world, there's always a breaking point.

Fix the problem at its core, don't create a bandaid solution, it only causes more problems in the future.

As CroCrew said, show the code and perhaps we can offer up some optomizations for you within the script. This will speed up the script by making the actual code more efficient.

Sincerely,
Mark
Feb 7 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: jaysonsch | last post by:
Hello! I am having some problems with a database query that I am trying to do. I am trying to develop a way to search a database for an entry and then edit the existing values. Upon submit, the...
5
by: Nicola Pedrozzi | last post by:
Here I really need a guru... ;^( I found out today with a big disappointment that : window.open("url", ...) and also navigate("url") limit the max length of the url string to something...
5
by: mas | last post by:
I have a Stored Procedure (SP) that creates the data required for a report that I show on a web page. The SP does all the work and just returns back a results set that I dump in an ASP.NET...
31
by: Greg Scharlemann | last post by:
Given some recent success on a simple form validation (mainly due to the kind folks in this forum), I've tried to tackle something a bit more difficult. I'm pulling data down from a database and...
2
by: Richard Cornford | last post by:
Anyone who has taken a look at the online FAQ today may have noticed that I have updated it. The majority of the changes are the updating of broken links and the implementation of that extensive...
3
by: monomaniac21 | last post by:
hi all i have a script that retrieves rows from a single table, rows are related to eachother and are retrieved by doing a series of while loops within while loops. bcos each row contains a text...
4
by: dac | last post by:
I am quietly going insane on this project. I've never worked on a project like this one before. All my previous sticky forms were for data entry, not editing. I don't know how to display the form...
9
by: NvrBst | last post by:
Whats the best way to count the lines? I'm using the following code at the moment: public long GetNumberOfLines(string fileName) { int buffSize = 65536; int streamSize = 65536; long...
2
by: WuBin | last post by:
Hi, I have a GridVew and a sqlDtaSurce control in ASP.NET real-time page. The sqlDtaSurce control use a complicated query to load data from a SQL database. This real-time page is reloaded by...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...

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.