Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - SQL Search Error ’80040e31’
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SQL Search Error ’80040e31’

 Post Reply Post Reply Page  12>
Author
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 Topic: SQL Search Error ’80040e31’
    Posted: 29 April 2004 at 4:47am

Very time some one try to search in message body on the serach pages, I always get following error:

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

Timeout expired

/forum/search.asp, line 356

Iīm using MSSQL and WWF version 7,51a...

Anyway to fix this?
I donīt have any problems when seaching in subject or members..

Please help!

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 29 April 2004 at 7:11am
Increase the timeout property in the common.asp file.
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: 29 April 2004 at 7:27am
Thanks Borg, but that does not work.

Timeout is now set 180, but the result is still the same.
I think my provider has a default timeout...

But i donīt understand why the error only displays when searching in the message body???
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 29 April 2004 at 7:50am
Maybe your web host can shed light on this.

I have seen this error before when the SQL server is located at a different geographical location to the web server, thus the data was taking time to travel across the Internet.
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: 29 April 2004 at 8:04am

Thatīs not the problem here as the servers are located i the same server room, and in same country...

Anyway, Iīm planing to upgrade the forum to newest version, also the MSSQL. Also I now i oprder our own private server with private SQL, so we no longer have to share with others...

Expensive, allthough...

Hopefully that will improve the preformance ?!?

Thanks again for your quick support... I, and our 10.000 daily users, love your forum - keep up the good work!

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 29 April 2004 at 9:09am
If your server is somewhat busy and your database for the forum somewhat large it can easily timeout. There had to be a sacrifice made in SQL performance to make the search more interoperable between access and sql versions. if you understand a little about sql, t-sql etc. it is easily possible for you to improve search performance. The reason why it times out only in body search is, that it is going through text fields which naturally takes longer then some short char fields.
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: 11 May 2004 at 3:33pm
Originally posted by klr3 klr3 wrote:

Very time some one try to search in message body on the serach pages, I always get following error:

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

Timeout expired

/forum/search.asp, line 356 ....

Now I have opgraded the forum to 7.8, got our own expensive server with SQL along, on the same machine...

Anyway, I still get the error, when trying to search in the body field.

Total posts right now is about 95.000...

Does anyone have any solution to this problem?

regards,
Kenneth

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: 24 May 2004 at 9:09am
Still no answers???

Please help - I donīt know what to do???

I tried to copy the data from the SQL to Access, and guess what...

Now itīs possible to search in the body field (in Access), but still this search returns the mentioned error code...

Please note, that the database is NOT an option!

What am I, and my web host, doing wrong???

To Borg:
If you in any way can give some exclusive support, Iīm accepting you invioce!
Back to Top
 Post Reply Post Reply Page  12>

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.