Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Installation woes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Installation woes

 Post Reply Post Reply
Author
yandr View Drop Down
Groupie
Groupie


Joined: 10 March 2009
Status: Offline
Points: 106
Post Options Post Options   Thanks (0) Thanks(0)   Quote yandr Quote  Post ReplyReply Direct Link To This Post Topic: Installation woes
    Posted: 10 March 2009 at 11:45am
I tried to install the latest edition (SQL Server 2005) by doing the following

  1. downloaded the package and unzipped it
  2. created an SQL Server 2005 database on the server and created a user to manage it
  3. modified the connection string in the webqiz package and uploaded the software
  4. I tried to run the Web Wiz Forums Database Microsoft SQL Server Setup but I get the following error message

Error entering default values in the Table tblConfiguration
Invalid column name 'A_Code'.

Invalid column name 'A_Code'.
SQL Server database is set up, but with Error!


The table are created but the thing does not work.


Any ideas?



Edited by yandr - 10 March 2009 at 11:50am
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: 10 March 2009 at 2:18pm
Most errors are coursed by corrupted files during the upload process.

I would suggest deleting all the tables from the database, reuploaidng the forum files again, and then re-run the database setup on the empty SQL Server database.
Back to Top
wb-in-wpb View Drop Down
Newbie
Newbie


Joined: 16 April 2008
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote wb-in-wpb Quote  Post ReplyReply Direct Link To This Post Posted: 10 March 2009 at 3:56pm
It could also be the collating sequence for the database. If the database was created case sensitive, and the field somehow was created as a_code instead of A_Code then you could have that problem.
Back to Top
yandr View Drop Down
Groupie
Groupie


Joined: 10 March 2009
Status: Offline
Points: 106
Post Options Post Options   Thanks (0) Thanks(0)   Quote yandr Quote  Post ReplyReply Direct Link To This Post Posted: 13 March 2009 at 8:08am
I found the error in you installation script.

The column is created as A_Code in the create table statement, but when the default value is inserted it is referred to as A_code.

When I fixed this I got the database running.

I dunno why other users haven't reported this 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: 13 March 2009 at 8:14am
Sounds like your SQL Server database has been setup to be case sensitive which is why you got this error.

It is extremely rare for an SQL Server database to use a case sensitive collation, which is why this has not been reported before.

I would suggest that you use a database that is not setup to be case sensitive as this would prevent other errors like this and also improve searches.
Back to Top
yandr View Drop Down
Groupie
Groupie


Joined: 10 March 2009
Status: Offline
Points: 106
Post Options Post Options   Thanks (0) Thanks(0)   Quote yandr Quote  Post ReplyReply Direct Link To This Post Posted: 13 March 2009 at 8:19am
Yes, you are right this is the problem and it does come up in lots of other cases.

However, being a software engineer myself, I also consider bad practice to to refer to the same column, table or whatever with randomly assigned uppercase characters.

I would really suggest a fix in future versions.
It is extremely easy to fix this.

Thanks, case closed....
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: 13 March 2009 at 9:38am
Have tried to keep all table and field names the same case so that this issue does not happen and the one that you have bought up is fixed for the next release. You should not find any others but if you do then let us know.

Although having a non case sensitive collation would be advisable otherwise if users do searches within the forum system their searches will be case sensitive which may make it harder for them to find what they are looking for.
Back to Top
yandr View Drop Down
Groupie
Groupie


Joined: 10 March 2009
Status: Offline
Points: 106
Post Options Post Options   Thanks (0) Thanks(0)   Quote yandr Quote  Post ReplyReply Direct Link To This Post Posted: 13 March 2009 at 12:35pm
A workaround if someone needs it, is:

ALTER database [YOURDBNAME] COLLATE Latin1_General_CI_AI
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.