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 when 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:
- First, run the WssAnalyzeFeatures tool and view the Problems Log for invalid feature id (guids)
- Try running STSADM -o deactivatefeature -id %featureIdFromLogFile% -force
- Run the WssAnalyzeFeatures tool and see if the problems we’re resolved.
- 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.
- Remove the feature ID’s until WssAnalyzeFeatures shows no errors.
Random Posts
Loading…