You receive an "Application has generated an exception that cannot be handled" error message when you remove SharePoint Portal Server and Windows SharePoint Services from your server

Article translations Article translations
Article ID: 827755 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

When you use the Add/Remove Programs tool to remove SharePoint Portal Server and Windows SharePoint Services from your server, you may receive the following error message in a SPSADM.EXE - Common Language Runtime Debugging Services dialog box:
Application has generated an exception that cannot be handled.

Process id=0xb60 (2912), Thread id=0x1dc (476)

Click OK to terminate the application.
Click CANCEL to debug the application.
Additionally, you may receive the following error message in a Microsoft Office SharePoint Portal Server 2003 Setup dialog box:
Installation ended prematurely because of an error.

CAUSE

This issue occurs if you do not remove SharePoint Portal Server and Windows SharePoint Services in the correct order. This issue occurs if you remove Windows SharePoint Services before you remove SharePoint Portal Server from the server.

To fully remove SharePoint Portal Server from the server, you must remove the programs in the following order:
  1. SharePoint Portal Server
  2. Windows SharePoint Services
  3. Microsoft SQL Server Desktop Engine (MSDE), if it is installed on the server

WORKAROUND

To recover a server where SharePoint Portal Server and Windows SharePoint Services are not removed in the correct order:
  1. Log on to the server as a member of the local Administrators group.
  2. Click Start, and then click Run.
  3. In the Open box, type cmd, and then click OK.
  4. Switch to the drive where SharePoint Portal Server is installed.
  5. Type the following line, where CDimage is the path of the shared folder that contains the SharePoint Portal Server CD files, and then press ENTER:
    msiexec /qb /i <CDimage>\WSS\Sts.msi /L*v <full path>\STS_Install.log LAUNCHEDFROMSETUPSTS=1
  6. Switch to the drive where Windows is installed.
  7. Type the following line, and then press ENTER:
    cd %programfiles%\Common Files\Microsoft Shared\Web Server Extensions\60\Config
  8. Type the following line, and then press ENTER:
    copy Web.config Web.config.bak
  9. Type the following line, where CDimage is the path of the shared folder that contains the SharePoint Portal Server CD files, and then press ENTER:
    msiexec /qb /I <CDimage>\SPS\Sps.msi /L*v <full path>\SPS_Binary_Upgrade.log REBOOT=ReallySuppress
  10. Type the following line, where CDimage is the path of the shared folder that contains the SharePoint Portal Server files, and then press ENTER:
    msiexec /qb /fvm <CDimage>\SPS\Sps.msi /L*v <full path>\SPS_Repair.log REBOOT=ReallySuppress DONTSTARTSERVICE=1
  11. When Setup completes and you are prompted to restart the server, click No.
  12. Use the Add/Remove Programs tool to remove SharePoint Portal Server, Windows SharePoint Services, and MSDE (if it is installed on the server).

    Important Make sure that you remove the programs in this exact order.
To avoid this issue when you remove SharePoint Portal Server from the server, use the Add/Remove Programs tool to remove the programs in the following order:
  • SharePoint Portal Server
  • Windows SharePoint Services
  • MSDE (if it is installed on the server)

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about how to deploy, configure, and administer SharePoint Portal Server and Windows SharePoint Services, see the Microsoft Office SharePoint Portal Server 2003 Administration Guide. The Microsoft Office SharePoint Portal Server 2003 Administration Guide (Administrator's Help.chm) is located in the Docs folder in the root folder of the SharePoint Portal Server CD.

For more information about SharePoint Portal Server and Windows SharePoint Services, visit the following Microsoft Web site:
http://www.microsoft.com/sharepoint/

Properties

Article ID: 827755 - Last Review: July 28, 2006 - Revision: 1.8
APPLIES TO
  • Microsoft Office SharePoint Portal Server 2003
  • Microsoft Windows SharePoint Services 2.0
Keywords: 
kbuninstall kberrmsg kbpending kbbug KB827755

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com