How to remove missing features and webparts?

I've moved and upgraded a 2007 teampoint site to my Enterprise SharePoint 2010 site. The site is up and running but I've got this nagging error about a missing webpart and a missing feature.
The features that were not compatable were not used so what SharePoint 2010 would allow me to remove has been removed. Now I have this error message that still needs to be dealt with.
[MissingFeature] Database [WSS_Content_2007] has reference(s) to a missing feature: Id = [75a0fea7-cd50-401e-af0e-782f3662a299]. The feature with Id 75a0fea7-cd50-401e-af0e-782f3662a299 is referenced in the database [WSS_Content_2007], but is not installed
on the current farm. The missing feature may cause upgrade to fail. Please install any solution which contains the feature and restart upgrade if necessary.
[MissingWebPart] WebPart class [768ec641-8c6a-1cc6-6465-185094919a93] is referenced [1] times in the database [WSS_Content_2007], but is not installed on the current farm. Please install any feature/solution which contains this web part. One or more web parts
are referenced in the database [WSS_Content_2007], but are not installed on the current farm. Please install any feature or solution which contains these web parts.
So, I'd like to remove the references from the database for the feature and webpart mentioned in the error. I can't seem to spot how to do that with stsadm, it reports that the feature is not installed which leads me to conclude that I just need to remove
the reference from the db. Is there a SharePoint way to do this or am I destined to remove it manually from the db myself?
Kevin W. Gagel

