Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Error Creating SQL DB
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error Creating SQL DB

 Post Reply Post Reply Page  12>
Author
Spartanx15 View Drop Down
Newbie
Newbie


Joined: 23 November 2003
Location: United States
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote Spartanx15 Quote  Post ReplyReply Direct Link To This Post Topic: Error Creating SQL DB
    Posted: 24 November 2003 at 4:49pm

I think I posted my Error on creating the SQL 7.0 DB in the worng place - My apologies, if this a duplicate entry -

I have used ISQL to create the DB.

I resolved the COLLATE problem and now only one remains, as follows -

Server: Msg 195, Level 15, State 10, Procedure wwfSpDBinfo, Line 33
'ServerProperty' is not a recognized function name.

I have editied out all the COLLATE statements, and this one remains- any advice on this one please ?

Jon (spartanx15) email: jonux@ixtech.net

The error occurs within the following lines -

---Creating Output Table
select  @dbsize Databasesize, @dbpath DataLocation , @logpath LogLocation,
 @dbfilesize DatabaseFileSize, @logfilesize Logfilesize,
 @maxdbfilesize MaxDBSize, @maxlogfilesize MazLogSize,
 ServerProperty('edition') Edition,
 CASE ServerProperty('IsCluster')
  WHEN 0 THEN 'No Cluster'
  WHEN 1 THEN 'Cluster'
   ELSE  'No Cluster/Unknown'
 END Cluster,
 CASE ServerProperty('License_Type')
  WHEN 'PER_SEAT' THEN 'Seat Licensing (' + Convert(nvarchar(5),ServerProperty('NumLicenses')) + ')'
  WHEN 'Per_Processor' THEN 'Processor Licensing (' + Convert(nvarchar(5),ServerProperty('NumLicenses')) + ')'
  ELSE 'Licensing Disabled / Unknown'
 END Licensing,
 ServerProperty('ProductLevel') PLevel
GO

SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

Back to Top
thekiwi View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 November 2003
Location: New Zealand
Status: Offline
Points: 392
Post Options Post Options   Thanks (0) Thanks(0)   Quote thekiwi Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2003 at 4:52pm
SERVERPROPERTY is new as of SQL Server 2000 ... so Id hazard a guess you have SQL7?
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 November 2003 at 8:56am
Use the MSSQL_server_setup.asp file to seyup the database.

Please read the documentation.
Back to Top
thekiwi View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 November 2003
Location: New Zealand
Status: Offline
Points: 392
Post Options Post Options   Thanks (0) Thanks(0)   Quote thekiwi Quote  Post ReplyReply Direct Link To This Post Posted: 25 November 2003 at 11:35am

Originally posted by -boRg- -boRg- wrote:

Use the MSSQL_server_setup.asp file to seyup the database.

Please read the documentation.

Hi boRg

There was another thread on this as well, and the person mentioned that he had previously used the setup script ... and it was failing.

Your setup script uses code which will not work with MSSQL7, specifically setting up the DBinfo proc, and specifically

ServerProperty

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 November 2003 at 11:38am
The DBinfo will only work with SQL 2000 and so you just ignore the error on SQL server 7 setup's.
Back to Top
Spartanx15 View Drop Down
Newbie
Newbie


Joined: 23 November 2003
Location: United States
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote Spartanx15 Quote  Post ReplyReply Direct Link To This Post Posted: 25 November 2003 at 11:46am

Someone might want to mention to ignore this in the install instructions.

 

Jon Spartan

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 November 2003 at 11:54am
It just means that you can not view SQL server stats in the Admin Area.

It maybe worth thinking about upgrading to SQL server 2000
Back to Top
thekiwi View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 November 2003
Location: New Zealand
Status: Offline
Points: 392
Post Options Post Options   Thanks (0) Thanks(0)   Quote thekiwi Quote  Post ReplyReply Direct Link To This Post Posted: 25 November 2003 at 12:03pm

THe adjusted script that was posted will allow SQL7 and the admin page to still work.

Having a page "not work", I would believe, will just create more of a support headache.

Back to Top
 Post Reply Post Reply Page  12>

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.