Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Could you plz help me -boRg- ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Could you plz help me -boRg- ?

 Post Reply Post Reply
Author
Cool_Man View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 March 2003
Location: Kuwait
Status: Offline
Points: 147
Post Options Post Options   Thanks (0) Thanks(0)   Quote Cool_Man Quote  Post ReplyReply Direct Link To This Post Topic: Could you plz help me -boRg- ?
    Posted: 25 August 2004 at 7:38am

Hi -boRg-,

when i try to search for some of words by 'search_form.asp' page and chioce 'Message body' and pess on 'Start Search', i get the following error meassage in 'search.asp' page:

Microsoft OLE DB Provider for SQL Server error '80040e31'

Timeout expired

/forum/search.asp, line 356

Could you tell me what is the problem plz?

comment: My tblThread table in my MS SQL DataBase include: 178000 rows.



Thanks for all
Back to Top
ljamal View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Status: Offline
Points: 888
Post Options Post Options   Thanks (0) Thanks(0)   Quote ljamal Quote  Post ReplyReply Direct Link To This Post Posted: 25 August 2004 at 2:37pm
The search takes longer to return results than the page allows. You can increase the time for the page, remove records (so there are less to search through) or look to using MS SQL text searching.
Back to Top
zadax View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 19 January 2003
Location: Israel
Status: Offline
Points: 433
Post Options Post Options   Thanks (0) Thanks(0)   Quote zadax Quote  Post ReplyReply Direct Link To This Post Posted: 25 August 2004 at 9:14pm

somone corect me if i am wrong but he can change the expire time at the common file

like

Server.ScriptTimeout = 90
Session.Timeout = 20

changin the number ..

Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 26 August 2004 at 5:39am
that is correct zadax.
you can change those, but some hosts don't allow you to set your own.

mainly free hosts though.

Cool_Man you want to change the server.ScriptTimeout
Back to Top
klr3 View Drop Down
Groupie
Groupie
Avatar

Joined: 20 February 2003
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote klr3 Quote  Post ReplyReply Direct Link To This Post Posted: 26 August 2004 at 10:11am
I have same problem, and for a long time now, and DO NOT know what to do - the time-out this out is very high on my server, 180 i the common.asp file.

Please read http://forums.webwiz.net/forum_posts.asp?TID=10 211 for more....

If anyone has a solution, plz let us know!!!!
Back to Top
ljamal View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Status: Offline
Points: 888
Post Options Post Options   Thanks (0) Thanks(0)   Quote ljamal Quote  Post ReplyReply Direct Link To This Post Posted: 26 August 2004 at 10:36am
Rather than changing it on the entire site by changing it in the common.asp, you may just want to change it by adding the server.scriptTimeout = xx to the search page below the common.asp include. This will increase the time out on that particular page and not for the entire site.
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 26 August 2004 at 12:04pm

Although you can adjust the script timeout for all pages through the global.asa, remember that it is set at whatever value your host chose for a reason. It's also a real PITA to wait forever for a timeout when you're trying to troubleshoot, or if you're a user waiting for a response from a script that's going to fail anyway.

If you mess with the default value, it's usually better to do it on a script-by-script basis - only change in those scripte/pages where you really need to.


Lead me not into temptation... I know the short cut, follow me.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.