Skip to main content
Sign In
San Diego Computer & Network Consulting Experts 
Go Search
 
Home
Our Microsoft Expertise
Our Services
Microsoft Solutions Blog
About Gilham Consulting
Contact Us
Support Portal
  

 

z
Home > Gilham Consulting Microsoft Notepad > Posts > Removing Invalid SharePoint 2007 Features due to a Failed, Missing, or Unsuccessful Activation SharePoint WSP
Removing Invalid SharePoint 2007 Features due to a Failed, Missing, or Unsuccessful Activation SharePoint WSP

Great tip if you ave issues removing WSP solution packages and web parts from third parties and find they don't install or uninstall properly.  You may also have trouble activating or deactivating features in site settings wen these invalid features crop up.

Errors that could be shown in SharePoint when installing or activating a feature "An unexpected error has occurred", "Failed to compare two elements in the array" or various other error messages may be shown while activating, deactivating, or browsing to a recently failed deployment of a WSP solution .

To check or remove invalid features on SharePoint 2007 site:

  1. First, run the WssAnalyzeFeatures tool and view the Problems Log for invalid feature id (guids)
  2. Try running STSADM -o deactivatefeature -id %featureIdFromLogFile% -force
  3. Run the WssAnalyzeFeatures tool and see if the problems we're resolved.
  4. If feature can't be removed or is in a subsite for a failed WSP solution uninstall...try running the WssRemoveFeatureFromSite to forcefully invalid old features.
  5. Remove the feature ID's until WssAnalyzeFeatures shows no errors.

Here is a snippet of Scott's Blog for more information:

The usual reason for this problem is that some sites in the site collection have features assigned where the feature is not installed in the server farm. The main problem here is that you cannot easily identify which features are missing as the missing features are not reported in the error message.

To overcome this problem I have written a tool which allows to identify all features used in a site collection which are missing on the server: WssAnalyzeFeatures.

To resolve the problem you then have to install the identified missing features on the exporting server. In case that this is not possible you have to remove the features from the site collection or the affected sites. Usually this can be done using STSADM -o deactivatefeature but sometimes fails if the feature definition is not installed on the server. In this case you can use WssRemoveFeatureFromSite.

Stefan Goßner : MOSS - Common Issue - Content Deployment fails with "Failed to compare two elements in the array."

Comments

Problem Sending a Excel 2007 format file link from Sharepoint - xlviewer

We have a problem that we can resolve. If we send a link to a file of an excel 2007 document saved in MOSS, it adds the xlviewer.aspx. This only allows to open the file as read only. How can we resolve this problem

"http://umg7000/Exco/BioFuels/_layouts/xlviewer.aspx?id=/Exco/BioFuels/Biofuels%20General%20Document%20Library/Ethanol_Prices_Costs_Brent_Sug_Mol_etc.xlsx"

at 10/29/2008 8:42 AM

Re: Removing Invalid SharePoint 2007 Features due to a Failed, Missing, or Unsuccessful Activation SharePoint WSP

Thanks for this. It was useful for removing some features that were incorrectly removed from the farm.
at 7/29/2009 2:17 AM

 Deleting Features from SharePoint.

Nice !!!!!!!!

Try this too,
<a href ="http://sarangasl.blogspot.com/2009/10/in-one-of-my-previous-article-i-discuss.html">Deleting

Features From SharePoint</a>
at 10/1/2009 12:39 AM

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.

Title


Body *


CommentUrl


Attachments

 Latest Reader Comments

OCS 2007 R2 support for SQL 2008 DB mirroringSQL Server 2008 Mirroring in Standard Edition
what about iPhone 4.0?Configuring Exchange Server 2007 ActiveSync for iPhone OS 3.1 (and prior)
CAS Array in Hyper-VHow to setup an Exchange 2010 CAS Array to Load Balance MAPI
Disallow all agents except SharePoint?Useful SharePoint 2007 (MOSS 2007 SEO) configuration with robots.txt file for public facing SharePoint 2007 sites.
Cloud PBXMicrosoft OCS 2010 Is Coming To Unified Communications, PBX Killer
smart cardHow To: Configure Microsoft Remote Desktop Client and Smart Card Authentication
Profiles missing from ImportImporting and Deleting User Profiles in Sharepoint;Filtering Disabled Users from Import; Managing MySite of Deleted Users
Thank youManual Uninstall of SQL 2005 (32bit / 64bit) SQL Server or Express (including Reporting Services)
Auto-deletes all mysites after Full Import ScheduleImporting and Deleting User Profiles in Sharepoint;Filtering Disabled Users from Import; Managing MySite of Deleted Users
PerfectManual Uninstall of SQL 2005 (32bit / 64bit) SQL Server or Express (including Reporting Services)

 Subscribe and Bookmark

 Last 20 Articles

Category
Remote Desktop Connection Manager (RDCMan)
Windows Deployment
 
SharePoint Server 2010 Product Licensing Details
Sharepoint 2010
 
Manage Windows 7 Power Options from the Command Line
Windows Deployment
 
Download details: Windows Phone 7 Training Kit for Developers - April 2010 CTP
Windows Mobile
 
Clustering Remote Desktop Connection (RDC) Broker for High Availability when Deploying Microsoft VDI
Virtualization
 
SharePoint 2010 Reference .Net Software Development Kit (SDK)
Sharepoint 2010
 
Microsoft Private Cloud “AppFabric” Prepares for Release
Cloud Computing
 
Malware and Virus Scanning Architecture in Forefront Threat Management Gateway (TMG) 2010
Security
 
Best Practices Analyzer (BPA) for HYPER-V (RTM and R2)
Virtualization
 
Microsoft Threat Management Gateway (TMG) 2010 - Key Features & Capabilities
Security
 
The forecast is sunny for [Microsoft] cloud services.
Cloud Computing
 
Microsoft announces "RemoteFX," the Calista-based Hyper-V-requiring PC-over-IP competitor
Virtualization
 
Dynamic Memory (aka Memory Overcommit) Coming To Hyper-V
Virtualization
 
SharePoint Overwhelms Business Intelligence - Gartner
Sharepoint 2010
 
Active Directory Power Tool: AD Explorer (and Editor)
Active Directory
 
Protect your Business Information for Free using Encrypting File System (EFS)
Security
 
How to: Integrate Office Communications Server (OCS) 2007 R2 with Exchange 2010 OWA/CAS
Exchange 2010
 
Microsoft Forefront Identity Manager (FIM) 2010 Released
Security
 
Microsoft Thinks VDI Might Not be the Answer to Every Desktop Scenario
Windows Deployment
 
Creating Hyper-V Virtual Machine Templates for VDI or SCVMM Library
Virtualization
 


Contact Us  |   San Diego, California

Copyright 2007-2009 Gilham Consulting - All rights reserved