Search This Blog

Thursday, 21 November 2013

SP2013: [MissingWebPart] Error on Clean SharePoint 2013 Instalation


i Have seen this quite a few times.

I Have lots of errors like this:

[MissingWebPart] WebPart class [b2faa275-7008-740a-a014-0055b7420d15] (class [Microsoft.SharePoint.Portal.WebControls.SiteFeedWebPart] from assembly [Microsoft.SharePoint.Portal, Version=, Culture=neutral, PublicKeyToken=xxxxx]) is referenced [2] times in the database [WSS_DBName], 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_DBName], but are not installed on the current farm. Please install any feature or solution which contains these web parts.

Here is a very handy site with a solution but did not work for me.

First Run this script in SQL Query Analyzer:

Change DB Name and the ID to the one's in the error message

use [SharePoint_AdminContent_(guid)]
select DirName, LeafName
    from dbo.AllDocs
    where id in
        (select tp_PageUrlID
            from dbo.AllWebParts
            where lower(tp_WebPartTypeId) = '28c23aec-2537-68b3-43b6-845b13cea19f')

Now You need to figure out in which site collection it is.
Hopefully you restrict your DB's to only have one Site collection, then it is easy.
If not...i Dont know. i Limit it.
So if you go to view All site collections and you choose your site collection it will give you the url for your site collection.

Ok, so now you need to paste the DirName above to the end of the url in your site.

The errors go away and come back again, will have to look at this again later.
If someone can see where i go wrong please let me know.


  1. hello
    i have the same error on my server :
    [MissingWebPart] La classe du composant WebPart [10cdc2ca-e97b-04b0-ed4c-20255762af42] (classe [WP_PresencesUploadImages.VisualWebPart1.VisualWebPart1] de l’assembly [WP_PresencesUploadImages, Version=, Culture=neutral, PublicKeyToken=d3c716fc9dc5714b]) est référencée [1] fois dans la base de données [WSS_Content_BDC_PROD], mais elle n’est pas installée sur la batterie de serveurs actuelle. Installez la fonctionnalité/solution contenant ce composant WebPart. Des composants Web sont référencés dans la base de données [WSS_Content_BDC_PROD], mais ils ne sont pas installés sur la batterie de serveurs actuelle. Installez une fonctionnalité ou une solution contenant ces composants WebPart.

    I ran the following sql query in MS SQL server management studio :
    use [WSS_Content_BDC_PROD]

    select DirName, LeafName
    from dbo.AllDocs
    where id in
    (select tp_PageUrlID
    from dbo.AllWebParts
    where lower(tp_WebPartTypeId) = '10cdc2ca-e97b-04b0-ed4c-20255762af42')

    but i return nothing.

    any idea ?

  2. Hi,

    i Think i might have something else you can try...Is this a Migration or upgrade from a different environment?
    If you still have the old environment available these powershell commands will extract your solutions:

    $farm = Get-SPFarm
    $file = $farm.Solutions.Item("extendeddiagnosticproviders.wsp").SolutionFile

    i Have not tried this script myself so not sure how it works.
    This should leave you with a wsp file which you can import into SharePoint to get rid of the error above.

  3. Here is the solution. Visit this blog & download the utility