p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.

Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 24th, 2009, 04:58 PM
Authorized User
Points: 422, Level: 7
Points: 422, Level: 7 Points: 422, Level: 7 Points: 422, Level: 7
Activity: 20%
Activity: 20% Activity: 20% Activity: 20%
 
Join Date: Oct 2006
Location: , , .
Posts: 91
Thanks: 8
Thanked 0 Times in 0 Posts
Default SCRIPT TIMING OUT

Hi to all...

i have a web page that displays records from the database...
I added <% Server.ScriptTimeout = 2000 %> to my page...

but still after a while the page "The page cannot be displayed"...

I know it’s working because when I change my script to display least on screen it works…

Do you know if there something else to add or I need to change because it looks like it’s not reading the timeout…

Thx Rino
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old September 24th, 2009, 06:01 PM
Friend of Wrox
Points: 4,805, Level: 29
Points: 4,805, Level: 29 Points: 4,805, Level: 29 Points: 4,805, Level: 29
Activity: 50%
Activity: 50% Activity: 50% Activity: 50%
 
Join Date: Jun 2008
Location: Snohomish, WA, USA
Posts: 1,323
Thanks: 3
Thanked 70 Times in 69 Posts
Default

Don't display so many records.

Learn to use "recordset paging". Display only 10 to 20 records per page.

Google for "asp recordset paging". Tons of examples out there. Some of them are even good ones.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #3 (permalink)  
Old September 24th, 2009, 06:18 PM
Authorized User
Points: 422, Level: 7
Points: 422, Level: 7 Points: 422, Level: 7 Points: 422, Level: 7
Activity: 20%
Activity: 20% Activity: 20% Activity: 20%
 
Join Date: Oct 2006
Location: , , .
Posts: 91
Thanks: 8
Thanked 0 Times in 0 Posts
Default

the reason why is that once displayed the user exports the data to excel...
so they are not going to view it in web page...
is there a way to just export it to excel instead of display it on screen then???

Thx Rino
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #4 (permalink)  
Old September 24th, 2009, 08:03 PM
Friend of Wrox
Points: 4,805, Level: 29
Points: 4,805, Level: 29 Points: 4,805, Level: 29 Points: 4,805, Level: 29
Activity: 50%
Activity: 50% Activity: 50% Activity: 50%
 
Join Date: Jun 2008
Location: Snohomish, WA, USA
Posts: 1,323
Thanks: 3
Thanked 70 Times in 69 Posts
Default

Quote:
is there a way to just export it to excel instead of display it on screen then???
Yeah, but it's about 20 or 30 times as much work and easy to mess up.

Okay, just bump up the DB connection timeout and the Script timeout. A bit ugly, but if it's not done TOO often it will be okay.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
timing out issue... RinoDM SQL Server 2000 1 September 24th, 2009 06:02 PM
Full Text timing out coww_pie SQL Server 2005 1 October 30th, 2007 12:47 AM
Remoting timing out after 2 minutes BrainWave ASP.NET 2.0 Professional 0 August 13th, 2007 07:54 AM
timing issue riteshu C++ Programming 2 September 22nd, 2004 08:10 AM
database timing gmoney060 BOOK: Beginning ASP 3.0 1 June 2nd, 2004 07:52 AM



All times are GMT -4. The time now is 12:58 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc