Windows SharePoint services 3.0 Service Pack 2(SP2) has encountered a problem and needs to close. we are sorry for the inconvenience.WSS 3.0 SP2 installation failure

 

In my recent experience while installing WSS 3.0 SP2 we got a error as below

Windows SharePoint services 3.0 Service Pack 2(SP2) has encountered a problem and needs to close. we are sorry for the inconvenience.

Dialog box to send Error report / Don’t send

image

 

let me give some background on why we got into this issue

 

- We wanted to remove it completely again and install it this time with the BASIC option , in the installation wizard.

- The installation completed and started the PS config wizard, the wizard completed all the 10 steps and we saw the same error when tried to open the central admin.

image

- We observed the following odd things –

1-> The version of the product in the ADD/REMOVE programs section for WSS 3.0 is 12.0.0.6425

2-> All the SQL Dbs that it is creating is under the version -12.0.0.4518

3-> The separate installation of Sp1 and Sp2 on WSS 3.0 also is unsuccessful.

 

when we ran the WSS 3.0 SP2 it failed with an error  “Windows SharePoint services 3.0 Service Pack 2(SP2) has encountered a problem and needs to close. we are sorry for the inconvenience.”

 

We ran an Inventory tool called ROIScan.vbs (Internal script – for more details contact Microsoft support)  and got the below results

 

Review Items
============
Error:                       Local patch package 'C:\WINDOWS\Installer\6633ba94.msp' missing for patch '{88591C3A-E392-4B2C-98B7-F123862FD540}'
Error:                       Local patch package 'C:\WINDOWS\Installer\6633b71a.msp' missing for patch '{4A35EF4A-D868-4B15-A84D-3E8925AA9558}'
Error:                       Local patch package 'C:\WINDOWS\Installer\901e67a6.msp' missing for patch '{D93F9C7C-AB57-44C8-BAD6-1494674BCAF7}'
Error:                       Local patch package 'C:\WINDOWS\Installer\6633b91d.msp' missing for patch '{464FBCDB-72F8-4C39-AC19-D2E7CFC82287}'
Error:                       Local patch package 'C:\WINDOWS\Installer\6633b990.msp' missing for patch '{A1665382-302F-476F-99B3-1B6148B1AB16}'

Products Inventory
==================

Microsoft Windows SharePoint Services 3.0
-----------------------------------------
ProductVersion 12.0.4518.1016
ServicePack Level RTM
Architecture                 x86/32bit
ProductCode                  {90120000-1014-0000-0000-0000000FF1CE}
Msi ProductName              Microsoft Windows SharePoint Services 3.0
Configuration SKU            WSS
InstallDate                  20100708
UserSid                     
ProductContext               Machine
ProductState                 Installed
Transforms                   |C:\Program Files\Common Files\Microsoft Shared\SERVER12\Server Setup Controller\WSS.EN-US\WShellUI.MST
Original .msi Name           sts.msi
Cached .msi Package          C:\WINDOWS\Installer\294d2.msi
ProductID (MSI)             
Build/Origin                 4518_1014\x86\ship\0\sts
Package Code                 {CB8170A7-3E73-4E4D-8442-767FE90EFF05}
Notes                        -
Errors                       -
Config ProductName           WSS
Config PackageID             wss

 

-Then we merged the verbose on registry  and ran the setup again .

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
"logging"= "voicewarmup"
"debug"=dword:00000007

 

We got the same error and when we review the log which was stored in %temp% we got the log as below

===Verbose logging started: 7/07/2010  21:44:27  Build type: SHIP UNICODE 3.01.4000.4042  Calling process: E:\wssv3sp2-kb953338-x86-fullfile-en-us.exe ===

MSI (c) (18:E8) [21:44:27:311]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\WINDOWS\Installer\3de98.msi' against software restriction policy
MSI (c) (18:E8) [21:44:27:311]: SOFTWARE RESTRICTION POLICY: C:\WINDOWS\Installer\3de98.msi has a digital signature
MSI (c) (18:E8) [21:44:27:326]: SOFTWARE RESTRICTION POLICY: C:\WINDOWS\Installer\3de98.msi is permitted to run at the 'unrestricted' authorization level.
MSI (c) (18:E8) [21:44:27:342]: Cloaking enabled.
MSI (c) (18:E8) [21:44:27:342]: Attempting to enable all disabled priveleges before calling Install on Server
MSI (c) (18:E8) [21:44:27:342]: End dialog not enabled
MSI (c) (18:E8) [21:44:27:342]: Original package ==> C:\WINDOWS\Installer\3de98.msi
MSI (c) (18:E8) [21:44:27:342]: Package we're running from ==> C:\WINDOWS\Installer\3de98.msi
MSI (c) (18:E8) [21:44:27:342]: APPCOMPAT: looking for appcompat database entry with ProductCode '{90120000-1014-0000-0000-0000000FF1CE}'.
MSI (c) (18:E8) [21:44:27:342]: APPCOMPAT: no matching ProductCode found in database.

 

-We extracted the WSS 3.0 SP2 to a new folder and copied the OPUTIL.vbs (Internal script – for more details contact Microsoft support)

-Ran the OPUTIL.vbs /ApplyPatch and it failed again with the same message.

 

then we looked at the summary of the OPUTIL.vbs we got the below details

Product: {90120000-1014-0000-0000-0000000FF1CE} - Microsoft Windows SharePoint Services 3.0, Build: 12.0.4518.1016

Debug: Found applicable service pack patch to update build from 12.0.4518.1016 to build 12.0.6425.1000 : KB 954711, {ADE5B215-6E47-40F8-8CAE-D41313D77D11}, STSSP2.MSP, E:\MS WSS Media\extract\Updates\anything\stssp2-x86.msp

Debug: Found applicable patch with sequence version 12.0.6535.5002 : KB 981043, {B5B7574F-0DAD-4131-8E1A-59C66F9D4B19}, DW20W-X-NONE.MSP, C:\WINDOWS\Installer\18c8c41d.msp
Debug: Found applicable patch with sequence version 12.0.6535.5003 : KB 983444, {895AC31A-27B6-4264-91B9-CD24342CD624}, STS.MSP, C:\WINDOWS\Installer\8f779c27.msp
Debug: 2.x style patches bucket contains 0 patch(es) after sequencing.
Debug: Minor Update (service pack) bucket contains 1 patch(es) after sequencing.
Debug: Small Patches bucket contains 2 patch(es) after sequencing.
Debug: Calling msiexec to apply patch(es): msiexec.exe /i {90120000-1014-0000-0000-0000000FF1CE} PATCH="E:\MS WSS Media\extract\Updates\anything\stssp2-x86.msp" REBOOT=ReallySuppress /qb- /l*v+ %temp%\{90120000-1014-0000-0000-0000000FF1CE}_MspApply.log
Debug: Msiexec returned with code: 1635 PATCH_PACKAGE_OPEN_FAILED
Debug: Calling msiexec to apply patch(es): msiexec.exe /i {90120000-1014-0000-0000-0000000FF1CE} PATCH="C:\WINDOWS\Installer\18c8c41d.msp;C:\WINDOWS\Installer\8f779c27.msp" REBOOT=ReallySuppress /qb- /l*v+ %temp%\{90120000-1014-0000-0000-0000000FF1CE}_MspApply.log
Debug: Msiexec returned with code: 0 Success

 

 

then looked at the log file

