The official blog for Windows Server Essentials and Small Business Server support and product group communications.
[Today's post comes to us courtesy of Damian Leibaschoff and Justin Crosby]
SharePoint users who upgraded from SQL Server 2000 Desktop Engine (WMSDE) to any other edition of SQL Server 2000 (for example, SQL Server 2000 Standard Edition) may be incorrectly offered a WMSDE update for 948110. This problem can occur if the SQL Server 2000 edition is not patched correctly with SQL Server 2000 Service Pack 4 after the upgrade from WMSDE. The WMSDE update may cause SharePoint to stop working. The issue we are discussion does not apply to SBS 2003 R2 users that migrated to SQL 2005 Workgroup Edition.
The symptoms the you will notice is that the service instance (e.g. mssql$Sharepoint) will start and then immediately stop.
In the C:\Program Files\Microsoft SQL Server\MSSQL$Sharepoint\Log\errorlog file you will see the following:
2008-07-09 09:38:33.30 spid2 Skipping startup of clean database id 4 2008-07-09 09:38:33.30 spid2 Skipping startup of clean database id 6 2008-07-09 09:38:33.30 spid2 Starting up database 'STS_Config'. 2008-07-09 09:38:33.38 spid5 Clearing tempdb database. 2008-07-09 09:38:33.41 spid5 Starting up database 'tempdb'. 2008-07-09 09:38:33.44 spid2 Recovery complete. 2008-07-09 09:38:34.35 spid2 Database 'master' has invalid schema. <==Notice the invalid schema.
The Windows Update detection logic is being fixed and this update should not be offered incorrectly to non-qualifying products, this change is still pending and should happen at any time now.
If you are not sure if you have SharePoint was upgraded to SQL 2000, you need to check the ERRORLOG files prior to the update being installed and review the versions reported there. The log files are usually found in C:\Program Files\Microsoft SQL Server\MSSQL$SharePoint\Log\, if you cannot find an ERRORLOG.n file that is older than the time of when the update was installed, try to get an older ERRORLOG from backup or shadow copy.
The CURRENT ERRORLOG will say:
2008-07-09 09:38:32.94 server Microsoft SQL Server 2000 - 8.00.2050 (Intel X86) Mar 7 2008 21:29:56 Copyright (c) 1988-2003 Microsoft Corporation Desktop Engine (Windows) on Windows NT 5.2 (Build 3790: Service Pack 2)
While the older ERRORLOGs should say:
2008-06-17 09:53:09.12 server Microsoft SQL Server 2000 - 8.00.2039 (Intel X86) May 3 2005 23:18:38 Copyright (c) 1988-2003 Microsoft Corporation Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 2)
If this is your case, then you must properly update the instance back to SQL 2000 standard to regain functionality:
You do not need to re-apply the security update on this scenario. If you have already rolled back the BINN folder, you will be presented with the option to install the update again. Until the MU detection logic is fixed, make sure you are using Microsoft Update and not Windows Update and select the SQL update (not the Windows update that references WMSDE) (The bottom one on this screenshot)
Note: You may also receive the errors described above if your MSDB database is damaged, this will also cause the upgrade failure. The reason is that the setup needs to apply scripts that use MSDB stored procedures. This is an uncommon scenario, most servers will not experience this scenario. This is not a problem with the security update per se, rather a latent problem in the instance itself. Any version of SQL can be affected by this behavior. If you are experiencing this scenario please contact support for further options <Link to CSS Support site> .
Lucas,
Your solution worked fine for me. Simple and easy to do without being too techie!
Thanks a lot
Hi,
I did what Lucas advised, copied the Bin folder from another working instance. That seemed to fix the problem. Companyweb is working again now. Thanks :)
Hi All, I set out to answer the question: Is it possible to safely deploy MSSX on a Small Business Server