Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - help upgrading
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

help upgrading

 Post Reply Post Reply
Author
idanbensh View Drop Down
Newbie
Newbie


Joined: 20 December 2010
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote idanbensh Quote  Post ReplyReply Direct Link To This Post Topic: help upgrading
    Posted: 20 December 2010 at 12:52pm
hello
 
we are trying to upgrade from version 7 to 9 and we have a problem during the database update .
 
this is the error we get:
 
Server Error in Forum Application
An error initialising Global Variables from database.
Please contact the forum administrator.
 
Support Error Code:- err_SQLServer_getForumConfigurationData()_read_global_variables
File Name:- global_variables_inc.asp
 
Error details:-
Microsoft OLE DB Provider for SQL Server
Invalid column name 'ID'.
 
and this is the place in the code where it appears
 
'Initialise the SQL variable with an SQL statement to get the configuration details from the database
                        strSQL = "SELECT " & strDbTable & "Configuration.* " & _
                        "FROM " & strDbTable & "Configuration" &  strDBNoLock & " " & _
                        "WHERE " & strDbTable & "Configuration.ID = 1;"
 
 
what can we do?
thnx
 
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: 20 December 2010 at 1:26pm
It sounds like you are trying to run the forum without first upgrading the database.

Follow the upgrade instructions for SQL Server at the link below:-

Back to Top
idanbensh View Drop Down
Newbie
Newbie


Joined: 20 December 2010
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote idanbensh Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2010 at 1:20pm
We already have upgrading the database but an exception still exists (Table Configuration does not contains the "Id" field ,but that field is demanded).Perhaps we need to do something extra?Do you have some suggestion or somebody else has encountered the same problem.
Thank you.
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 December 2010 at 5:21pm
Your database is either not upgraded or not upgraded correctly.

Go back to the back of the database that you should have made before the upgrade and try going through the upgrade process again.
Back to Top
idanbensh View Drop Down
Newbie
Newbie


Joined: 20 December 2010
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote idanbensh Quote  Post ReplyReply Direct Link To This Post Posted: 23 December 2010 at 10:46am
Back to Top
idanbensh View Drop Down
Newbie
Newbie


Joined: 20 December 2010
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote idanbensh Quote  Post ReplyReply Direct Link To This Post Posted: 23 December 2010 at 10:50am
Hi,
This is table configuration it haven't column with name ID that script try to read it...
 
Error details:-
Microsoft OLE DB Provider for SQL Server
Invalid column name 'ID'.
 
Maybe we have version 6? ...I see in code
 
'Intialise variables
'Const strVersion = "7.9"
strVersion = "7.9"
 
Or maybe we need to update from version 7 to 8 and after to 9?...
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: 23 December 2010 at 5:29pm
Looking at the image you have non of the fields created that are for version 9 in the table.

The setup/upgrade wizard will take a version 7.x database and upgrade it directly to version 9.x.

Once the database is upgraded using the install setup/upgrade wizard you will have the new fields in the database including the ID field that is presently giving you the error message.
Back to Top
idanbensh View Drop Down
Newbie
Newbie


Joined: 20 December 2010
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote idanbensh Quote  Post ReplyReply Direct Link To This Post Posted: 27 December 2010 at 9:01am
Hi,
setup/upgrade wizard
and
install setup/upgrade wizard
 
It's not some pages?...
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.