Kindly use the below script for removing missing Feature:
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") > 0
# Loading Microsoft.SharePoint.PowerShell
$snapin = Get-PSSnapin | Where-Object {$_.Name -eq 'Microsoft.SharePoint.Powershell'}
if ($snapin -eq $null) {
Write-Host "Loading SharePoint Powershell Snapin"
Add-PSSnapin "Microsoft.SharePoint.Powershell"}
function Remove-SPFeatureFromContentDB($ContentDb, $FeatureId, [switch]$ReportOnly)
 $db = Get-SPDatabase | where { $_.Name -eq $ContentDb }
 [bool]$report = $false
 if ($ReportOnly) { $report = $true }
 $db.Sites | ForEach-Object {
  Remove-SPFeature -obj $_ -objName "site collection" -featId $FeatureId -report $report
  $_ | Get-SPWeb -Limit all | ForEach-Object {
   Remove-SPFeature -obj $_ -objName "site" -featId $FeatureId -report $report
function Remove-SPFeature($obj, $objName, $featId, [bool]$report)
 $feature = $obj.Features[$featId]
 if ($feature -ne $null) {
  if ($report) {
   write-host "Feature found in" $objName ":" $obj.Url -foregroundcolor Red
  else
   try {
    $obj.Features.Remove($feature.DefinitionId, $true)
    write-host "Feature successfully removed from" $objName ":" $obj.Url -foregroundcolor Red
   catch {
    write-host "There has been an error trying to remove the feature:" $_
 else {
  #write-host "Feature ID specified does not exist in" $objName ":" $obj.Url
$databases = Get-SPContentDatabase 
$featureID = "c4b5bf25-2a8a-4ba3-a6a8-87d7fe31ef02"
Foreach ($db in $databases)
 #Use this line to remove the reference to the feature
 Remove-SPFeatureFromContentDB -ContentDB $db.Name -FeatureId  $featureID
 #Use this line to list all the sites that it has a reference to the feature
 Remove-SPFeatureFromContentDB -ContentDB $db.Name -FeatureId $featureID –ReportOnly

Similar Messages

  • HOW TO REMOVE SHOPING REPORT AND COPMARE TRAVEL RATES FORM MAIN TOOL BAR IN FIR FOX ?

    # Question
    HOW TO REMOVE SHOPING REPORT AND COPMARE TRAVEL RATES FORM MAIN TOOL BAR IN FIR FOX ?
    WHEN EVER i AM SEARCHNING IN GOOGLE IN LEFT SIDE SHOPPING REPORT APPIR AUTOMATICALLY.

    Yahoo Messenger by default installs a number of extras such as the Yahoo toolbar and a browser plus plugin. There are a couple of places to check to uninstall these. First is the add-ons manager, for details on uninstalling via the add-ons manager see the [[Uninstalling add-ons]] article. If the Yahoo toolbar is not listed there, you can check the Windows control panel. The BrowerPlus plugin will probably also be listed in the control panel.
    You should be able to remove it from the Windows control panel.
    * From the Start menu, select Control Panel
    * Open the list of installed programs:
    ** If in icon view, click Programs and Features
    ** If in category view, under "Programs", click Uninstall a program
    * In the list of programs select the program, and then click Uninstall.

  • Trying to update iPad mini. Old email continues to appear and can't authenticate. How to remove it totally and use my iCloud I.D.?

    Trying to update iPad mini. Old email continues to appear and can't authenticate. How to remove it totally and use my iCloud I.D.?

    If you have any apps that were acquired with the old ID they will always be tied to that ID. Delete them and reacquire them with the new ID that you have in Settings > iTunes and App Store

  • Missing features and bugs in 2.2 update...

    Missing features and bugs in 2.2 update...
    Here is my shortlist:
    1. Copy/Cut and paste - sadly still missing...
    2. Landscape view for keyboard - SMS and Email - still missing...!
    3. AM/PM indicator missing from "unlock" screen (in 12 hour clock) - BUG
    ... What's wrong with Apple these days - all of these issues (listed above) could have been easily implemented in version 2.2 and were frequently requested by all iPhone users since version 1.0 and yet Apple have ignored all of them...

    These features may or may not be that difficult to include, but what made you "fork out huge amounts to pay for a 'top of the range' iPhone" in the first place?
    As already provided, Apple has what is called their own "allocation of resources and prioritization", and if what is included doesn't meet your needs or wants, you should not have purchased an iPhone in the first place, or continue to keep using the iPhone if Apple doesn't include the features you need or want in a time table that meets your expectations, since there are plenty of cheap $100 phones that meet your needs or wants, you have a wide range of other phones to choose from which are less expensive, so that is exactly what you should do. No point in continuing to use a device that does not meet your needs or wants. Use one of the many less expensive devices you have to choose from that meets your needs or wants and move on.

  • How to remove all columns and cells in numbers

    how to remove all columns and cells in numbers

    Click on the Table's icon in the Sheets list. Press delete.
    Done.
    Regards,
    Barry

  • How to remove AM extension and substitution from server

    Hi,
    Can somebody please tell me how to remove existing subsitution and extension of AM from server.
    Regards
    Swati

    Swati,
    You can delete the substitution by using an API jdr_utils.deletedocument('<path>').
    The path will be like 'oracle/apps/ap/xx/customizations/0/server/...'
    Regards,
    Gyan
    Edited by: Gyan on Jun 3, 2011 7:28 PM

  • How to remove the Options and Task from the toolbar

    In the FLM portal initially we can see 'Options' in the menu bar after we log in. Below it there is 'Tasks' and 'Reports'. on clicking 'Tasks' and new menu bar 'Tasks' can be seen, under which 'New Tasks' option is there. When we click on 'New Forms' it shows the list of forms and when we select the desired form it opens the interactive form.
    My problem is when this form is opened on the header the 'Options' and 'Tasks' bar can be seen, under which the adobe menu bar comes (Print, Save, Zoom etc.) . This 'Options' and 'Tasks'  how to remove from the interactive forms page.
    Edited by: NIKHILKUMAR POOJARI on Feb 13, 2009 4:24 PM

    Dear Mano,
    By using Authorizations you can remove the Drag and Relate Menu
    Goto Administration ---> System Initialization -
    > Authorization -
    > General Authorization
    General -
    > Drag & Relate -
    > No authorization
    Regarding Authorizations, click the below link to get details
    [Define Authorizations|https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_HIER_KEY=701100035871000437965&_OBJECT=011000358700000481572006E&_SCENARIO=01100035870000000183&]
    Regards,
    Bala

  • How to remove win 8 and install win 7 in bootcamp

    I want to completely remove win 8 and install win 7 in bootcamp. I followed the steps in bootcamp assistant and it appears to remove the win 8 partition. However when starting a new win 7 bootcamp partition and installation setup still thinks win 8 is being used. how do I get it to recognize the win 7 now being installed from the usb drive? This is on an iMac 27 late 2012 with OS x 10.10.1

    Hi Janesdf,
    Welcome to Lenovo Community!
    As per the query we understood that you are looking for Windows downgrade on your Ideapad N580.
    Before doing any changes in the system HDD partition or with Windows OS, I suggest you to create the system recovery media and then you can downgrade the OS. But you require Windows 7 recovery media.
    Hope this helps.
    Best regards,
    Hemanth Kumar
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • How to remove unwanted plugins (and no I don't want to read any unrelated articles that never answer your question)?

    I want to clear out the unwanted plugins in Fire Fox . One plugin even has a warning about not using it (Java Deployment Toolkit). But every time I ask "how to remove a plugin?" , I am redirected to an article that doesn't answer the question. And then the circular argument begins again without ever actually answering the question.
    IS IT NECESSARY TO UNINSTALL FIREFOX TO REMOVE A PLUGIN??????

    Plugins like ex Flash and Java etc are not installed in Firefox like Extensions and Themes are. They are on system and Firefox has found and is making use of them. This is why you can only activate/deactivate which tells Firefox to make use of that Plugin on system or not.

  • How to remove Name space and Software Component in XI??

    Hi Frnds,
    How to delete Software Component and Name spaces.
    Please share me any documents.
    Regards,
    Raj

    Hi Raja,
    Check the sap help
    http://help.sap.com/saphelp_nw04s/helpdata/en/e8/c5fe4e336c4fdd89eb5fe5abc02865/frameset.htm
    Re: How to Remove Components
    Thanks!

  • How to remove Suspend ,Abort and some more from Bulk Actions

    Hi
    Does anybody have an idea as how to remove action such as Suspend,Abort but not all from Bulk actions in enterprise server.I am using 10.3.1 version.
    Any kind of suggestion will be greatly appreciated.
    Ritu

    What are you trying to accomplish here? By the sounds of it you want a way to be able to bulk abort, but not have the user be allowed to do this to individual instances...
    If so, I'd recommend setting the activities to NOT be abortable or suspendable, and add a Grab activity in a support role. Then make the grab, be abortable. This makes it so that a 'super user' (ie one with support role), can go in, select several instances, grab them, then abort them but normal users can not.
    Just a thought...
    HTH
    -Kevin

  • How to remove soapenv:actor and soapenv:mustUnderstand

    Hi,
    I need help with removing actor and mustUnderstand from SoapHeader. It will be great if any one can help me with this.
    I build a SOAP Header using JAX-RPC
    SOAPMessageContext soapMsgCtx = (SOAPMessageContext)context;
    SOAPMessage soapMsg = soapMsgCtx.getMessage();
    SOAPPart soapPart = soapMsg.getSOAPPart();
    SOAPEnvelope soapEnv = soapPart.getEnvelope();
    SOAPHeader soapHeader = soapEnv.getHeader();
    Name userCredTag = soapEnv.createName("PPSoapHeader","", URI);
    SOAPHeaderElement hdrEl = soapHeader.addHeaderElement(userCredTag);
    This prints -
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Header>
    <PPSoapHeader soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns="http://schemas.microsoft......."/>
    I want to get Rid of "soapenv:actor" and soapenv:mustUnderstand="0"
    How can I do this.
    Thanks
    Sameer

    I only ask because the spec specifies that mustUnderstand=0 must be accepted by a SOAP node:
    http://www.w3.org/TR/2003/REC-soap12-part1-20030624/#soapmu
    Unfortunately, I can't help you with your problem, I don't use JWSDP, and looking at the SAAJ API it's not immediately obvious how to remove those attributes.

  • How to remove ticking noise and doing audio effects?

    I have a snippet of code I got for generating delay effects. After editing the appropriate things, I ran the application. It produces delays but (if i hear it correctly), the delayed sounds do not fade. It sounds like a mix of sounds. Does it depend on feedback? And there's this ticking noise accompanying the output. I just want to know how "ticking sounds" are produced (and probably how to remove them) and how to produce a correct delay.Here's my program.
    public void delayProcessor(double[] data, int sampleRate, int delayInMs){
            //initialization
            int delayOffset = (int) ((delayInMs * sampleRate * 1) / 1000);
            double[] buffer = data;
            int k = 0;
            delayBufferSize = data.length + delayOffset;
            delayBuffer = new double[delayBufferSize];
            // Index where dry sample is written
            writeIndex = 0;
            // Index where wet sample is read
            readIndex = data.length;
            for (int i=0; i < data.length; i++)
                double inputSample =  data;
    double delaySample = delayBuffer[readIndex++];
    double outputSample = (inputSample * dryLevel) + (delaySample * wetLevel);
    // make sure output is in range
    if (outputSample > 1)
    outputSample = 1;
    else if (outputSample < -1)
    outputSample = -1;
    // Store in output sample
    data[i] = outputSample;
    // Calculate feedback
    inputSample += (delaySample * feedbackLevel);
    // make sure input is in range
    if (inputSample > 1)
    inputSample = 1;
    else if (inputSample < -1)
    inputSample = -1;
    delayBuffer[writeIndex] = inputSample;
    writeIndex++;
    // Update indices
    readIndex %= delayBufferSize;
    writeIndex %= delayBufferSize;
    My sample rate depends on the user's desired setting but I'm currently testing on 11025. It's also mono, 16-bits if that information helps.
    Thanks in advance! :D                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi. Updated my code from the one above to this:
    public void echoProcessor(double[] samples, double decay, int sampleRate){
         int delayOffset = (int) (10 * sampleRate)/1000;
         int delayBufferSize = samples.length + delayOffset;
         double[] delayBuffer = new delayBuffer[delayBufferSize];
         int writeIndex = 0, readIndex = delayOffset;
         int i =0;
         for(i = 0; i < delayBufferSize; i++)
              delayBuffer[i] = 0;
         for(i = 0; i < samples.length; i++){     
              double oldSample = samples;
              double delay = delayBuffer[readIndex];
              double newSample = oldSample + (decay * delay);
              delayBuffer[writeIndex] = outputSample;
              readIndex++;
              writeIndex++;
              if(readIndex == delayBufferSize)
                   readIndex = 0;
    But I still get the continuous ticking sound but now I hear the sound output which somehow produces an echo.
    The double[] samples has a length of 512 then I convert it to bytes before writing to the SourceDataLine. Any ideas?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to remove viruses: savingsbullfilter and levelqualitywatcher32?

    How to remove viruses: savingsbullfilterservice.exe and levelqualitywatcher32.exe? Microsoft Security
    Essentials appears to remove these pop-up ad virus programs for one day, but the next day they are back. Any help is appreciated.
    Thanks!

    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    '''<h2>Make sure you scan with ALL programs listed above.</h2>'''
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • How to remove old id and add new one for apps

    old id is not allowed me to update the apps since i forgot the password . I had made new one since the old one is added in my account i cloud , it has not me to allowed to do anything , please inform how to remove my old id without password since i forgot the same

    You need to delete and redownload all of the applications associated with that Apple ID; it's stored inside them.
    (123008)

Maybe you are looking for