Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - database upgrade error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

database upgrade error

 Post Reply Post Reply
Author
alexli View Drop Down
Newbie
Newbie


Joined: 16 June 2013
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote alexli Quote  Post ReplyReply Direct Link To This Post Topic: database upgrade error
    Posted: 24 June 2013 at 6:22pm
I am trying to upgrade my forum from ver9.68 to ver10.15. I got following error (in blue) when upgrading the MS-SQL Server 2005 database. Please let me know what is wrong and what are the solutions. My database is 1.2GB, and I tried a few times and all got the same error.


Your Database is being updated. Please be patient as this may take a few minutes to complete.

Stage 1: Creating New Database Tables and Fields.....

Error Altering the Table tblThread.Answer
Timeout expired.CompleteComplete

Stage 2: Entering default values for new fields..... Complete

Stage 3: Migrating forum configuration settings to new format..... Complete

Stage 4: Migrate Post Count to new Point System (this may take some time to complete)..... Complete

Timeout expired

SQL Server database is updated, but with Error!


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: 25 June 2013 at 12:41pm
Make sure that your databases log file has enough room to grow. Altering a table that requires the table to be rebuilt requires that the log file can grow to at least the same size as the database.

If that does not work and you still get a timeout returned from the SQL Server you can use SQL Server management Studio to change the SQL Server settings;

1. In the options under "Query Execution", you can set the "Execution Timeout" there. You can set it to 0 for unlimited

2. In options under "Designers", it says "Transaction Timeout after", you can check a box and put in a value there.

If this still does not solve the issue after the upgrade is complete you may need to add the following to your database tblThread table manually running the following in SQL Server Management Studio. Run each below separately as two quires.

ALTER TABLE [DBO].[tblThread] ADD [Answer] [bit] NOT NULL DEFAULT (0)

ALTER TABLE [DBO].[tblThread] ADD [Thanks] [int] NOT NULL DEFAULT (0)


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.