Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Upgrade 9.69 > 10.11 fail
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Upgrade 9.69 > 10.11 fail

 Post Reply Post Reply
Author
MaximeRoy77 View Drop Down
Groupie
Groupie
Avatar

Joined: 21 November 2010
Location: Québec, Canada
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote MaximeRoy77 Quote  Post ReplyReply Direct Link To This Post Topic: Upgrade 9.69 > 10.11 fail
    Posted: 27 April 2012 at 5:56pm
I've tried many times, differents tweaks, same results: not working.

As read in  another thread I've modify the file growth factors to 30% to help the upgrade process that was giving too many errors.

Here's the results:

URL: http://www.progarchives.com/forum3/setup_db.asp?setup=SqlServer9Update


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 
Query timeout expired.Complete

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

Query timeout expired

SQL Server database is updated, but with Error!






The forum homepage works fine
The forum threads list works fine

The forum_posts.asp don't work

URL: http://www.progarchives.com/forum3/forum_posts.asp?TID=86452&title=is-the-first-prog-album-usually-the-best

Here's the error:

Server Error in Forum Application
An error has occurred while executing SQL query on database.
Please contact the Forum Administrator.

Support Error Code:- err_SQLServer_get_topic_posts_data
File Name:- forum_posts.asp
Forum Version:- 10.11







Please help , thanks



Back to Top
MaximeRoy77 View Drop Down
Groupie
Groupie
Avatar

Joined: 21 November 2010
Location: Québec, Canada
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote MaximeRoy77 Quote  Post ReplyReply Direct Link To This Post Posted: 27 April 2012 at 6:00pm
I am going to tweaks more, I just read this reply, I did not know about the log file too.

Originally posted by WebWiz-Bruce WebWiz-Bruce wrote:

The problem is that when it tries to add the new fields to the Thread table is that if there is not enough space to complete the operation the database will not return an error, so it looks like the upgrade has gone through correctly.

If you have a large database you need to make sure you have at least 25% space for your primary file group and that your log file is at least 50% the size of your primary file group.

The database can be shrunk after the upgrade but adding extra fields to a large table like the Thread table that holds all the posts will need allot of temporary space to add the extra fields.

If there is not enough space to create the new fields in the thread table due to the database not returning an error the first you will know is when you try and view a post, it will not display, exactly like what you describe.


Edited by MaximeRoy77 - 27 April 2012 at 6:11pm
Back to Top
MaximeRoy77 View Drop Down
Groupie
Groupie
Avatar

Joined: 21 November 2010
Location: Québec, Canada
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote MaximeRoy77 Quote  Post ReplyReply Direct Link To This Post Posted: 27 April 2012 at 6:21pm
No.

Still not working after:

- Setting the DATA file at 10GB (from 4GB)
- Settting the LOG file at 10GB (from 3.5GB)

and there is enough disk space.

???
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: 27 April 2012 at 10:02pm
Your database is to large to be updated on the client side and you would need to update the tblThread table manually on the database server.

See the topic below:-

Back to Top
MaximeRoy77 View Drop Down
Groupie
Groupie
Avatar

Joined: 21 November 2010
Location: Québec, Canada
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote MaximeRoy77 Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2012 at 3:51am
Thanks , it worked, executing theses 2 SQL commands manually:


ALTER TABLE tblThread ADD Answer bit not null default 0

ALTER TABLE tblThread ADD Thanks int not null default 0



After running the automatic upgrade script you provided with the ZIP.

Thumbs Up

Back to Top
MaximeRoy77 View Drop Down
Groupie
Groupie
Avatar

Joined: 21 November 2010
Location: Québec, Canada
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote MaximeRoy77 Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2012 at 1:26pm
By the way, you should use Cdbl instead of Cint in most part of the code, everytime I upgrade I need to do it myself ;-)


Back to Top
Ravage View Drop Down
Newbie
Newbie


Joined: 21 March 2006
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ravage Quote  Post ReplyReply Direct Link To This Post Posted: 01 May 2012 at 4:11pm
We had this issue too - but we downloaded v9.74 and upgraded to that first, THEN repeated the exercise to upgrade to v10.11, like yourselves a direct upgrade always fell over during test upgrades
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.