| Author |
Topic Search Topic Options
|
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Topic: How 2 upgade from 7.01 to 7.5 Posted: 03 October 2003 at 9:06am |
REMEMBER BACK-UP ALL FILES FIRST INCASE THINGS DON'T GO TO PLAN!!!!
All Users
Skins and Language files for version 7.01 will NOT work with version 7.5, some mods for 7.01 may also not run.
Upgarding Access Version
Upgrading from version 7.01 to 7.5 Access version is straight forward.
Just replace the old files with the new ones keeping the same database
file. In the Access database you will have to increase the size of the
field Browser to 20 in the table tblActiveUsers.
Upgrading MS SQL Server Version
Upgrading from version 7.01 to 7.5 MS SQL Server version is a
little more complcated. You need to replace all the old files with the
new ones. You then also need to change the stored procedure
wwfSpLastAndFirstThreadAuthor, in the SQL Enterprise Manager to
the following:-
CREATE PROCEDURE [dbo].[wwfSpLastAndFirstThreadAuthor] (
@lngTopicID int
)
AS
SELECT tblThread.Thread_ID, tblThread.Author_ID, tblThread.Message, tblThread.Message_date, tblAuthor.Username
FROM tblAuthor, tblThread
WHERE tblAuthor.Author_ID = tblThread.Author_ID AND tblThread.Topic_ID = @lngTopicID
ORDER BY tblThread.Message_date ASC;
GO |
You will also need to add the following new stored procedure if you
wish to use the SQL Server Stats page in the admin section. The new SP
is:-
CREATE PROCEDURE [dbo].[wwfSpDBinfo] As
Declare @low int
Declare @dbsize dec(10,2)
Declare @dbpath nvarchar(100)
Declare @logpath nvarchar(100)
Declare @dbfilesize dec(10,2)
Declare @logfilesize dec(10,2)
Declare @maxdbfilesize dec(10,2)
Declare @maxlogfilesize dec(10,2)
--Minimum Database Size
select @low = low from master.dbo.spt_values
where type = N'E' and number = 1
--Calculation of current Database Size in MB
select @dbsize = (convert(dec(15),sum(size)) * @low / 1048576)
from [sysfiles]
--Actual File Size of Log and Data File
Select TOP 1 @dbpath = [filename] from [sysfiles] where groupid = 1
Select TOP 1 @logpath = [filename] from [sysfiles] where groupid = 0
Select @dbfilesize = convert(dec(10,2),sum([size]))/128 from
[sysfiles] where [filename] = @dbpath --in MB
Select @logfilesize = convert(dec(10,2),sum([size]))/128 from [sysfiles] where [filename] = @logpath --in MB
Select TOP 1 @maxdbfilesize = convert(dec(10,2),[maxsize])/128 from [sysfiles] where [filename] = @dbpath
Select TOP 1 @maxlogfilesize = convert(dec(10,2),[maxsize])/128 from [sysfiles] where [filename] = @logpath
If @maxdbfilesize = (-.01) Set @maxdbfilesize = -1
If @maxlogfilesize = (-.01) Set @maxlogfilesize = -1
---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
|
You will also need to increase the size of the field Browser in the table tblActiveUsers to 20.
Edited by -boRg-
|
|
|
 |
crusad3r
Newbie
Joined: 19 July 2003
Status: Offline
Points: 17
|
Posted: 03 October 2003 at 10:14am |
What do you do if you do not have access to the ServerProperty() function.
|
 |
simpson
Groupie
Joined: 31 July 2002
Status: Offline
Points: 127
|
Posted: 03 October 2003 at 10:26am |
-boRg- wrote:
All Users Skins and Language files for version 7.01 will NOT work with version 7.5, some mods for 7.01 may also not run. |
But you can copy/paste your old language file into the new one above the "New to 7.05", right?
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Posted: 03 October 2003 at 10:34am |
|
Yes simpson that should work.
Sorry crusad3r if
the SQL DB Stats stored procedure won't run then you won't be able to
view the SQL srever stats, but it's more eye candy then a feature that
you need.
Edited by -boRg-
|
|
|
 |
crusad3r
Newbie
Joined: 19 July 2003
Status: Offline
Points: 17
|
Posted: 03 October 2003 at 12:06pm |
-boRg- wrote:
Yes simpson that should work.
Sorry crusad3r if the SQL DB Stats stored procedure won't run then you won't be able to view the SQL srever stats, but it's more eye candy then a feature that you need. |
Yea I know but I'm a tweaker. Could I replace the values that it is getting with the GetServerPerperty with somthing static?
for instance replace
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
With somthing like
'Unknown' Edition, 'No Cluster' Cluster, 'Licensing Disabled / Unknown' Licensing, '2000' PLevel
If that will work.. What is Plevel?
Thanks
|
 |
crusad3r
Newbie
Joined: 19 July 2003
Status: Offline
Points: 17
|
Posted: 03 October 2003 at 12:14pm |
crusad3r wrote:
-boRg- wrote:
Yes simpson that should work.
Sorry crusad3r if the SQL DB Stats stored procedure won't run then you won't be able to view the SQL srever stats, but it's more eye candy then a feature that you need. |
Yea I know but I'm a tweaker. Could I replace the values that it is getting with the GetServerPerperty with somthing static?
for instance replace
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
With somthing like
'Unknown' Edition, 'No Cluster' Cluster, 'Licensing Disabled / Unknown' Licensing, '2000' PLevel
If that will work.. What is Plevel?
Thanks
|
Sorry for spamming up your topic here, but I answered my own question, it does work.
Thanks alot.
cRusad3r
|
 |
tnt266
Newbie
Joined: 04 September 2003
Status: Offline
Points: 7
|
Posted: 03 October 2003 at 1:47pm |
I'm getting the following error message when loggin in.
Microsoft VBScript runtime error '800a01f4'
Variable is undefined: 'strTableBottomRowColour'
/login_user.asp, line 392
I'm not sure if this has to do with the size of the field browser in the Access database. If so, can someone help me out with how to do this? (I'm not a database guy at all, pretty clueless).
|
 |
tnt266
Newbie
Joined: 04 September 2003
Status: Offline
Points: 7
|
Posted: 03 October 2003 at 1:50pm |
|
Never mind, I answered my own question. Great forum upgrade!
|
 |