(UNKNOWN)     ?=== Verbose logging started: 8/07/2010 17:28:50 Build type: SHIP UNICODE 3.01.4000.4042 Calling process: C:\WINDOWS\system32\msiexec.exe ===
(CLIENT)     MSI (c) (E4:3C) [17:28:50:296]: Resetting cached policy values
(POLICY)     MSI (c) (E4:3C) [17:28:50:296]: Machine policy value 'Debug' is 7
(CLIENT)     MSI (c) (E4:3C) [17:28:50:296]: ******* RunEngine:
(UNKNOWN)      ******* Product: {90120000-1014-0000-0000-0000000FF1CE}
(UNKNOWN)      ******* Action:
(UNKNOWN)      ******* CommandLine: PATCH="E:\Software\SharePoint Service 3.0\WSS3.0 extract\Updates\stssp2-x86.msp" REBOOT=ReallySuppress
(CLIENT)     MSI (c) (E4:3C) [17:28:50:296]: Client-side and UI is none or basic: Running entire install on the server.
(CLIENT)     MSI (c) (E4:3C) [17:28:50:296]: Grabbed execution mutex.
(CLIENT)     MSI (c) (E4:3C) [17:28:50:343]: Cloaking enabled.
(CLIENT)     MSI (c) (E4:3C) [17:28:50:343]: Attempting to enable all disabled priveleges before calling Install on Server
(CLIENT)     MSI (c) (E4:3C) [17:28:50:359]: Incrementing counter to disable shutdown. Counter after increment: 0
(SERVER)     MSI (s) (94:3C) [17:28:50:375]: Grabbed execution mutex.
(SERVER)     MSI (s) (94:C0) [17:28:50:375]: Resetting cached policy values
(POLICY)     MSI (s) (94:C0) [17:28:50:375]: Machine policy value 'Debug' is 7
(SERVER)     MSI (s) (94:C0) [17:28:50:375]: ******* RunEngine:
(UNKNOWN)      ******* Product: {90120000-1014-0000-0000-0000000FF1CE}
(UNKNOWN)      ******* Action:
(UNKNOWN)      ******* CommandLine: PATCH="E:\Software\SharePoint Service 3.0\WSS3.0 extract\Updates\stssp2-x86.msp" REBOOT=ReallySuppress CURRENTDIRECTORY="E:\Software\SharePoint Service 3.0\WSS3.0 extract\Updates" CLIENTUILEVEL=2 CLIENTPROCESSID=6372
(POLICY)     MSI (s) (94:C0) [17:28:50:375]: Machine policy value 'DisableUserInstalls' is 0
(SERVER)     MSI (s) (94:C0) [17:28:50:390]: End dialog not enabled
(SERVER)     MSI (s) (94:C0) [17:28:50:390]: Original package ==> C:\WINDOWS\Installer\294d2.msi
(SERVER)     MSI (s) (94:C0) [17:28:50:390]: Package we're running from ==> C:\WINDOWS\Installer\294d2.msi
(SERVER)     MSI (s) (94:C0) [17:28:50:390]: APPCOMPAT: looking for appcompat database entry with ProductCode '{90120000-1014-0000-0000-0000000FF1CE}'.
(SERVER)     MSI (s) (94:C0) [17:28:50:390]: APPCOMPAT: no matching ProductCode found in database.
(SERVER)     MSI (s) (94:C0) [17:28:50:390]: MSCOREE not loaded loading copy from system32
(SERVER)     MSI (s) (94:C0) [17:28:50:421]: Opening existing patch 'C:\WINDOWS\Installer\1ed46549.msp'.
(SERVER)     MSI (s) (94:C0) [17:28:50:421]: Opening existing patch 'C:\WINDOWS\Installer\845b409a.msp'.
(SERVER)     MSI (s) (94:C0) [17:28:50:421]: File will have security applied from OpCode.
(SERVER)     MSI (s) (94:C0) [17:28:50:484]: Original patch ==> E:\Software\SharePoint Service 3.0\WSS3.0 extract\Updates\stssp2-x86.msp
(SERVER)     MSI (s) (94:C0) [17:28:50:484]: Patch we're running from ==> C:\WINDOWS\Installer\b56a6.msp
(SERVER)     MSI (s) (94:C0) [17:28:50:484]: Opening existing patch 'C:\WINDOWS\Installer\18bab474.msp'.
(SERVER)     MSI (s) (94:C0) [17:28:50:484]: Note: 1: 2203 2: C:\WINDOWS\Installer\18bab474.msp 3: -2147287038
(POLICY)     MSI (s) (94:C0) [17:28:50:500]: Machine policy value 'AllowLockdownBrowse' is 0
(POLICY)     MSI (s) (94:C0) [17:28:50:500]: Machine policy value 'DisableBrowse' is 0
(SERVER)     MSI (s) (94:C0) [17:28:50:500]: Couldn't find local patch 'C:\WINDOWS\Installer\18bab474.msp'. Looking for it at its source.
(SERVER)     MSI (s) (94:C0) [17:28:50:500]: Resolving Patch source.
(POLICY)     MSI (s) (94:C0) [17:28:50:500]: User policy value 'SearchOrder' is 'nmu'
(POLICY)     MSI (s) (94:C0) [17:28:50:500]: User policy value 'DisableMedia' is 0
(POLICY)     MSI (s) (94:C0) [17:28:50:500]: Machine policy value 'AllowLockdownMedia' is 0
(SERVER) MSI (s) (94:C0) [17:28:50:500]: SOURCEMGMT: Media enabled only if package is safe.
(SERVER) MSI (s) (94:C0) [17:28:50:500]: SOURCEMGMT: Looking for sourcelist for product {ADE5B215-6E47-40F8-8CAE-D41313D77D11}
(SERVER) MSI (s) (94:C0) [17:28:50:500]: SOURCEMGMT: Adding {ADE5B215-6E47-40F8-8CAE-D41313D77D11}; to potential sourcelist list (pcode;disk;relpath).
(SERVER) MSI (s) (94:C0) [17:28:50:500]: SOURCEMGMT: Now checking product {ADE5B215-6E47-40F8-8CAE-D41313D77D11}
(SERVER) MSI (s) (94:C0) [17:28:50:500]: SOURCEMGMT: Media is enabled for product.
(SERVER) MSI (s) (94:C0) [17:28:50:500]: SOURCEMGMT: Attempting to use LastUsedSource from source list.
(SERVER) MSI (s) (94:C0) [17:28:50:500]: SOURCEMGMT: Trying source C:\DOCUME~1\DA-800~1\LOCALS~1\Temp\5\OWP5.tmp\.
(SERVER) MSI (s) (94:C0) [17:28:50:531]: Note: 1: 2203 2: C:\DOCUME~1\DA-800~1\LOCALS~1\Temp\5\OWP5.tmp\stswwsp2.msp 3: -2147287037
(SERVER) MSI (s) (94:C0) [17:28:50:531]: SOURCEMGMT: Source is invalid due to missing/inaccessible package.
(SERVER)     MSI (s) (94:C0) [17:28:50:531]: Note: 1: 1706 2: -2147483647 3: stswwsp2.msp
(SERVER)     MSI (s) (94:C0) [17:28:50:531]: SOURCEMGMT: Processing net source list.
(SERVER)     MSI (s) (94:C0) [17:28:50:531]: Note: 1: 1706 2: -2147483647 3: stswwsp2.msp
(SERVER)     MSI (s) (94:C0) [17:28:50:531]: SOURCEMGMT: Processing media source list.
(SERVER)     MSI (s) (94:C0) [17:28:50:531]: SOURCEMGMT: Resolved source to: 'stswwsp2.msp'
(SERVER)     MSI (s) (94:C0) [17:29:24:640]: Note: 1: 1314 2: stswwsp2.msp
(SERVER)     MSI (s) (94:C0) [17:29:24:640]: Unable to create a temp copy of patch 'stswwsp2.msp'.
(SERVER)     MSI (s) (94:C0) [17:29:24:640]: Note: 1: 1708
(SERVER)     MSI (s) (94:C0) [17:29:24:640]: Note: 1: 2729
(SERVER)     MSI (s) (94:C0) [17:29:24:656]: Note: 1: 2729
(SERVER)     MSI (s) (94:C0) [17:29:24:656]: Product: Microsoft Windows SharePoint Services 3.0 -- Installation failed.
(UNKNOWN)     
(SERVER)     MSI (s) (94:C0) [17:29:24:671]: Attempting to delete file C:\WINDOWS\Installer\b56a6.msp
(SERVER)     MSI (s) (94:C0) [17:29:24:671]: MainEngineThread is returning 1635
(UNKNOWN)     This patch package could not be opened. Verify that the patch package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer patch package.
(UNKNOWN)     C:\WINDOWS\Installer\294d2.msi
(CLIENT)     MSI (c) (E4:3C) [17:29:24:671]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1

NOTE: Look at few lines above for clues on error
(ERROR)      MSI (c) (E4:3C) [17:29:24:671]: MainEngineThread is returning 1635

 

The trick that worked for us

==================================================

From the log file we found this line

(SERVER) MSI (s) (94:C0) [17:28:50:500]: SOURCEMGMT: Looking for sourcelist for product {ADE5B215-6E47-40F8-8CAE-D41313D77D11}

KB 954711, {ADE5B215-6E47-40F8-8CAE-D41313D77D11}, STSSP2.MSP, E:\MS WSS Media\extract\Updates\stssp2-x86.msp

You just need to revert the first 8 characters to get the patch code ,which would be

ADE5B215 -> 512B5EDA

{512B5EDA-6E47-40F8-8CAE-D41313D77D11}

 

searched the registry for the patch GUID as {512B5EDA-6E47-40F8-8CAE-D41313D77D11}

or find the key in below location

1.HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Patches

2.HKEY_CLASSES_ROOT\Installer\Patches

We need to check if a subkey of this name exists
512B5EDA74E68F04C8EA4D31317DD711

Export that key and deleted it

Ran the WSS 3.0 SP2 and this time it completed successfully!!!!!

 

Hope this helps !!!!!