I it looks like I am close to doing something I doubted "I" could do. I transfered a WWF 6.11 forum that used Access as it datbase, and transfered it to 7.11 using our SQL server. We will now be able to have more users at one time and will enjoy some of the new functions in 7.11 The Scripts from str8dog where priceless in this endeavour. Every thing worked fine with the exception of the "2_StoredProcedures.sql" script. The last few linew returned back back to querry analyzer after it ran the script was
Updating dbo.wwfSpModerator
Updating dbo.wwfSpLastAllForumsAuthorAndDate
Updating dbo.wwfSpCheckUserIsModerator
The database update failed
The code that produced this was
PRINT 'Updating dbo.wwfSpCheckUserIsModerator'
GO
IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION
GO
IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END
GO
if exists (select * from sysobjects where id=object_id('[dbo].[wwfSpCheckUserIsModerator]') and OBJECTPROPERTY(id, 'IsProcedure')=1)
drop procedure [dbo].[wwfSpCheckUserIsModerator]
GO
IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION
GO
IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END
GO
GO
IF @@ERROR<>0 AND @@TRANCOUNT>0 ROLLBACK TRANSACTION
GO
IF @@TRANCOUNT=0 BEGIN INSERT INTO #tmpErrors (Error) SELECT 1 BEGIN TRANSACTION END
GO
IF EXISTS (SELECT * FROM #tmpErrors) ROLLBACK TRANSACTION
GO
IF @@TRANCOUNT>0 BEGIN
PRINT 'The database update succeeded'
COMMIT TRANSACTION
END
ELSE PRINT 'The database update failed'
GO
DROP TABLE #tmpErrors
I followed his instructions, with the exception of not using VS.net. Instead I ran the queries in query analyzer. So far everything works. My question is did that one message "The database update failed" is that indicative a error that will show up after I go live to the public with the updated forum?
To copy from Access I used DTS in Enterprise server Manager and imported my Access file to a new SQL databse.
If anyone want to look at the forum and or test it for bugs they can get to it at
http://www.intermatwrestle.com/forumsql/
Phaderus