0

I have an issue, basically I have one missing feature which was found by the pre upgrade tool and i would like to delete it, but no tools help me with that, it is also said that this feature is referenced no where:

Name = ReportCenterSiteTemplate, Feature id = fb4a43a8-55e3-4219-8a37-f5204880d3d9, Reference count = 0, Scope = ScopeInvalid, Status = Missing

How can i find it and delete?

Update i found out that the feature is located in the Configuration Content Database, in the table objects.

2
  • did your try this one featureadmin.codeplex.com ? Commented Apr 2, 2014 at 12:24
  • I did use the feature admin and it finds it, BUT i cannot delete it, it gives me an error "An error occured iterating through the features"
    – Shkipper
    Commented Apr 3, 2014 at 6:23

2 Answers 2

1

you can also use stsadm.exe

If the feature is activated in any scope then it has to be deactivated, use the following command to deactivate it

stsadm –o deactivatefeature –id YourFeatureID -url YourSiteURL

Then you have to retract and delete the solution, using the following code,

stsadm -o retractsolution -name featuretester.wsp -immediate -url http://moss-1
stsadm -o exeadmsvcjobs
stsadm -o deletesolution -name featuretester.wsp

Have a look at the below links too,

SharePoint: Don’t Forget to Uninstall the Feature

How to Remove Orphaned Features Using PowerShell

Installing or Uninstalling Features

3
  • First of all i have no idea where the feature is, please read my post, second there is no solution for it etc ...
    – Shkipper
    Commented Apr 2, 2014 at 13:37
  • @Shkipper, try to delete the safe control entry of that feature from the web.config file and then try pre upgrade check. Can you use powershell in your environment.? Commented Apr 2, 2014 at 13:41
  • Yes, i can use powershell
    – Shkipper
    Commented Apr 3, 2014 at 5:35
0

I finally solved the issue, basically what I have done, i've created a feature folder in the features => like MyFeature/feature.xml.

The next step I used stsadm to install the feature:

stsadm -o installfeature -filename MyFeature\feature.xml

And the final step, i used the Feature Admin Tool to delete this feature.

Note: the feature XML you can define your own name or whatever you want and set it to be a farm, then you can easily locate this feature with Admin Feature Tool.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.