Microsoft Knowledge Base Email Alertz

(827755) - 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:...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 827755 - Last Review: July 28, 2006 - Revision: 1.8

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

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/ (http://www.microsoft.com/sharepoint/)

APPLIES TO
  • Microsoft Office SharePoint Portal Server 2003
  • Microsoft Windows SharePoint Services 2.0
Keywords: 
kbuninstall kberrmsg kbpending kbbug KB827755
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Alessio - alessio NOSPAM-AT-NOSPAM KrollWorldWide.com Reported as Irrelevant  
Written: 1/11/2005 2:09 PM
It would rock if you had mentioned where or what <full path> is ...

BasQue Report As Irrelevant  
Written: 4/25/2005 9:55 AM
Looks like <full path> is the path where the .log files will be stored. (I replaced <full path> with c:\ and this seems to work)

sumon - sumon NOSPAM-AT-NOSPAM vervata.com Report As Irrelevant  
Written: 9/11/2005 9:02 PM
I've removed all registeration key and installation folder of sharepoint server, so I can't follow this step to recover my error. What should i do? Help me please..