Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - On Reply I Get: Timeout expired
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

On Reply I Get: Timeout expired

 Post Reply Post Reply
Author
sparkweb View Drop Down
Newbie
Newbie


Joined: 09 February 2008
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote sparkweb Quote  Post ReplyReply Direct Link To This Post Topic: On Reply I Get: Timeout expired
    Posted: 09 February 2008 at 5:38am

I'm upgrading from 7.x to 9.08 and things are working well. I found a few issues with the upgrader and I will send along my fixes after finishing everything up.

The main problem I'm having is that when I try to reply to a post I get this error every time:

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

Timeout expired

/forum908/new_post.asp, line 787

That's where it opens this query.........

strSQL = "SELECT" & strDBTop1 & " " & strDbTable & "Thread.* " & _
"FROM " & strDbTable & "Thread" & strRowLock & " " & _
"ORDER BY " & strDbTable & "Thread.Thread_ID DESC" & strDBLimit1 & ";"

.....with......

'Open the threads table
.Open strSQL, adoCon     <----- Line 787

Everything else seems to run really well and it seems a lot faster than 7.x. I ran this query directly on the SQL server and didn't have any problem processing it directly. Does this ring any bells for anyone?

Back to Top
sparkweb View Drop Down
Newbie
Newbie


Joined: 09 February 2008
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote sparkweb Quote  Post ReplyReply Direct Link To This Post Posted: 09 February 2008 at 7:08am
RE my post above, it appears that when I copied my test DB over I didn't enable the identity insert and indexes weren't moved, etc. Duh. So never mind...... Embarrassed
 
On the 7.x upgrade file, stage 6 doesn't update the main forum database with the last topic ID for display on the front page.
I have fixed this in this file: http://senduit.com/dc3de9 (file will be there till Feb 16)
 
Mods made on lines 1048, 1099, and 1138.
 
Cheers!
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: 09 February 2008 at 12:26pm
The last topic ID is undated when users make a post in that forum, or you can use the resync tool within the admin area.
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.