Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - "Timeout expired" error when upgrading
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

"Timeout expired" error when upgrading

 Post Reply Post Reply Page  <123>
Author
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: 18 September 2006 at 12:18pm
I can't remember offhand as I don't have Enterprise Manager but if you look through the settings, usually under something like properties for the database, you should find a way to increase the timeout for the database.

Also check that the SQL Server you are using to update the database has permissions to create and alter tables, moving this user to DBO group in SQL Server should do this. (DBO stands for Database Owner)
Back to Top
CinemaemCena View Drop Down
Groupie
Groupie


Joined: 05 February 2006
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote CinemaemCena Quote  Post ReplyReply Direct Link To This Post Posted: 18 September 2006 at 12:39pm
Well, borg, I'm stuck. When I checked the timeout value was set to "Wait indefinetely". The dabase HAS permissions to create and alter tables.
 
But the upgrading process takes about 100 seconds and, when the final screen appears, everything is right BUT the stage 2, where the Time Out message regarding tblThreads appears.
 
I guess that's it for me, huh? :(
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: 18 September 2006 at 1:26pm
The only thing you can do then, as it is only the the tblThread table that there is a problem, is have a look in the version history file and manually add the new fields to the table.

Luckily the only changes were to add towo new fields which I have listed below:-

Changes to tblThread
New fields:-
1. Hide - data type = true/false - default value = false
2. File_uploads - data type = text 255 characters

For the first one in SQL server it needs to be set to binary and have the default value of 0 as SQL Sever doesn't have a true/false datatype.
Back to Top
CinemaemCena View Drop Down
Groupie
Groupie


Joined: 05 February 2006
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote CinemaemCena Quote  Post ReplyReply Direct Link To This Post Posted: 18 September 2006 at 6:49pm
Borg, do you recommend I do this before or after running the upgrade?
 
And what if there's some other table that should've been created but wasn't because of the tblThread time out? I mean... after doing the tblThread, the program would upgrade other tables, wouldn'it?
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: 19 September 2006 at 10:55am
Do this after the upgrade.

As the only error message is a timeout on that particular table the other tables should have been created and updated successfully.
Back to Top
CinemaemCena View Drop Down
Groupie
Groupie


Joined: 05 February 2006
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote CinemaemCena Quote  Post ReplyReply Direct Link To This Post Posted: 21 September 2006 at 2:18am

Ok, I did everything like you said. But now, when I click on any topic of the forum, I get the message:

Microsoft VBScript runtime error '800a005e'

Invalid use of Null: 'CBool'

/forum/forum_posts.asp, line 779

 

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: 21 September 2006 at 7:40am
It maybe then that the other new fields are also not created.

You may need to go through the version history file and create all fields manually if you can not findout why your database is timing out when alterations are applied to the tables.

I still think it would be a permissions issue and that the user you are logging into the SQL Server with doesn't have sufficient permissions to alter tables. Try logging in with the 'sa' account for doing the database upgrade.

Also a SQL Server site may be able to give you better advice on dealing with issues with SQL Server as it can be quite a complex database system.
Back to Top
jeffdaro View Drop Down
Groupie
Groupie


Joined: 15 April 2005
Status: Offline
Points: 171
Post Options Post Options   Thanks (0) Thanks(0)   Quote jeffdaro Quote  Post ReplyReply Direct Link To This Post Posted: 21 September 2006 at 1:45pm
Just to add to the mix...our install went fine, but timeouts seem to be a daily issue with our forums. I've been blaming it on my ISP. Just my 2 cents...

Back to Top
 Post Reply Post Reply Page  <123>

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.